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

convertToMeters 1; //m

vertices
(
// porousMat2
    (0 0 0) // 0
    (1 0 0) // 1
    (1 1 0) // 2
    (0 1 0) // 3
    (0 0 1) // 4
    (1 0 1) // 5
    (1 1 1) // 6
    (0 1 1) // 7
// porousMat1
    (0 2 0) // 8
    (1 2 0) // 9
    (1 2 1) // 10
    (0 2 1) // 11

);

blocks
(
    hex (0 1 2 3 4 5 6 7) porousMat2 (1 1 1) simpleGrading (1 1 1)
    hex (3 2 9 8 7 6 10 11) porousMat1 (1 1 1) simpleGrading (1 1 1)
);

edges
(
);

patches
(
    wall top
    (
        (8 11 10 9) // porousMat
    )
    wall sides
    (
        // porousMat2
        (0 4 7 3)
        (0 3 2 1)
        (5 1 2 6)
        (4 5 6 7)
        // porousMat1
        (7 11 8 3)
        (3 8 9 2)
        (2 9 10 6)
        (7 6 10 11)
    )
    wall bottom
    (
        (0 1 5 4) // porousMat2
    )
);

mergePatchPairs
(
);

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


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