Have a search on this site for
Have a search on this site for gmshToFoam. This is a well known problem. Also there is a gmshToFoam.C (replacement source code for mesh/conversion/gmshToFoam/gmshToFoam.C) attached on this site somewhere which you might want to use instead.
|
Hallo Mattijs,
I have used t
Hallo Mattijs,
I have used the new version of the gmshToFoam.C file. I have run my mesh (a 3d one) and I get problems again. It seems that it is not possible to create cells. --> ead nVerts:665 Read nElems:1443 Mapping region 19 to Foam patch 0 Mapping region 20 to Foam patch 1 Mapping region 21 to Foam patch 2 Mapping region 22 to Foam patch 3 Mapping region 23 to Foam patch 4 Mapping region 24 to Foam patch 5 Cells: total:0 hex :0 prism:0 pyr :0 tet :0 Patches: Patch Size 0 156 1 144 2 271 3 238 4 269 5 248 --> FOAM FATAL ERROR : faces deallocated Function: const faceList& polyMesh::allFaces() const in file: meshes/polyMesh/polyMesh.C at line: 562. FOAM aborting Do you have any idea what I am doing wrong? Thanks Amalia |
Are you sure that are you usin
Are you sure that are you using 3D elements?
I got the same kind of error when I was trying to import 2D elements. check in the mesh file if the elements are Tetrahedron (4 nodes) or Hexahedron (8 nodes). In the list of the element the second number corresponds to the element type ( 4 for Tetrahedron and 5 for Hexahedron ). the color of the grid in gmsh should be all orange ( with the default color settings ) I hope to help you, Daniele |
Hi Daniele!
you are right!
Hi Daniele!
you are right! I am using a 2D mesh. Do you know how can I obtain a 3D mesh? Thanks a lot Amalia |
follow the steps that are in t
follow the steps that are in the gmsh manual...
there are different ways, for example you can use the transfinite algorithm... In that case pay attention on the order of the faces.. good luck =) Daniele |
All times are GMT -4. The time now is 17:55. |