/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | foam-extend: Open Source CFD                    |
|  \\    /   O peration     | Version:     4.1                                |
|   \\  /    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.5)                     //0
    (0 2 -0.5)                     //1
    (60 0 -0.5)                    //2
    (60 2 -0.5)                    //3  
    (101.967 -7.4 -0.5)            //4
    (101.967 2 -0.5)               //5
    (171.967 -7.4 -0.5)            //6   
    (171.967 2 -0.5)               //7
    
    
    (0 0 0.5)                      //8
    (0 2 0.5)                      //9
    (60 0 0.5)                     //10
    (60 2 0.5)                     //11
    (101.967 -7.4 0.5)             //12
    (101.967 2 0.5)                //13
    (171.967 -7.4 0.5)             //14
    (171.967 2 0.5)                //15

    (0 1 -0.5)                     //16
    (0 1  0.5)                     //17
    (60 1 -0.5)                    //18
    (60 1  0.5)                    //19  
    (101.967 -2.7 -0.5)            //20
    (101.967 -2.7  0.5)            //21
    (171.967 -2.7 -0.5)            //22   
    (171.967 -2.7  0.5)            //23
   
);


blocks
(
    hex (0 2 18 16 8 10 19 17) (450 23 1) simpleGrading (1 16 1)
    hex (16 18 3 1 17 19 11 9) (450 23 1) simpleGrading (1 0.0625 1)
    hex (2 4 20 18 10 12 21 19) (350 23 1) simpleGrading (1 16 1)
    hex (18 20 5 3 19 21 13 11) (350 23 1) simpleGrading (1 0.0625 1)
    hex (4 6 22 20 12 14 23 21) (500 23 1) simpleGrading (1 16 1)
    hex (20 22 7 5 21 23 15 13) (500 23 1) simpleGrading (1 0.0625 1)
);

edges
(
);

boundary
(
   inlet
    {
        type patch;
        faces
        (
            (0 8 17 16)
            (16 17 9 1)
        );
    }
    outlet
    {
        type patch;
        faces
        (
            (6 22 23 14)
            (22 7 15 23)
        );
    }
    upperWall
    {
        type wall;
        faces
        (
            (1 3 11 9)
            (3 5 13 11)
            (5 7 15 13)
        );
    }
    lowerWall
    {
        type wall;
        faces
        (
            (0 2 10 8)
            (2 4 12 10)
            (4 6 14 12)
            
        );
    }
    frontAndBack
    {
        type empty;
        faces
        (
            (0 2 18 16)
            (16 18 3 1)
            (2 4 20 18)
            (18 20 5 3)
            (4 6 22 20)
            (20 22 7 5)
            (8 10 19 17)
            (17 19 11 9)
            (10 12 21 19)
            (19 21 13 11)
            (12 14 23 21)
            (21 23 15 13)
        );
    }
);

mergePatchPairs
(
);

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //