5.3 Running

In this paragraph, we suppose that you have a mesh file named testoption9.mesh4 that you would remesh , a sol file containing the displacement on each mesh vertex depoption9.sol5 and optionnally an associated metric named testoption9.sol.

To launch the software, it is enough to type the following command in terminal window:

mmg3d -O 9 testoption9 -mov depoption9

You will obtain a new mesh which name will be testoption9.o.meshb.

Remark :to obtain an ASCII file, you have to specify the output name:

mmg3d -O 9 testoption9 testoption9.o.mesh -mov depoption9

To visualize this mesh, you could use the software Medit downloadable at the following url:
http://www.ann.jussieu.fr/~frey/logiciels/

Remark :in the case where there is no metric file, the software builds one starting from the initial mesh.

NB :if you do not give the file extension ( .mesh(b) ), Mmg3d  first finds the binary file then if there is no mesh(b) file, it tries to open ASCII file. In other words, if you have in the same directory the files toto.mesh and toto.meshb and that you type mmg3d -O [n] toto, the infile will be toto.meshb. To use the file toto.mesh, you have to type Mmg3d -O [n] toto.mesh

back to the content


Dobrzynski 2012-03-23