111 lines
2.1 KiB
C++
111 lines
2.1 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
|
| \\ / O peration | Version: 4.0 |
|
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object blockMeshDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
convertToMeters 0.1;
|
|
|
|
vertices
|
|
(
|
|
(0 0 0)
|
|
(1.5 0 0)
|
|
(1.5 1 0)
|
|
(0 1 0)
|
|
(2.5 0 0)
|
|
(4 0 0)
|
|
(4 1 0)
|
|
(2.5 1 0)
|
|
(1.5 2.5 0)
|
|
(2.5 2.5 0)
|
|
|
|
(0 0 0.1)
|
|
(1.5 0 0.1)
|
|
(1.5 1 0.1)
|
|
(0 1 0.1)
|
|
(2.5 0 0.1)
|
|
(4 0 0.1)
|
|
(4 1 0.1)
|
|
(2.5 1 0.1)
|
|
(1.5 2.5 0.1)
|
|
(2.5 2.5 0.1)
|
|
|
|
);
|
|
|
|
blocks
|
|
(
|
|
hex (0 1 2 3 10 11 12 13) (20 20 1) simpleGrading (1 1 1)
|
|
hex (1 4 7 2 11 14 17 12) (20 20 1) simpleGrading (1 1 1)
|
|
hex (4 5 6 7 14 15 16 17) (20 20 1) simpleGrading (1 1 1)
|
|
hex (2 7 9 8 12 17 19 18) (20 20 1) simpleGrading (1 1 1)
|
|
);
|
|
|
|
edges
|
|
(
|
|
);
|
|
|
|
boundary
|
|
(
|
|
steetWalls
|
|
{
|
|
type wall;
|
|
faces
|
|
(
|
|
(1 0 10 11)
|
|
(4 1 11 14)
|
|
(5 4 14 15)
|
|
(2 3 13 12)
|
|
(6 7 17 16)
|
|
);
|
|
}
|
|
branchWalls
|
|
{
|
|
type wall;
|
|
faces
|
|
(
|
|
(8 2 12 18)
|
|
(7 9 19 17)
|
|
);
|
|
}
|
|
westStreet
|
|
{
|
|
type patch;
|
|
faces
|
|
(
|
|
(3 0 10 13)
|
|
);
|
|
}
|
|
eastStreet
|
|
{
|
|
type patch;
|
|
faces
|
|
(
|
|
(5 6 16 15)
|
|
);
|
|
}
|
|
northBranch
|
|
{
|
|
type patch;
|
|
faces
|
|
(
|
|
(9 8 18 19)
|
|
);
|
|
}
|
|
);
|
|
|
|
mergePatchPairs
|
|
(
|
|
);
|
|
|
|
|
|
// ************************************************************************* //
|