CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Open Source Meshers: Gmsh, Netgen, CGNS, ... (http://www.cfd-online.com/Forums/openfoam-meshing-open/)
-   -   Using the mesh generated through gmsh in OpenFOAM (http://www.cfd-online.com/Forums/openfoam-meshing-open/104188-using-mesh-generated-through-gmsh-openfoam.html)

Nikhil Thakur July 4, 2012 10:56

Using the mesh generated through gmsh in OpenFOAM
 
hello,
I am trying to convert the mesh generated through gmesh to Foam.But I am getting the following error:
--> FOAM FATAL IO ERROR:
No cells read from file "cyl.msh"
Does your file specify any 3D elements (hex=5, prism=6, pyramid=7, tet=4)?
Perhaps you have not exported the 3D elements?

file: cyl.msh at line 30956.

From function readCells(..)
in file gmshToFoam.C at line 721.

FOAM exiting

fportela March 20, 2013 05:39

The error seems to be pretty clear, what kind of mesh are you trying to convert? Did you define the physicals properly in your .geo?


All times are GMT -4. The time now is 09:00.