102 lines
1.9 KiB
C++
102 lines
1.9 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 1;
|
|
|
|
vertices
|
|
(
|
|
(0 0 -0.05)
|
|
(0.6 0 -0.05)
|
|
(0 0.2 -0.05)
|
|
(0.6 0.2 -0.05)
|
|
(3 0.2 -0.05)
|
|
(0 1 -0.05)
|
|
(0.6 1 -0.05)
|
|
(3 1 -0.05)
|
|
(0 0 0.05)
|
|
(0.6 0 0.05)
|
|
(0 0.2 0.05)
|
|
(0.6 0.2 0.05)
|
|
(3 0.2 0.05)
|
|
(0 1 0.05)
|
|
(0.6 1 0.05)
|
|
(3 1 0.05)
|
|
);
|
|
|
|
blocks
|
|
(
|
|
hex (0 1 3 2 8 9 11 10) (25 10 1) simpleGrading (1 1 1)
|
|
hex (2 3 6 5 10 11 14 13) (25 40 1) simpleGrading (1 1 1)
|
|
hex (3 4 7 6 11 12 15 14) (100 40 1) simpleGrading (1 1 1)
|
|
);
|
|
|
|
edges
|
|
(
|
|
);
|
|
|
|
boundary
|
|
(
|
|
inlet
|
|
{
|
|
type patch;
|
|
faces
|
|
(
|
|
(0 8 10 2)
|
|
(2 10 13 5)
|
|
);
|
|
}
|
|
outlet
|
|
{
|
|
type patch;
|
|
faces
|
|
(
|
|
(4 7 15 12)
|
|
);
|
|
}
|
|
bottom
|
|
{
|
|
type symmetryPlane;
|
|
faces
|
|
(
|
|
(0 1 9 8)
|
|
);
|
|
}
|
|
top
|
|
{
|
|
type symmetryPlane;
|
|
faces
|
|
(
|
|
(5 13 14 6)
|
|
(6 14 15 7)
|
|
);
|
|
}
|
|
obstacle
|
|
{
|
|
type patch;
|
|
faces
|
|
(
|
|
(1 3 11 9)
|
|
(3 4 12 11)
|
|
);
|
|
}
|
|
);
|
|
|
|
mergePatchPairs
|
|
(
|
|
);
|
|
|
|
|
|
// ************************************************************************* //
|