Thread Previous • Date Previous • Date Next • Thread Next |
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.xmlwhere <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 ------------------------------------------------------------------------
Thread Previous • Date Previous • Date Next • Thread Next |