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

convertToMeters 300; // multiply all sizes below by 300

// Fix the verticies

vertices
(
    (0   -11.0   0.0)
    (42  -11.0   0.0)
    (42   11.0   0.0)
    (0    11.0   0.0)
    (0   -11.0  10.0)
    (42  -11.0  10.0)
    (42   11.0  10.0)
    (0    11.0  10.0)

    //(0   0   2.5)
    //(20  0   2.5)
    //(20  6  2.5)
    //(0   6  2.5)
    //(0   0   7.5)
    //(20  0   7.5)
    //(20  6  7.5)
    //(0   6  7.5)


);

blocks
(
    // hex (0 1 2 3 4 5 6 7) (840 440 200) simpleGrading (1 1 1)  // for a D, 20, 20, 20
    // hex (0 1 2 3 4 5 6 7) (1050 525 250) simpleGrading (1 1 1)  // for a D, 25, 25, 25
    hex (0 1 2 3 4 5 6 7) (1260 660 300) simpleGrading (1 1 1)  // for a D, 30, 30, 30
);

boundary
(
    outlet
    {
        type patch;
        faces
        (
            (2 1 5 6)
        );
    }
    sides
    {
        type wall;
        faces
        (
            (0 4 5 1)
            (3 2 6 7)
        );
    }
    inlet
    {
        type patch;
        faces
        (
            (0 3 7 4)
        );
    }
    ground
    {
        type wall;
        faces
        (
            (0 1 2 3)
        );
    }
    top
    {
        type patch;
        faces
        (
            (4 7 6 5)
        );
    }
);



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