|
[Sponsors] |
November 11, 2010, 09:17 |
gmshToFoam: checkMesh errors
|
#1 |
Member
|
Hi there
I have done a mesh in gmsh, then I tried to move it on OpenFoam. At 1st, I do gmshTo FOam, then-checkMesh. But at finish I saw "Failed 1 mesh checks." I use a gmsh-2.4.2 and openfoam- 1.7.0. And here all: Time = 0 Mesh stats points: 69920 faces: 775242 internal faces: 735386 cells: 377657 boundary patches: 4 point zones: 0 face zones: 0 cell zones: 1 Overall number of cells of each type: hexahedra: 0 prisms: 0 wedges: 0 pyramids: 0 tet wedges: 0 tetrahedra: 377657 polyhedra: 0 Checking topology... Boundary definition OK. ***Unused points found in the mesh, number unused by faces: 127 number unused by cells: 127 <<Writing 127 unused points to set unusedPoints Upper triangular ordering OK. Face vertices OK. Number of regions: 1 (OK). Checking patch topology for multiply connected surfaces ... Patch Faces Points Surface topology nok 0 0 ok (empty) bottom 10084 5175 ok (non-closed singly connected) cube 29772 15019 ok (non-closed singly connected) defaultFaces 0 0 ok (empty) Checking geometry... Overall domain bounding box (-890 -1000 0) (1256 1146 1074) Mesh (non-empty, non-wedge) directions (1 1 1) Mesh (non-empty) directions (1 1 1) Boundary openness (-3.99048e-17 -4.59563e-18 -5.13186e-16) OK. Max cell openness = 2.07714e-15 OK. Max aspect ratio = 249.614 OK. Minumum face area = 68.8107. Maximum face area = 4790.95. Face area magnitudes OK. Min volume = 50.9853. Max volume = 103579. Total volume = 4.94611e+09. Cell volumes OK. Mesh non-orthogonality Max: 87.2498 average: 26.9519 *Number of severely non-orthogonal faces: 3143. Non-orthogonality check OK. <<Writing 3143 non-orthogonal faces to set nonOrthoFaces Face pyramids OK. Max skewness = 1.99996 OK. Failed 1 mesh checks. End Where is the mistake? |
|
November 30, 2010, 08:09 |
|
#2 | |
Senior Member
Join Date: Sep 2010
Posts: 226
Rep Power: 16 |
Quote:
Try to use "frontal" mesh type in options. also make sure that you have created all physical surfaces and volumes and lines. Good Luck |
||
December 1, 2010, 04:30 |
|
#3 | |
Member
|
Quote:
I use frontal mesh type un options (it's default)/ About physical surfaces and lines: all lines are included in surfaces. Should I at 1st make a physical lines ans then physical surfaces? Or will be enought to create a surfaces immediatly? |
||
December 1, 2010, 08:21 |
|
#4 | |
Senior Member
Join Date: Sep 2010
Posts: 226
Rep Power: 16 |
Quote:
Every patch you need to use in calculations you must define as physical. so if your patches are all surfaces that surrounds a volume, in other ways 3D geometry, then you must only define physical surfaces and the physical internal volume. If it is 2D, then you must define the physical lines and the physical internal surface. you can send me the gmsh file, i can check it for you. GoodLuck |
||
November 24, 2014, 09:13 |
|
#5 | |
Senior Member
ok
Join Date: Oct 2013
Posts: 346
Rep Power: 13 |
Dear T.D.,
I got the same error when I checked mesh in Gmsh '' Failed 1 mesh checks'', my mesh file is showing below Quote:
Lots of thanks in advanced. Maimouna |
||
November 24, 2014, 10:24 |
|
#6 |
Senior Member
|
Well, I'm not T.D.
If you get the error, post this error. Otherwise person, who would like to help you, have to create geo-file by copying what you've posted, then run gmsh to create msh-file, run gmshToFoam in an arbitrary case, run checkMesh to learn what exact error you've got. In fact there are two errors: Code:
***High aspect ratio cells found, Max aspect ratio: 155090, number of cells 50787 <<Writing 50787 cells with high aspect ratio to set highAspectRatioCells Code:
Mesh non-orthogonality Max: 86.6188 average: 20.8455 *Number of severely non-orthogonal (> 70 degrees) faces: 2260. Non-orthogonality check OK. <<Writing 2260 non-orthogonal faces to set nonOrthoFaces |
|
November 24, 2014, 12:16 |
|
#7 | |
Senior Member
ok
Join Date: Oct 2013
Posts: 346
Rep Power: 13 |
Dear Alexey,
many thanks for your last post. Actually the error that I got after checkMesh is shown below Quote:
Many thanks for your help. Maimouna |
||
November 24, 2014, 13:22 |
|
#8 |
Senior Member
|
I've just copy-pasted your geo-file (that you've posted as quote instead of attaching it).
In your output I was able to find only error with aspect ratio of cell. Aspect ratio threshold is 1000 (http://foam.sourceforge.net/docs/cpp...50565b3157bb4c), in your mesh maximum is 1344. In this case the error can be ignored. |
|
November 25, 2014, 06:10 |
|
#9 |
Senior Member
ok
Join Date: Oct 2013
Posts: 346
Rep Power: 13 |
Dear Alexey,
many thanks for your help. Best regards Maimouna |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Building OpenFOAM1.7.0 from source | ata | OpenFOAM Installation | 46 | March 6, 2022 13:21 |
pimpleDyMFoam computation randomly stops | babapeti | OpenFOAM Running, Solving & CFD | 5 | January 24, 2018 05:28 |
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 | bookie56 | OpenFOAM Installation | 8 | August 13, 2011 04:03 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 02:58 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 18:07 |