/*--------------------------------*- C++ -*----------------------------------*\
  ==  == ====== ====   ====    |
                    \\     ||  | Multiphase Code Repository by HZDR
  ======   //   ||  || ===//   | Website: https://doi.org/10.14278/rodare.767
  ||  ||  //    ||  // || \\   | License: GPL-3.0-or-later
  ==  == ====== ====   ==  ==  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    format      ascii;
    class       dictionary;
    location    "bulk";
    object      blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 1;

L       0.05;
H       1e-3;
T       1e-3;

Nx      50;
Ny      10;

vertices
(
    (0  0   0)
    ($L 0   0)
    ($L $H  0)
    (0  $H  0)

    (0  0  $T)
    ($L 0  $T)
    ($L $H $T)
    (0  $H $T)
);

blocks
(
    hex (0 1 2 3 4 5 6 7) ($Nx $Ny 1) simpleGrading (1 1 1)
);

boundary
(
    film
    {
        type              mappedExtrudedWall;
        neighbourRegion   film;
        neighbourPatch    surface;
        isExtrudedRegion  no;

        faces
        (
            (0 1 5 4)
        );
    }

    atmosphere
    {
        type patch;
        faces
        (
            (2 3 7 6)
        );
    }

    outlet
    {
        type patch;
        faces
        (
            (1 2 6 5)
        );
    }

    inlet
    {
        type patch;
        faces
        (
            (0 4 7 3)
        );
    }
);

defaultPatch
{
    name frontAndBack;
    type empty;
}

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