/*--------------------------------*- C++ -*----------------------------------*\
  Ahmed body drag optimisation with DAFoam - cloudHPC tutorial
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      blockMeshDict;
}
// Half domain (symmetry plane y=0), ground at z=0. Body length L=1.044 m.
// x: 2L upstream, 6L downstream; y: 1.04 m; z: 1.2 m. Base cell 0.08 m.
convertToMeters 1;
vertices
(
    (-2.08 0.00 0.0) ( 6.32 0.00 0.0) ( 6.32 1.04 0.0) (-2.08 1.04 0.0)
    (-2.08 0.00 1.2) ( 6.32 0.00 1.2) ( 6.32 1.04 1.2) (-2.08 1.04 1.2)
);
blocks ( hex (0 1 2 3 4 5 6 7) (105 13 15) simpleGrading (1 1 1) );
edges ();
boundary
(
    inlet    { type patch;         faces ((0 4 7 3)); }
    outlet   { type patch;         faces ((1 2 6 5)); }
    sym      { type symmetryPlane; faces ((0 1 5 4)); }
    side     { type patch;         faces ((3 7 6 2)); }
    ground   { type patch;         faces ((0 3 2 1)); }
    top      { type patch;         faces ((4 5 6 7)); }
);
mergePatchPairs ();
