/*--------------------------------*- 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    "system";
    object      blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 1;

// coordinates; r = 0.0256
xx 0.0255756345;   // radial; r*cos(2.5deg) = r*0.99904822
yp 0.0011166563;   // polar;  r*sin(2.5deg) = r*0.04361938
ym -0.0011166563;  // polar;  r*sin(2.5deg) = r*0.04361938
ze 0;
zl 1.0;

// number of points
nx 19;
ny 1;
nz 50;

vertices
(
    (0   0    $ze)
    ($xx $ym  $ze)
    ($xx $yp  $ze)
//    (0   0    $ze  )   // redundant
    (0   0    $zl)
    ($xx $ym  $zl)
    ($xx $yp  $zl)
//    (0    0    $zl)   // redundant
);

blocks
(
    hex (0 1 2 0 3 4 5 3) ($nx $ny $nz) simpleGrading (1 1 1)
);

boundary
(
    inlet
    {
        type patch;
        faces
        (
            (0 1 2 0)
        );
    }

    outlet
    {
        type patch;
        faces
        (
            (3 4 5 3)
        );
    }

    walls
    {
        type wall;
        faces
        (
            (1 2 5 4)
        );
    }

    front
    {
        type wedge;
        faces
        (
            (0 1 4 3)
        );
    }

    back
    {
        type wedge;
        faces
        (
            (2 0 3 5)
        );
    }

    axis
    {
        type empty;
        faces
        (
            (0 3 3 0)
        );
    }
);

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