CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM

gmsh2ToFoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 24, 2009, 23:50
Default gmsh2ToFoam
  #1
Member
 
sarangarajan
Join Date: Sep 2009
Posts: 31
Rep Power: 7
sarajags_89 is on a distinguished road
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:olyMesh(... 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.


allinone.jpg

myroom.txt
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.
sarajags_89 is offline   Reply With Quote

Reply

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
Install gmsh2ToFoam on OF1.6 shangzung OpenFOAM Installation 1 October 6, 2009 09:22
GmshToFoam or gmsh2ToFoam amp gmsh sudden disappear zhoubinwx Open Source Meshers: Gmsh, Netgen, CGNS, ... 20 August 7, 2009 18:07
gmsh2ToFoam s&m OpenFOAM Installation 1 April 27, 2009 21:00
BlockMesh versus gmsh2ToFoam bretttully OpenFOAM Running, Solving & CFD 1 March 6, 2008 10:36
Gmsh2ToFoam bsegmentation faultb error in OF13 Release ed_teller Open Source Meshers: Gmsh, Netgen, CGNS, ... 3 September 10, 2007 16:53


All times are GMT -4. The time now is 14:29.