/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2012                                  |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/

FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      blockMeshDict;
}

scale 1;

vertices
(
    // bottom line
    (0   -20.520 0)
    (20  -16.632 0)
   (40   -12.745 0)
    (54.12   -10 0)//3
    (74.12 -10  0)   //4
    (110 -14.405 0)   //5
    (140 -18.093 0)  //6

    // top line
    (0   20.520 0)
    (20  16.632 0)
   (40   12.745 0)
    (54.12   10 0)//3
    (74.12 10  0)   //4
    (110 14.405 0)   //5
    (140 18.093 0)

    
 // back plane
(0      -20.520 1)    //14
(20     -16.632 1)    //15
(40     -12.745 1)    //16
(54.12  -10.000 1)    //17
(74.12  -10.000 1)    //18
(110    -14.405 1)    //19
(140    -18.093 1)    //20

(0       20.520 1)    //21
(20      16.632 1)    //22
(40      12.745 1)    //23
(54.12   10.000 1)    //24
(74.12   10.000 1)    //25
(110     14.405 1)    //26
(140     18.093 1)    //27
);

blocks
(
    hex (0 1 8 7 14 15 22 21) (180 180 1)
    simpleGrading (1 1 1)

    hex (1 2 9 8 15 16 23 22) (180 180 1)
    simpleGrading (1 1 1)

    hex (2 3 10 9 16 17 24 23) (180 180 1)
    simpleGrading (1 1 1)

    hex (3 4 11 10 17 18 25 24) (180 180 1)
    simpleGrading (1 1 1)

    hex (4 5 12 11 18 19 26 25) (180 180 1)
    simpleGrading (1 1 1)

    hex (5 6 13 12 19 20 27 26) (180 180 1)
    simpleGrading (1 1 1)
);

boundary
(
    inlet
    {
        type patch;
        faces ((0 7 21 14));
    }

    outlet
    {
        type patch;
        faces ((6 13 27 20));
    }

    walls
    {
        type wall;
        faces
        (
            (0 1 15 14)
            (1 2 16 15)
            (2 3 17 16)
            (3 4 18 17)
            (4 5 19 18)
            (5 6 20 19)

            (7 8 22 21)
            (8 9 23 22)
            (9 10 24 23)
            (10 11 25 24)
            (11 12 26 25)
            (12 13 27 26)
        );
    }

    frontAndBack
    {
        type empty;
        faces
        (
            (0 1 8 7)
            (1 2 9 8)
            (2 3 10 9)
            (3 4 11 10)
            (4 5 12 11)
            (5 6 13 12)

            (14 15 22 21)
            (15 16 23 22)
            (16 17 24 23)
            (17 18 25 24)
            (18 19 26 25)
            (19 20 27 26)
        );
    }
);
  