CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [Gmsh] failed 1 mesh checks (gmsh) (https://www.cfd-online.com/Forums/openfoam-meshing/99541-failed-1-mesh-checks-gmsh.html)

appa April 5, 2012 18:03

failed 1 mesh checks (gmsh)
 
Hello!
I am trying to run a 3D mesh created with gmsh. I used the gmshToFoam command
PHP Code:

Create time

Starting to read mesh format at line 2
Read format version 2  ascii 0

Starting to read physical names at line 5
Physical names
:5
    Surface 1    inlet
    Surface 2    outlet
    Surface 3    airfoil
    Surface 4    FrontAndBack
    Volume 5    InternalField

Starting to read points at line 13
Vertices to be read
:113162
Vertices read
:113162

Starting to read cells at line 113178
Cells to be read
:321283

Mapping region 4 to Foam patch 0
Mapping region 1 to Foam patch 1
Mapping region 2 to Foam patch 2
Mapping region 3 to Foam patch 3
Mapping region 5 to Foam cellZone 0
Cells
:
    
total:106810
    hex  
:5499
    prism
:101311
    pyr  
:0
    tet  
:0

CellZones
:
Zone    Size
    0    106810

Skipping tag  at line 434464
Patch 0 gets name FrontAndBack
Patch 1 gets name inlet
Patch 2 gets name outlet
Patch 3 gets name airfoil

--> FOAM Warning 
    
From function polyMesh::polyMesh(... construct from shapes...)
    
in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 619
    Found 214473 undefined faces in mesh
adding to default patch.
Finding faces of patch 0
Finding faces of patch 1
Finding faces of patch 2
Finding faces of patch 3

FaceZones
:
Zone    Size

Writing zone 0 to cellZone InternalField 
and cellSet
End 

then when I run checkMesh, I get this message
PHP Code:

Create time

Create polyMesh 
for time 0

Time 
0

Mesh stats
    points
:           113162
    internal points
:  0
    faces
:            377011
    internal faces
:   162538
    cells
:            106810
    boundary patches
4
    point zones
:      0
    face zones
:       0
    cell zones
:       1

Overall number of cells of each type
:
    
hexahedra:     5499
    prisms
:        101311
    wedges
:        0
    pyramids
:      0
    tet wedges
:    0
    tetrahedra
:    0
    polyhedra
:     0

Checking topology
...
    
Boundary definition OK.
    
Cell to face addressing OK.
    
Point usage OK.
    
Upper triangular ordering OK.
    
Face vertices OK.
    
Number of regions(OK).

Checking patch topology for multiply connected surfaces ...
    
Patch               Faces    Points   Surface topology                  
    FrontAndBack        213620   113162   ok 
(non-closed singly connected)  
    
inlet               176      354      ok (non-closed singly connected)  
    
outlet              66       134      ok (non-closed singly connected)  
    
airfoil             611      1222     ok (non-closed singly connected)  

Checking geometry...
    
Overall domain bounding box (-10 -10 0) (11 10 0.1)
    
Mesh (non-empty, non-wedgedirections (1 1 1)
    
Mesh (non-empty) directions (1 1 1)
    
Boundary openness (-7.66782e-20 -7.42224e-21 -3.56169e-23OK.
    
Max cell openness 2.21221e-16 OK.
    
Max aspect ratio 689.655 OK.
    
Minumum face area 2.00261e-07Maximum face area 0.0724268.  Face area magnitudes OK.
    
Min volume 2.00261e-08Max volume 0.00724268.  Total volume 37.6932.  Cell volumes OK.
    
Mesh non-orthogonality Max48.9289 average7.47029
    Non
-orthogonality check OK.
    
Face pyramids OK.
 ***
Max skewness 5.145934 highly skew faces detected which may impair the quality of the results
  
<<Writing 4 skew faces to set skewFaces
    Coupled point location match 
(average 0OK.

Failed 1 mesh checks.

End 

pisoFoam crashes after few iterations with the error "Exception en point flottant"
can someone help me please :(

venkat346 July 30, 2015 06:40

Hi,

Have you got answer for this, why checkMesh showing Failed 1 mesh checks.

End .

I also face the same prob, If you know please share with me.
what changes I can made?

thanks in advance.

tareqkh July 30, 2015 17:09

Answer
 
Hey Guys,

I faced the same problem before and discovered that I had to go to polyMesh folder and then boundary. Finally, change your patches in the boundary to your boundary in the 0 folder. If nothing has happened, send me the file so then I will be able to fix it.

Best,


All times are GMT -4. The time now is 18:38.