/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM v2512                                  |
|  \\    /   O peration     | blockMeshDict                                   |
|   \\  /    A nd           | Background Mesh Definition                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/

// Background mesh for overset simulation domain

FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      blockMeshDict;
}


// Geometry scaling factor

convertToMeters 0.0075;


// Domain vertex coordinates

vertices
(
    (-6.66 -6.66 -16)    // 0
    (6.66 -6.66 -16)     // 1
    (6.66 6.66 -16)      // 2
    (-6.66 6.66 -16)     // 3
    (-6.66 -6.66 5.3)    // 4
    (6.66 -6.66 5.3)     // 5
    (6.66 6.66 5.3)      // 6
    (-6.66 6.66 5.3)     // 7
);


// Structured hexahedral mesh block

blocks
(
    hex (0 1 2 3 4 5 6 7)  (20 20 30) simpleGrading (1 1 1)
);


// Boundary patch definitions

boundary
(
    // Top boundary

    top
    {
        type wall;

        faces
        (
            (4 5 6 7)
        );
    }

    // Bottom boundary

    Bottom
    {
        type wall;

        faces
        (
            (0 3 2 1)
        );
    }

    // Inlet boundary

    inlet
    {
        type wall;

        faces
        (
            (0 4 7 3)
        );
    }

    // Outlet boundary

    outlet
    {
        type wall;

        faces
        (
            (2 6 5 1)
        );
    }

    // Front and back boundaries

    frontAndBack
    {
        type wall;

        faces
        (
            (3 7 6 2)
            (1 5 4 0)
        );
    }

);


// No patch merging required

mergePatchPairs
(
);


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