93 lines
1.9 KiB
C++
93 lines
1.9 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: v1912 |
|
|
| \\ / A nd | Website: www.openfoam.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object blockMeshDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
scale 1;
|
|
|
|
L 0.125664;
|
|
H 1.0;
|
|
H2 #eval{ 2*$H };
|
|
W #eval{ pi() };
|
|
|
|
vertices
|
|
(
|
|
( 0 0 0)
|
|
($L 0 0)
|
|
($L $H 0)
|
|
($L $H2 0)
|
|
( 0 $H2 0)
|
|
( 0 $H 0)
|
|
|
|
( 0 0 $W)
|
|
($L 0 $W)
|
|
($L $H $W)
|
|
($L $H2 $W)
|
|
( 0 $H2 $W)
|
|
( 0 $H $W)
|
|
);
|
|
|
|
blocks
|
|
(
|
|
hex ( 0 1 2 5 6 7 8 11) (1 23 82) simpleGrading (1 15 1)
|
|
hex ( 5 2 3 4 11 8 9 10) (1 23 82) simpleGrading (1 -15 1)
|
|
);
|
|
|
|
edges
|
|
(
|
|
);
|
|
|
|
boundary
|
|
(
|
|
bottomWall
|
|
{
|
|
type wall;
|
|
faces ((0 6 7 1));
|
|
}
|
|
topWall
|
|
{
|
|
type wall;
|
|
faces ((4 3 9 10));
|
|
}
|
|
left
|
|
{
|
|
type cyclic;
|
|
neighbourPatch right;
|
|
faces ((1 2 5 0)(2 3 4 5));
|
|
}
|
|
right
|
|
{
|
|
type cyclic;
|
|
neighbourPatch left;
|
|
faces ((6 11 8 7)(11 10 9 8));
|
|
}
|
|
inlet
|
|
{
|
|
type patch;
|
|
faces ((0 5 11 6)(5 4 10 11));
|
|
}
|
|
outlet
|
|
{
|
|
type patch;
|
|
faces ((1 7 8 2)(2 8 9 3));
|
|
}
|
|
);
|
|
|
|
mergePatchPairs
|
|
(
|
|
);
|
|
|
|
|
|
// ************************************************************************* //
|