CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   gmsh2ToFoam (http://www.cfd-online.com/Forums/openfoam/70453-gmsh2tofoam.html)

sarajags_89 November 24, 2009 23:50

gmsh2ToFoam
 
2 Attachment(s)
hi
I am simulating a room with heat source. I have attached the .geo(geometry) file "myroom.txt"
This is what I did
1.I used gmsh and did 2d mesh followed by 3d
2.saved the mesh file as .msh in buoyantPisoFoam /hotRoom
3. I ran gmsh2ToFoam utility
4.The output was


File format version: 2

Found string labels for physical regions.

Read nVerts: 4476

Read nElems: 24216

Automatically inverting cells with wrong orientation

Removing unused points

Constructing polyMesh
--> FOAM Warning :
From function polyMesh::polyMesh(... construct from shapes...)
in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 577
Found 3840 undefined faces in mesh; adding to default patch.
--> FOAM Warning : Could not match face 3(7 66 64)
--> FOAM Warning : Could not match face 3(66 265 64)
--> FOAM Warning : Could not match face 3(66 65 265)
--> FOAM Warning : Could not match face 3(64 265 62)
--> FOAM Warning : Could not match face 3(65 266 265)
--> FOAM Warning : Could not match face 3(266 267 265)
--> FOAM Warning : Could not match face 3(266 264 267)
--> FOAM Warning : Could not match face 3(265 267 62)
--> FOAM Warning : Could not match face 3(65 67 266)
--> FOAM Warning : Could not match face 3(67 268 266)
--> FOAM Warning : Could not match face 3(67 4 268)
--> FOAM Warning : Could not match face 3(266 268 264)
--> FOAM Warning : Could not match face 3(62 267 63)
--> FOAM Warning : Could not match face 3(267 269 63)
--> FOAM Warning : Could not match face 3(267 264 269)
--> FOAM Warning : Could not match face 3(63 269 6)
--> FOAM Warning : Could not match face 3(4 57 268)
--> FOAM Warning : Could not match face 3(57 270 268)
--> FOAM Warning : Could not match face 3(57 56 270)
--> FOAM Warning : Could not match face 3(268 270 264)
--> FOAM Warning : Could not match face 3(56 271 270)
--> FOAM Warning : Could not match face 3(271 272 270)
--> FOAM Warning : Could not match face 3(271 59 272)
--> FOAM Warning : Could not match face 3(270 272 264)
--> FOAM Warning : Could not match face 3(56 58 271)
--> FOAM Warning : Could not match face 3(58 60 271)
--> FOAM Warning : Could not match face 3(58 5 60)
--> FOAM Warning : Could not match face 3(271 60 59)
--> FOAM Warning : Could not match face 3(264 272 269)
--> FOAM Warning : Could not match face 3(272 61 269)
--> FOAM Warning : Could not match face 3(272 59 61)
--> FOAM Warning : Could not match face 3(269 61 6)

Performing repatching:
... repatching done.

Performing renumberMesh matrix bandwidth compression:
Band before renumbering: 19025
Band after renumbering: 418

Performing a simplified checkMesh test:
... checkMesh done.

Patches:
Patch Size Name Base type
0 1184 wall2 patch
1 448 wall3 patch
2 1152 wall4 patch
3 480 wall5 patch
4 192 wall1 patch
5 32 heatSourceSide1 patch
6 32 heatSourceSide2 patch
7 32 heatSourceSide3 patch
8 32 heatSourceSide4 patch
9 32 heatSourceTop patch
10 32 heatSourceSide5 patch
11 192 defaultFaces patch

CellZones:
Zone Size Name
0 20152 source
1 384 room

Writing the final converted mesh and sets:
... done.


Attachment 1584

Attachment 1585
End


In my geometry file I had declared physical surface "inlet". I am not able to find inlet in
constant/polyMesh/boundary

When I viewed the mesh using paraview. I couldnt see the internal faces.
I am attaching the geometry and the mesh generated using openfoam and gmsh. Suggestions please.


All times are GMT -4. The time now is 12:09.