Files
openfoam/tutorials/channelOodles/channel395/constant/polyMesh/blockMeshDict
2010-06-23 16:54:54 +01:00

178 lines
3.0 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
convertToMeters 1;
vertices
(
(0 0 0)
(4 0 0)
(0 1 0)
(4 1 0)
(0 2 0)
(4 2 0)
(0 0 2)
(4 0 2)
(0 1 2)
(4 1 2)
(0 2 2)
(4 2 2)
);
blocks
(
hex (0 1 3 2 6 7 9 8) (40 25 30) simpleGrading (1 10.7028 1)
hex (2 3 5 4 8 9 11 10) (40 25 30) simpleGrading (1 0.0984 1)
);
edges
(
);
//patches
//(
// wall bottomWall
// (
// (0 1 7 6)
// )
// wall topWall
// (
// (4 10 11 5)
// )
// cyclic sides1
// (
// (0 2 3 1)
// (6 7 9 8)
// )
// cyclic sides2
// (
// (2 4 5 3)
// (8 9 11 10)
// )
// cyclic inout1
// (
// (1 3 9 7)
// (0 6 8 2)
// )
// cyclic inout2
// (
// (3 5 11 9)
// (2 8 10 4)
// )
//);
boundary
(
bottomWall
{
type wall;
faces
(
(0 1 7 6)
);
}
topWall
{
type wall;
faces
(
(4 10 11 5)
);
}
sides1_half0
{
type cyclic;
neighbourPatch sides1_half1;
faces
(
(0 2 3 1)
);
}
sides1_half1
{
type cyclic;
neighbourPatch sides1_half0;
faces
(
(6 7 9 8)
);
}
sides2_half0
{
type cyclic;
neighbourPatch sides2_half1;
faces
(
(2 4 5 3)
);
}
sides2_half1
{
type cyclic;
neighbourPatch sides2_half0;
faces
(
(8 9 11 10)
);
}
inout1_half0
{
type cyclic;
neighbourPatch inout1_half1;
faces
(
(1 3 9 7)
);
}
inout1_half1
{
type cyclic;
neighbourPatch inout1_half0;
faces
(
(0 6 8 2)
);
}
inout2_half0
{
type cyclic;
neighbourPatch inout2_half1;
faces
(
(3 5 11 9)
);
}
inout2_half1
{
type cyclic;
neighbourPatch inout2_half0;
faces
(
(2 8 10 4)
);
}
);
mergePatchPairs
(
);
// ************************************************************************* //