/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  5                                     |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 1;
x1 -600;
x2 -25;
x3 25;
x4 600;
y1 -400;
y2 -300;
y3 0;
z1 0;
z2 10;

vertices
(
    ($x1 $y2 $z1)
    ($x2 $y2 $z1)
    ($x2 $y1 $z1)
    ($x3 $y1 $z1)
    ($x3 $y2 $z1)
    ($x4 $y2 $z1)
    ($x4 $y3 $z1)
    ($x3 $y3 $z1)
    ($x2 $y3 $z1)
    ($x1 $y3 $z1)
    ($x1 $y2 $z2)
    ($x2 $y2 $z2)
    ($x2 $y1 $z2)
    ($x3 $y1 $z2)
    ($x3 $y2 $z2)
    ($x4 $y2 $z2)
    ($x4 $y3 $z2)
    ($x3 $y3 $z2)
    ($x2 $y3 $z2)
    ($x1 $y3 $z2)
);

blocks
(
    hex (0 1 8 9 10 11 18 19) (40 40 1) simpleGrading (1 1 1)
    hex (1 4 7 8 11 14 17 18) (30 40 1) simpleGrading (1 1 1)
    hex (4 5 6 7 14 15 16 17) (10 40 1) simpleGrading (1 1 1)
    hex (2 3 4 1 12 13 14 11) (30 10 1) simpleGrading (1 1 1)
);

edges
(
);

boundary
(
    sidewalls
    {
        type patch ;
        faces
        (
            (9 0 10 19)
            (0 1 11 10)
            (1 2 12 11)
            (3 4 14 13)
            (4 5 15 14)
            (5 6 16 15)
        );
    }

    top
    {
        type patch;
        faces
        (
            (6 7 17 16)
            (7 8 18 17)
            (8 9 19 18)
        );
    }

    bottom
    {
        type patch;
        faces
        (
            (2 3 13 12)
        );
    }

    frontAndBack
    {
        type empty;
        faces 
        (
            (0 9 8 1)
            (1 8 7 4)
            (4 7 6 5)
            (2 1 4 3)
            (10 11 18 19)
            (11 14 17 18)
            (14 15 16 17)
            (12 13 14 11)
        );
    }
);
// ************************************************************************* //
