136 lines
2.6 KiB
C++
136 lines
2.6 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
|
| \\ / O peration | Version: 3.1 |
|
|
| \\ / A nd | Web: http://www.extend-project.de |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object blockMeshDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
convertToMeters 3.2e-9;
|
|
|
|
vertices
|
|
(
|
|
(0 0 0)
|
|
(3.5 0 0)
|
|
(3.5 3 0)
|
|
(0 3 0)
|
|
(0 0 3)
|
|
(3.5 0 3)
|
|
(3.5 3 3)
|
|
(0 3 3)
|
|
(7.5 1 0.5)
|
|
(7.5 2 0.5)
|
|
(7.5 1 2.5)
|
|
(7.5 2 2.5)
|
|
(10 1 0.5)
|
|
(10 2 0.5)
|
|
(10 1 2.5)
|
|
(10 2 2.5)
|
|
(11.5 0.5 -0.5)
|
|
(11.5 2.5 -0.5)
|
|
(11.5 0.5 3.5)
|
|
(11.5 2.5 3.5)
|
|
(16 0.5 -0.5)
|
|
(16 2.5 -0.5)
|
|
(16 0.5 3.5)
|
|
(16 2.5 3.5)
|
|
);
|
|
|
|
blocks
|
|
(
|
|
hex (0 1 2 3 4 5 6 7) sectionA (20 16 16) simpleGrading (1 1 1)
|
|
hex (1 8 9 2 5 10 11 6) sectionA (20 16 16) simpleGrading (1 1 1)
|
|
hex (8 12 13 9 10 14 15 11) sectionB (29 16 16) simpleGrading (1 1 1)
|
|
hex (12 16 17 13 14 18 19 15) sectionC (17 16 16) simpleGrading (1 1 1)
|
|
hex (16 20 21 17 18 22 23 19) sectionC (20 16 16) simpleGrading (1 1 1)
|
|
);
|
|
|
|
edges
|
|
();
|
|
|
|
boundary
|
|
(
|
|
sectionAEnd
|
|
{
|
|
type patch;
|
|
faces
|
|
(
|
|
(0 4 7 3)
|
|
);
|
|
}
|
|
|
|
sectionCEnd
|
|
{
|
|
type wall;
|
|
faces
|
|
(
|
|
(20 21 23 22)
|
|
);
|
|
}
|
|
|
|
front
|
|
{
|
|
type wall;
|
|
faces
|
|
(
|
|
(0 1 5 4)
|
|
(1 8 10 5)
|
|
(8 12 14 10)
|
|
(12 16 18 14)
|
|
(16 20 22 18)
|
|
);
|
|
}
|
|
|
|
back
|
|
{
|
|
type wall;
|
|
faces
|
|
(
|
|
(2 3 7 6)
|
|
(2 6 11 9)
|
|
(9 11 15 13)
|
|
(13 15 19 17)
|
|
(17 19 23 21)
|
|
);
|
|
}
|
|
|
|
top
|
|
{
|
|
type wall;
|
|
faces
|
|
(
|
|
(4 5 6 7)
|
|
(5 10 11 6)
|
|
(10 14 15 11)
|
|
(14 18 19 15)
|
|
(18 22 23 19)
|
|
);
|
|
}
|
|
|
|
bottom
|
|
{
|
|
type wall;
|
|
faces
|
|
(
|
|
(0 3 2 1)
|
|
(1 2 9 8)
|
|
(8 9 13 12)
|
|
(12 13 17 16)
|
|
(16 17 21 20)
|
|
);
|
|
}
|
|
);
|
|
|
|
mergePatchPairs
|
|
(
|
|
);
|
|
|
|
// ************************************************************************* //
|