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

scale 0.0001;

//nx1   100;
//nx2   300;
//ny1    40;
//ny2   200;

nx1    50;
nx2   150;
ny1    20;
ny2   100;

vertices
(
    (  0   0  -1)
    (  0   2  -1)
    (  0  12  -1)

    (  5   0  -1)
    (  5   2  -1)
    (  5  12  -1)

    ( 20   0  -1)
    ( 20   2  -1)
    ( 20  12  -1)

    (  0   0   1)
    (  0   2   1)
    (  0  12   1)
              
    (  5   0   1)
    (  5   2   1)
    (  5  12   1)
              
    ( 20   0   1)
    ( 20   2   1)
    ( 20  12   1)

);

blocks
(
//    hex (0 3 4 1  9 12 13 10)  (100  40  1) simpleGrading (1 1 1)
//    hex (1 4 5 2  10 13 14 11) (100 200  1) simpleGrading (1 1 1)
//    hex (3 6 7 4  12 15 16 13) (300  40  1) simpleGrading (1 1 1)
//    hex (4 7 8 5  13 16 17 14) (300 200  1) simpleGrading (1 1 1)

    hex (0 3 4 1   9 12 13 10) fluid ( $nx1  $ny1  1) simpleGrading (1 1 1)
    hex (1 4 5 2  10 13 14 11) fluid ( $nx1  $ny2  1) simpleGrading (1 1 1)
    hex (3 6 7 4  12 15 16 13) fluid ( $nx2  $ny1  1) simpleGrading (1 1 1)
    hex (4 7 8 5  13 16 17 14) fluid ( $nx2  $ny2  1) simpleGrading (1 1 1)
);

boundary
(
    acous
    {
        type patch;
        faces
        (
            (0 9 10 1)
        );
    }

    walls
    {
        type wall;
        faces
        (
            (1 10 11 2)
            (2 11 14 5)
            (5 14 17 8)
            (8 17 16 7)
            (7 16 15 6)
        );
    }

    symm
    {
        type symmetryPlane;
        faces
        (
            (0 3 12 9)
            (3 6 15 12)
        );
    }

);

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