CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Pre-Processing

Gmsh to OpenFOAM importing (Mesh checks fail)

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   August 31, 2016, 00:53
Default Gmsh to OpenFOAM importing (Mesh checks fail)
Viraj Belekar
Join Date: Jun 2016
Posts: 45
Rep Power: 3
viraj20feb is on a distinguished road
Hello everyone,

This is regarding the meshing for FSI blood flow and respiratory flow available on the Gmsh wiki page ( When I import the .msh file to OpenFOAM using GmshToFoam command and when I give 'checkMesh' command, I see that there is a lot of problem with the mesh and the mesh check fails. Following is the output after checkMesh command:

Create time

--> FOAM Warning :
From function checkMesh
in file db/Time/timeSelector.C at line 270
No time specified or available, selecting 'constant'
Create polyMesh for time = constant

Time = constant

Mesh stats
points: 97868
faces: 1112572
internal faces: 1089520
cells: 550523
faces per cell: 4
boundary patches: 3
point zones: 0
face zones: 0
cell zones: 3

Overall number of cells of each type:
hexahedra: 0
prisms: 0
wedges: 0
pyramids: 0
tet wedges: 0
tetrahedra: 550523
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: 1 (OK).

Checking patch topology for multiply connected surfaces...
Patch Faces Points Surface topology
inlet 1134 606 ok (non-closed singly connected)
outlet 696 370 ok (non-closed singly connected)
defaultFaces 21222 10668 ok (non-closed singly connected)

Checking geometry...
Overall domain bounding box (-19.0115 -26.3703 -15.5354) (36.6107 25.7011 44.4179)
Mesh has 3 geometric (non-empty/wedge) directions (1 1 1)
Mesh has 3 solution (non-empty) directions (1 1 1)
***Boundary openness (-1.40643e-06 7.81371e-06 -2.65182e-06) possible hole in boundary description.
***Open cells found, max cell openness: 1, number of open cells 65
<<Writing 65 non closed cells to set nonClosedCells
<<Writing 16 cells with high aspect ratio to set highAspectRatioCells
Minimum face area = 0.000134534. Maximum face area = 5.40315. Face area magnitudes OK.
***Zero or negative cell volume detected. Minimum negative volume: -1.01707e-05, Number of negative volume cells: 10
<<Writing 10 zero volume cells to set zeroVolumeCells
Mesh non-orthogonality Max: 132.899 average: 46.9741
*Number of severely non-orthogonal (> 70 degrees) faces: 246718.
***Number of non-orthogonality errors: 53.
<<Writing 246771 non-orthogonal faces to set nonOrthoFaces
***Error in face pyramids: 76 faces are incorrectly oriented.
<<Writing 74 faces with incorrect orientation to set wrongOrientedFaces
***Max skewness = 19.6728, 8 highly skew faces detected which may impair the quality of the results
<<Writing 8 skew faces to set skewFaces
Coupled point location match (average 0) OK.

Failed 6 mesh checks.

viraj20feb is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing Mesh from GMsh to OpenFoam bmaldi OpenFOAM Running, Solving & CFD 1 May 4, 2016 11:57
Pseudo 3D mesh by Gmsh for OpenFOAM mxylondon Mesh Generation & Pre-Processing 0 March 18, 2015 14:04
Importing an OpenFOAM mesh into Engrid. Is there a mesh size limitation ? ayoros enGrid 0 April 20, 2011 09:53
Error converting Gmsh mesh to OpenFOAM format Martin_ OpenFOAM Meshing & Mesh Conversion 3 December 9, 2009 10:35
How to control Minximum mesh space? hung FLUENT 7 April 18, 2005 09:38

All times are GMT -4. The time now is 00:43.