150 lines
2.8 KiB
C++
150 lines
2.8 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
|
| \\ / O peration | Version: 4.1 |
|
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object blockMeshDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
convertToMeters 0.001;
|
|
|
|
vertices
|
|
(
|
|
(-7.5 0 0)
|
|
(-7 0 0)
|
|
(-3.5 0 0)
|
|
(0 0 0)
|
|
(-7.5 0.75 -0.0327457)
|
|
(-7 0.75 -0.0327457)
|
|
(-3.5 2 -0.0873219)
|
|
(0 2 -0.0873219)
|
|
(-7.5 2.5 -0.109152)
|
|
(-7 2.5 -0.109152)
|
|
(-3.5 2.5 -0.109152)
|
|
(0 2.5 -0.109152)
|
|
(-7.5 0.75 0.0327457)
|
|
(-7 0.75 0.0327457)
|
|
(-3.5 2 0.0873219)
|
|
(0 2 0.0873219)
|
|
(-7.5 2.5 0.109152)
|
|
(-7 2.5 0.109152)
|
|
(-3.5 2.5 0.109152)
|
|
(0 2.5 0.109152)
|
|
);
|
|
|
|
blocks
|
|
(
|
|
hex (0 1 5 4 0 1 13 12) (5 5 1) simpleGrading (1 1 1)
|
|
hex (2 3 7 6 2 3 15 14) (7 7 1) simpleGrading (2 0.25 1)
|
|
hex (4 5 9 8 12 13 17 16) (5 5 1) simpleGrading (1 1 1)
|
|
hex (5 6 10 9 13 14 18 17) (15 5 1) simpleGrading (1 1 1)
|
|
hex (6 7 11 10 14 15 19 18) (7 5 1) simpleGrading (2 1 1)
|
|
);
|
|
|
|
edges
|
|
(
|
|
);
|
|
|
|
boundary
|
|
(
|
|
movingWall
|
|
{
|
|
type wall;
|
|
faces
|
|
(
|
|
(1 5 13 1)
|
|
(5 6 14 13)
|
|
(2 2 14 6)
|
|
);
|
|
}
|
|
|
|
farFieldMoving
|
|
{
|
|
type patch;
|
|
faces
|
|
(
|
|
(9 17 18 10)
|
|
);
|
|
}
|
|
|
|
fixedWall
|
|
{
|
|
type wall;
|
|
faces
|
|
(
|
|
(3 7 15 3)
|
|
(7 11 19 15)
|
|
);
|
|
}
|
|
|
|
axis
|
|
{
|
|
type empty;
|
|
faces
|
|
(
|
|
(0 1 1 0)
|
|
(2 3 3 2)
|
|
);
|
|
}
|
|
|
|
left
|
|
{
|
|
type patch;
|
|
faces
|
|
(
|
|
(0 0 12 4)
|
|
(4 12 16 8)
|
|
);
|
|
}
|
|
|
|
farField
|
|
{
|
|
type patch;
|
|
faces
|
|
(
|
|
(8 16 17 9)
|
|
(10 18 19 11)
|
|
);
|
|
}
|
|
|
|
back
|
|
{
|
|
type wedge;
|
|
faces
|
|
(
|
|
(0 4 5 1)
|
|
(2 6 7 3)
|
|
(4 8 9 5)
|
|
(5 9 10 6)
|
|
(6 10 11 7)
|
|
);
|
|
}
|
|
|
|
front
|
|
{
|
|
type wedge;
|
|
faces
|
|
(
|
|
(0 1 13 12)
|
|
(2 3 15 14)
|
|
(12 13 17 16)
|
|
(13 14 18 17)
|
|
(14 15 19 18)
|
|
);
|
|
}
|
|
);
|
|
|
|
mergePatchPairs
|
|
(
|
|
);
|
|
|
|
|
|
// ************************************************************************* //
|