This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

3D mesh conversion using dolfin-convert

0 votes

I am trying to convert a 3D mesh consisting of linear 4 noded tet elements generated using Gmsh using dolfin-convert. However, when I convert the resultant xml mesh file has 2D mesh. It looks like 3D mesh got projected to one plane.

When I opened the xml file in a text-editor I noticed that the "celltype is "triangles".

So, why is the 3D mesh tet mesh is being converted to 2D mesh? What am I missing?

Operating system: Windows 7 x64
Gmsh version: 2.8.5

asked Dec 5, 2014 by sd FEniCS Novice (120 points)

Hi, could you provide .geo file used to make the mesh?

Are you sure you are generating a 3D .msh file? i:e: you run a command like:

gmsh geom.geo -3

before

dolfin-convert geom.msh geom.xml
...