[Gmsh] Gmsh merge several partial meshes to a complete mesh
cgeuzaine at uliege.be
Wed Mar 27 18:24:38 CET 2019
The mesh import procedure for MED files is a bit particular, as MED files can store multiple meshes, each with their own name. Gmsh tries to handle this gracefully by creating one model per mesh name. In your case each file stores a single mesh, with its own name. As in the case of a single file with several mesh names, Gmsh then automatically creates a new model for each mesh.
If you save each MED file with the same mesh name, Gmsh will merge them in the same model. We could also add an option to "force" MED meshes to be loaded in the same model, whatever the name. Would that be useful?
> On 27.03.19 18:02, Christophe Geuzaine wrote:
>>> On 27 Mar 2019, at 16:50, Johannes_ACKVA <johannes.ackva at code-aster.de> wrote:
>>> Max, thank you for your reply.
>>> Unfortunally my question (1) is not yet answered: does anyone know is
>>> there a way to assemble 2 (or more) meshes??
>> It depends on the mesh format. With the native MSH format you can indeed directly merge several meshes: nodes and elements have unique global tags (identifiers). With other formats it depends on how they have been stored. Can you send a simple example of the MED files you'd like to merge?
>>> gmsh mailing list
>>> gmsh at onelab.info
>> Prof. Christophe Geuzaine
>> University of Liege, Electrical Engineering and Computer Science
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
More information about the gmsh