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

[Other] blockMeshDict not Matching Boundary

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 19, 2014, 14:30
Cool blockMeshDict not Matching Boundary
  #1
New Member
 
Join Date: Mar 2014
Posts: 1
Rep Power: 0
HassanDarian is on a distinguished road
Hi,

I'm running a OpenFOAM tutorial example, as I tried to edit the blockMeshDict I noticed that the blockMeshDict and boundary files within polymesh do not match, can anyone help me reverse engineer the blockMeshDict from the boundary:

The boundary file is:

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
5
(
base
{
type patch;
nFaces 44;
startFace 4900;
}
outlet
{
type patch;
nFaces 50;
startFace 4944;
}
sides
{
type patch;
nFaces 100;
startFace 4994;
}
frontAndBack
{
type empty;
nFaces 5000;
startFace 5094;
}
inlet
{
type patch;
nFaces 6;
startFace 10094;
}
)
// ************************************************** *********************** //

a starting place for the blockMeshDict :

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
convertToMeters 1;
vertices
(
(-0.5 0 -0.01)
( 0.5 0 -0.01)
( 0.5 1 -0.01)
(-0.5 1 -0.01)
(-0.5 0 0.01)
( 0.5 0 0.01)
( 0.5 1 0.01)
(-0.5 1 0.01)
);
blocks
(
hex (0 1 2 3 4 5 6 7) (50 50 1) simpleGrading (1 1 1)
);
edges
(
);
boundary
(
base
{
type patch;
faces
(
(0 1 5 4)
);
}
outlet
{
type patch;
faces
(
(3 2 6 7)
);
}
sides
{
type patch;
faces
(
(1 5 6 2)
(0 4 7 3)
);
}
frontAndBack
{
type empty;
faces
(
(0 1 2 3)
(4 5 6 7)
);
}
);
mergePatchPairs
(
);
// ************************************************** *********************** //

Many Thanks
HassanDarian is offline   Reply With Quote

Reply

Tags
mesh 2d, openfoam


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
My radial inflow turbine Abo Anas CFX 27 May 11, 2018 02:44
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 07:20
GETVAR Error in Multiband Monte Carlo Radiation Simulation with Directional Source silvan CFX 3 June 16, 2014 10:49
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 08:00
[Gmsh] Import problem ARC OpenFOAM Meshing & Mesh Conversion 0 February 27, 2010 11:56


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