gmshToFoam: checkMesh errors
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? |
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 |
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? |
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 |
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 |
1 Attachment(s)
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 Code:
Mesh non-orthogonality Max: 86.6188 average: 20.8455 |
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 |
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. |
Dear Alexey,
many thanks for your help. Best regards Maimouna |
All times are GMT -4. The time now is 14:20. |