/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | faSavageHutterFOAM                              |
|   \\  /    A nd           | Copyright (C) 2017 Matthias Rauter              |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      blockMeshDict;
}

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

convertToMeters 1;

vertices
(
    (   0    0   10) //0
	(   3    0   10) //1
	(  10    0   10) //2
	(   0    0    3) //3
	(   3    0    3) //4
	(  10    0    3) //5
	(0.88    0 0.88) //6
	(   3    0    0) //7
	(  10    0    0) //8

    (   0    1   10) //9
	(   3    1   10) //10
	(  10    1   10) //11
	(   0    1    3) //12
	(   3    1    3) //13
	(  10    1    3) //14
	(0.88    1 0.88) //15
	(   3    1    0) //16
	(  10    1    0) //17
);

blocks
(
    hex (0 1 4 3 9 10 13 12)  (15 35 5) simpleGrading (1 1 1)
    hex (1 2 5 4 10 11 14 13) (35 35 5) simpleGrading (1 1 1)
    hex (3 4 7 6 12 13 16 15) (15 15 5) simpleGrading (1 1 1)
    hex (4 5 8 7 13 14 17 16) (35 15 5) simpleGrading (1 1 1) 
);

edges
(
    arc  3  6 (  0.23   0  1.85)
    arc 12 15 (  0.23   1  1.85)
	arc  6  7 (  1.85   0  0.23)
	arc 15 16 (  1.85   1  0.23)
);

boundary
(
    slope
    {
        type		wall;
        faces
        (
			(0 9 12 3)
			(3 12 15 6)
			(6 15 16 7)
			(7 16 17 8)
        );
    }

    sides
    {
        type		wall;
        faces
        (
			(1 10 11 2)
			(2 11 14 5)
			(0 1 4 3)
			(9 10 13 12)
			(1 2 5 4)
			(10 11 14 13)
			(4 5 8 7)
			(13 14 17 16)
			(3 4 7 6)
			(12 13 16 15)
        );
    }
	
	src
    {
        type		wall;
        faces
        (
			(0 9 10 1)
        );
    }

	outlet
    {
        type		wall;
        faces
        (
			(5 14 17 8)
        );
    }
);

mergePatchPairs
(
);

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