77 lines
1.5 KiB
C++
77 lines
1.5 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 1;
|
|
|
|
vertices
|
|
(
|
|
(0 0 0)
|
|
(1 0 0)
|
|
(2 0 0)
|
|
(0 1 0)
|
|
(1 1 0)
|
|
(2 1 0)
|
|
(0 0 0.1)
|
|
(1 0 0.1)
|
|
(2 0 0.1)
|
|
(0 1 0.1)
|
|
(1 1 0.1)
|
|
(2 1 0.1)
|
|
);
|
|
|
|
blocks
|
|
(
|
|
hex (0 1 4 3 6 7 10 9) (20 20 1) simpleGrading (1 1 1)
|
|
hex (1 2 5 4 7 8 11 10) (20 20 1) simpleGrading (1 1 1)
|
|
);
|
|
|
|
edges
|
|
(
|
|
);
|
|
|
|
boundary
|
|
(
|
|
inlet
|
|
{
|
|
type patch;
|
|
faces
|
|
(
|
|
(4 10 11 5)
|
|
);
|
|
}
|
|
outlet
|
|
{
|
|
type patch;
|
|
faces
|
|
(
|
|
(3 9 10 4)
|
|
);
|
|
}
|
|
fixedWalls
|
|
{
|
|
type wall;
|
|
faces
|
|
(
|
|
(3 0 6 9)
|
|
(0 1 7 6)
|
|
(1 2 8 7)
|
|
(2 5 11 8)
|
|
);
|
|
}
|
|
);
|
|
|
|
|
|
// ************************************************************************* //
|