98 lines
1.9 KiB
C++
98 lines
1.9 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 1;
|
|
|
|
vertices
|
|
(
|
|
(0 0 0) //0
|
|
(1 0 0) //1
|
|
(0 0.5 0) //2
|
|
(1 0.5 0) //3
|
|
(0 0.51 0) //4
|
|
(1 0.51 0) //5
|
|
(0 1 0) //6
|
|
(1 1 0) //7
|
|
|
|
(0 0 0.1) //8
|
|
(1 0 0.1) //9
|
|
(0 0.5 0.1) //10
|
|
(1 0.5 0.1) //11
|
|
(0 0.51 0.1) //12
|
|
(1 0.51 0.1) //13
|
|
(0 1 0.1) //14
|
|
(1 1 0.1) //15
|
|
|
|
);
|
|
|
|
blocks
|
|
(
|
|
hex ( 0 1 3 2 8 9 11 10) (100 50 1) simpleGrading (1 1 1)
|
|
hex ( 2 3 5 4 10 11 13 12) (100 1 1) simpleGrading (1 1 1)
|
|
hex ( 4 5 7 6 12 13 15 14) (100 49 1) simpleGrading (1 1 1)
|
|
);
|
|
|
|
edges
|
|
(
|
|
);
|
|
|
|
patches
|
|
(
|
|
empty front
|
|
(
|
|
( 0 1 3 2)
|
|
( 2 3 5 4)
|
|
( 4 5 7 6)
|
|
)
|
|
|
|
empty back
|
|
(
|
|
( 8 9 11 10)
|
|
(10 11 13 12)
|
|
(12 13 15 14)
|
|
)
|
|
|
|
patch left
|
|
(
|
|
( 0 2 10 8)
|
|
( 2 4 12 10)
|
|
( 4 6 14 12)
|
|
)
|
|
|
|
patch bottom
|
|
(
|
|
( 0 1 9 8)
|
|
)
|
|
|
|
patch right
|
|
(
|
|
( 1 3 11 9)
|
|
( 3 5 13 11)
|
|
( 5 7 15 13)
|
|
)
|
|
|
|
patch top
|
|
(
|
|
( 6 7 15 14)
|
|
)
|
|
|
|
);
|
|
|
|
mergePatchPairs
|
|
(
|
|
);
|
|
|
|
// ************************************************************************* //
|