112 lines
2 KiB
C++
112 lines
2 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
|
| \\ / O peration | Version: 3.2 |
|
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object blockMeshDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
convertToMeters 0.01;
|
|
|
|
vertices
|
|
(
|
|
(-1 -0.5 -0.05)
|
|
(1 -0.5 -0.05)
|
|
(-1 0 -0.05)
|
|
(1 0 -0.05)
|
|
(-1 0.1 -0.05)
|
|
(1 0.1 -0.05)
|
|
(-1 0.5 -0.05)
|
|
(1 0.5 -0.05)
|
|
|
|
(-1 -0.5 0.05)
|
|
(1 -0.5 0.05)
|
|
(-1 0 0.05)
|
|
(1 0 0.05)
|
|
(-1 0.1 0.05)
|
|
(1 0.1 0.05)
|
|
(-1 0.5 0.05)
|
|
(1 0.5 0.05)
|
|
);
|
|
|
|
edges
|
|
(
|
|
arc 4 5 (0 0 -0.05)
|
|
arc 12 13 (0 0 0.05)
|
|
);
|
|
|
|
blocks
|
|
(
|
|
hex 8(0 1 3 2 8 9 11 10) (30 10 1) simpleGrading (1 1 1)
|
|
hex 8(4 5 7 6 12 13 15 14) (40 10 1) simpleGrading (1 1 1)
|
|
);
|
|
|
|
patches
|
|
(
|
|
patch bottomBrickDown
|
|
(
|
|
(0 1 9 8)
|
|
)
|
|
|
|
patch bottomBrickUp
|
|
(
|
|
(2 10 11 3)
|
|
)
|
|
|
|
patch topBrickDown
|
|
(
|
|
(4 5 13 12)
|
|
)
|
|
|
|
patch topBrickUp
|
|
(
|
|
(6 14 15 7)
|
|
)
|
|
|
|
patch bottomBrickLeft
|
|
1
|
|
(
|
|
(0 8 10 2)
|
|
)
|
|
|
|
patch bottomBrickRight
|
|
1
|
|
(
|
|
(1 3 11 9)
|
|
)
|
|
|
|
patch topBrickLeft
|
|
(
|
|
(4 12 14 6)
|
|
)
|
|
|
|
patch topBrickRight
|
|
(
|
|
(5 7 15 13)
|
|
)
|
|
|
|
empty back
|
|
(
|
|
(0 2 3 1)
|
|
(4 6 7 5)
|
|
)
|
|
|
|
empty front
|
|
(
|
|
(8 9 11 10)
|
|
(12 13 15 14)
|
|
)
|
|
);
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
// ************************************************************************* //
|
|
|