|
[Sponsors] |
April 27, 2005, 05:34 |
Have a search on this site for
|
#21 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
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.
|
|
April 27, 2005, 08:42 |
Hallo Mattijs,
I have used t
|
#22 |
New Member
Amalia Apalategui
Join Date: Mar 2009
Posts: 13
Rep Power: 17 |
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 |
|
April 27, 2005, 08:57 |
Are you sure that are you usin
|
#23 |
Senior Member
Daniele Panara
Join Date: Mar 2009
Posts: 101
Rep Power: 17 |
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 |
|
April 27, 2005, 09:10 |
Hi Daniele!
you are right!
|
#24 |
New Member
Amalia Apalategui
Join Date: Mar 2009
Posts: 13
Rep Power: 17 |
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 |
|
April 27, 2005, 09:19 |
follow the steps that are in t
|
#25 |
Senior Member
Daniele Panara
Join Date: Mar 2009
Posts: 101
Rep Power: 17 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] Errors during blockMesh meshing | Madeleine P. Vincent | OpenFOAM Meshing & Mesh Conversion | 51 | May 30, 2016 11:51 |
[snappyHexMesh] How to define to right point for locationInMesh | Mirage12 | OpenFOAM Meshing & Mesh Conversion | 7 | March 13, 2016 15:07 |
decomposePar is missing a library | whk1992 | OpenFOAM Pre-Processing | 8 | March 7, 2015 08:53 |
MSH Import | Vivek Vasudevan | FLUENT | 6 | March 30, 2007 11:53 |
MSH file import | Vivek Vasudevan | Main CFD Forum | 2 | March 19, 2007 20:03 |