CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[blockMesh] step in duct

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 19, 2012, 13:10
Default step in duct
  #1
Member
 
Join Date: Nov 2011
Posts: 44
Rep Power: 14
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


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
AMI speed performance danny123 OpenFOAM 21 October 24, 2020 04:13
Stuck in a Rut- interDyMFoam! xoitx OpenFOAM Running, Solving & CFD 14 March 25, 2016 07:09
Help for the small implementation in turbulence model shipman OpenFOAM Programming & Development 25 March 19, 2014 10:08
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 18:07


All times are GMT -4. The time now is 08:25.