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

Cylindrical Duct with blockMesh

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 7, 2013, 07:36
Post Cylindrical Duct with blockMesh
  #1
New Member
 
Stefano Puggelli
Join Date: Sep 2013
Posts: 4
Rep Power: 3
StefanoP is on a distinguished road
Hi everybody,
I am new of OpenFoam and I am trying to do a very simple geometry with blockMesh. I am trying to build an half of a cylindrical duct (180 degrees) and for this reason I divide my cylinder in 4 sector. I write my blockMeshDict and it works but automatically OpenFoam creates 3 default Faces corresponding to the divisions between the sectors and I don't understand why.
I put here my blockMeshDict (there are only three sector in this version but the problem is the same.
I feel a bit stupid asking so simple thing but any idea would be very appreciated.
convertToMeters 0.001;

vertices
(
(0 0 0)
(0 0 0)
(0 5.2 0)
(0 5.2 0)
(-0.65 0 0)
(-0.459 0 0.459)
(-0.459 5.2 0.459)
(-0.65 5.2 0)
(0 0 0.65)
(0 5.2 0.65)
(0.459 0 0.459)
(0.459 5.2 0.459)

);

blocks
(
hex (0 1 2 3 4 5 6 7) (50 45 1) simpleGrading (1 1 1)
hex (0 1 2 3 5 8 9 6) (50 45 1) simpleGrading (1 1 1)
hex (0 1 2 3 8 10 11 9) (50 45 1) simpleGrading (1 1 1)
);

edges
(
arc 4 5 (-0.60 0 0.248)
arc 6 7 (-0.60 5.2 0.248)
arc 5 8 (-0.248 0 0.60)
arc 9 6 (-0.248 5.2 0.60)
arc 8 10 (0.248 0 0.60)
arc 9 11 (0.248 5.2 0.60)
);

boundary
(
inlet
{
type patch;
faces
(
(4 0 1 5)
(5 0 1 8)
//(8 0 1 10)
);
}
outlet
{
type patch;
faces
(
(6 2 3 7)
(9 2 3 6)
(11 2 3 9)
);
}

wall
{
type wall;
faces
(
(0 4 7 3)
(1 2 9 8)
);
}
freestream
{
type patch;
faces
(
(8 5 6 9)
(5 4 7 6)
(10 8 9 11)
);
}
);

mergePatchPairs
(
);
StefanoP 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
How to use blockMesh to generate cylindrical T-junction norkistar OpenFOAM Meshing & Mesh Conversion 2 January 28, 2013 21:53
error in blockMesh with edged Duct explicit Ahmed Khattab OpenFOAM Pre-Processing 2 May 15, 2012 11:41
Fabric Duct Modeling Dan FLUENT 0 June 30, 2008 16:00
modelling fuel cell duct in fluent rajesh kumar tippabhotla FLUENT 2 October 7, 2004 13:04
flow simulation across a small fan jane luo Main CFD Forum 15 April 12, 2004 18:49


All times are GMT -4. The time now is 11:30.