← Back to team overview

dolfin team mailing list archive

Re: dolfin-convert: bug with conversion from gmsh?

 

angelo simone wrote:
Hi again,

I read the manual... so, here is the patch. To convert a Gmsh mesh one must add an extra option to define the element type:

dolfin-convert -i gmsh -o xml  -e <el_type> mesh.msh mesh.xml

where <el_type> is either "tria" for triangles or "tet" for tetrahedra. Dolfin-convert will complain if one attempts to convert a Gmsh mesh without the -e option. The patch has been tested with triangular meshes but is should work fine with tetraheda as well.


It should be possible to imply the element type from the gmsh file. Can you post the gmsh output file which you're trying to convert?

Garth

angelo


------------------------------------------------------------------------



References