- a conformal mesh at the medit file format (.mesh(b) extension) or at the gmsh file format (.msh(b) extension)
Note that the gmsh software handles a lot of mesh file formats, thus, you can use it to convert your mesh at the medit format :
Save As -> Mesh - INRIA Medit (*.mesh)
If you use the medit file format, you can provide:
- a size map at medit solution file format (.sol extension) if you want to adapt your mesh to a size map.
- a level-set map at medit solution file format (.sol extension) if you want to discretize an isovalue of a function.
For the gmsh file format, the size map or level-set map must be provided in the .msh(b) file as $NodeData.
Learn to use Mmg
To learn how to use the Mmg applications:
- mmg2d to remesh triangular two-dimensional meshes
- mmgs to remesh triangular three-dimensional surface meshes
- mmg3d to remesh tetrahedral volume meshes
To learn how to use the Mmg libraries: go here
Practical work to learn how to use Mmg (applications and libraries):
- gmsh: allows to visualize your mesh at the medit format (but not the associated solution) and, of course, your mesh at the gmsh format and its embedded solution.
- medit: allows to visualize your mesh and solution at the medit format.
Of course the meshes generated by Mmg can be used in any solver. If you don’t have a favorite solver yet, you can use one of those that interfaces Mmg: