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

convertToMeters 1;

vertices
(
    (0 0 0) //0
    (1 0 0)  //1 
    (1 0.1 0)  //2
    (0 0.1 0)  //3
    (1 0.01 0)  //4
    (1.01 0.01 0)  //5
    (1.01 0.09 0)  //6
    (1 0.09 0)  //7
    (1.01 0 0)  //8 
    (2.01 0 0)  //9 
    (2.01 0.1 0)  //10
    (1.01 0.1 0) //11

    (0 0 0.01)  //12
    (1 0 0.01)  //13
    (1 0.1 0.01)  //14
    (0 0.1 0.01)  //15 
    (1 0.01 0.01)  //16
    (1.01 0.01 0.01)  //17
    (1.01 0.09 0.01)  //18
    (1 0.09 0.01)  //19
    (1.01 0 0.01)  //20
    (2.01 0 0.01)  //21
    (2.01 0.1 0.01)  //22
    (1.01 0.1 0.01) //23s
);

blocks
(
    hex (0 1 2 3 12 13 14 15) (500 100 1) simpleGrading (1 1 1)
    hex (4 5 6 7 16 17 18 19) (5 80 1) simpleGrading (1 1 1)
    hex (8 9 10 11 20 21 22 23) (500 100 1) simpleGrading (1 1 1)
);

boundary
(
    inlet
    {
        type patch;
        faces
        (
            (0 12 15 3)
        );
    }
    outlet
    {
        type patch;
        faces
        (
            (9 21 22 10)
        );
    }
    Fixedwall
    {
        type wall;
        faces
        (
            (2 3 15 14)
            (1 0 12 13)
            (10 11 23 22)
            (9 8 20 21)
            (6 7 19 18)
            (5 4 16 17)       
        );
    }
    ContactWall1
    {
        type wall;
        faces
        (
            (2 1 13 14)
            (11 8 20 23)
        );
    }

    ContactWall2
    {
        type wall;
        faces
        (
            (7 4 16 19)
            (6 5 17 18)     
        );
    }

    frontAndBack
    {
        type empty;
        faces
        (
            (0 1 2 3)
            (12 13 14 15)
            (4 5 6 7)
            (16 17 18 19)
            (8 9 10 11)
            (20 21 22 23)
        );
    }
);


mergePatchPairs
(
    (ContactWall2 ContactWall1)
);

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