gmshToFoam: checkMesh errors
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
internal faces: 735386
boundary patches: 4
point zones: 0
face zones: 0
cell zones: 1
Overall number of cells of each type:
tet wedges: 0
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)
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.
Where is the mistake?
Try to use "frontal" mesh type in options.
also make sure that you have created all physical surfaces and volumes and lines.
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?
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.
I got the same error when I checked mesh in Gmsh '' Failed 1 mesh checks'', my mesh file is showing below
Lots of thanks in advanced.
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:
many thanks for your last post. Actually the error that I got after checkMesh is shown below
Many thanks for your help.
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.
many thanks for your help.
|All times are GMT -4. The time now is 15:22.|