- 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.
Remark: you must provide positive or null integers for the entities references.
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:
- AVBP: a solver for numerical simulation of unsteady turbulence for reacting flows.
- Elmer/Ice: a finite element software for ice sheet, glaciers and ice flow modelling (open source).
- Freefem++:a partial differential equation solver for non-linear multi-physics systems in 2D and 3D (open source).
- Gypsilab: a MATLAB toolbox for fast numerical computation with finite element and boundary element methods (open source).
- Kratos: a framework for building parallel, multi-disciplinary simulation software (open source).
- MUSIC: a multimodal platform for cardiac imagery.
- YALES2: a solver for two-phase combustion, from primary atomization to pollutant prediction, on massive complex meshes.