/*--------------------------------*- C++ -*----------------------------------*\
  ==  == ====== ====   ====    |
                    \\     ||  | Multiphase Cases Repository by HZDR
  ======   //   ||  || ===//   | Website: https://doi.org/10.14278/rodare.811
  ||  ||  //    ||  // || \\   | License: Creative Commons Attribution 4.0
  ==  == ====== ====   ==  ==  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    format      ascii;
    class       dictionary;
    object      blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

#include "${FOAM_CASE}/constant/caseSettings"

convertToMeters 1;

vertices
(
    (        0          0           0)
    ($!mesh/LX          0           0)
    ($!mesh/LX  $!mesh/LY           0)
    (        0  $!mesh/LY           0)
    (        0          0   $!mesh/LZ)
    ($!mesh/LX          0   $!mesh/LZ)
    ($!mesh/LX  $!mesh/LY   $!mesh/LZ)
    (        0  $!mesh/LY   $!mesh/LZ)

);

blocks
(
    hex (0 1 2 3 4 5 6 7) ($!mesh/NX $!mesh/NY $!mesh/NZ) simpleGrading (1 1 1)
);

boundary
(
    walls
    {
        type    wall;
        faces
        (
            (0 1 2 3)
            (1 2 6 5)
            (0 3 7 4)
            (0 1 5 4)
            (3 2 6 7)
        );
    }

    outlet
    {
        type    wall;
        faces
        (
            (4 5 6 7)
        );
    }
);

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