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

step in duct

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 19, 2012, 14:10
Default step in duct
  #1
Member
 
Join Date: Nov 2011
Posts: 44
Rep Power: 5
fferroni is on a distinguished road
Hello,

I've never made a new mesh with blockMesh before, and I need some help.

I am trying to make a 2D straight square duct, with rectangular obstacle along the duct...

The duct is 50mm wide, 500 long. The rectangular obstacle is 25mm high, starts at 100mm and stops at 110mm...
I tried making it, but it tells me that "face 0 in patch 0 does not have neighbour cell face: 4(0 1 9 8).

Not sure, I tried looking at the wall dam tutorial but I'm not sure what the separation of blocks does...

Thank you!!


**************************************************



convertToMeters 0.001;

vertices
(
(0 0 0) //vertex number 0
(50 0 0) //vertex number 1
(50 500 0) //vertex number 2
(0 500 0) //vertex number 3
(0 100 0) //vertex number 4
(0 110 0) //vertex number 5
(25 100 0) //vertex number 6
(25 110 0) //vertex number 7

(0 0 1) //vertex number 8
(50 0 1) //vertex number 9
(50 500 1) //vertex number 10
(0 500 1) //vertex number 11
(0 100 1) //vertex number 12
(0 110 1) //vertex number 13
(25 100 1) //vertex number 14
(25 110 1) //vertex number 15
);

blocks
(
hex (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15) (50 500 1) simpleGrading (1 1 1)
);



edges
(
);

boundary
(
inlet
{
type patch;
faces
(
(0 1 9 8)
);
}
outlet
{
type patch;
faces
(
(2 3 11 10)
);
}

lowerWall
{
type patch;
faces
(
(0 4 12 8)
(4 6 14 12)
(6 7 15 14)
(7 15 13 5)
(5 3 11 13)
);
}
upperWall
{
type patch;
faces
(
(1 9 10 2)
);
}
frontAndBack
{
type empty;
faces
(
(0 4 6 7 5 3 2 1)
(8 12 14 15 13 11 10 9)
);
}
);

mergePatchPairs
(
);
fferroni 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 write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 04:03
Transient simulation not converging skabilan OpenFOAM Running, Solving & CFD 12 September 17, 2007 17:48
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 19:07


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