[Gmsh] boundaries with gmshToFoam
ouafa bouloumou
bouloumou at hotmail.com
Thu Jul 9 14:42:59 CEST 2009
hello,
I try to generate a mesh for use in OpenFoam by gmshToFoam conversion, but I alwas get the warning:
--> FOAM Warning :
From function polyMesh::polyMesh(... construct from shapes...)
in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 576
Found 28864 undefined faces in mesh; adding to default patch.
Finding faces of patch 0
Finding faces of patch 1
Finding faces of patch 2
--> FOAM Warning : Not using gmsh face 4(1446 14016 14017 1447) since zero vertex is not on boundary of polyMesh
.........
However i got polymesh directory with all files. but the faces or boundaries are not reading.
patches in boundary files are even taking nFace=0 even if startface#0 in some patches.
it seems to be arbitrary because i change many times the order and the way to define the physical surface and the result is different all the time.
here attached my script. and checkMesh outline.
Any idea what I am doing wrong? Thanks
Ouafa
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Exec : checkMesh
Date : Jul 09 2009
Time : 15:36:04
Host : lambda31
PID : 13084
Case : /home/flurec/commun/ouafa/tmpgmsh
nProcs : 1
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time
Create polyMesh for time = constant
Time = constant
Mesh stats
points: 135894
faces: 378092
internal faces: 349228
cells: 121220
boundary patches: 6
point zones: 0
face zones: 2
cell zones: 26
Number of cells of each type:
hexahedra: 121220
prisms: 0
wedges: 0
pyramids: 0
tet wedges: 0
tetrahedra: 0
polyhedra: 0
Checking topology...
Boundary definition OK.
Point usage OK.
Upper triangular ordering OK.
Topological cell zip-up check OK.
Face vertices OK.
Face-face connectivity OK.
Number of regions: 1 (OK).
Checking patch topology for multiply connected surfaces ...
Patch Faces Points Surface
jonction 2565 2604 ok (not multiply connected)
interface 5111 5302 ok (not multiply connected)
inlet 0 0 ok (empty)
outlet 0 0 ok (empty)
wall 12122 12354 ok (not multiply connected)
defaultFaces 9066 9450 ok (not multiply connected)
Checking geometry...
Domain bounding box: (-100 0 -50) (150 50 50)
Boundary openness (-7.18902e-18 3.05372e-15 9.36245e-17) OK.
Max cell openness = 2.67949e-16 OK.
Max aspect ratio = 26.7476 OK.
Minumum face area = 0.312226. Maximum face area = 9.50492. Face area magnitudes OK.
Min volume = 1.56113. Max volume = 15.7656. Total volume = 1.25e+06. Cell volumes OK.
Mesh non-orthogonality Max: 41.0303 average: 5.01782
Non-orthogonality check OK.
Face pyramids OK.
Max skewness = 0.468149 OK.
All angles in faces OK.
Face flatness (1 = flat, 0 = butterfly) : average = 1 min = 1
All face flatness OK.
Mesh OK.
End
_________________________________________________________________
Découvrez toutes les possibilités de communication avec vos proches
http://www.microsoft.com/windows/windowslive/default.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20090709/8c57ed04/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: BCFoam.geo
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20090709/8c57ed04/attachment.geo>