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

convertToMeters 1;

vertices
(
	(0.1524 0 0) 		//0
	(0.3048 0 0)		//1
	(1 0 0)    		//2
	(1 0.21552 0)		//3
	(0.21552 0.21552 0)	//4
	(0.10776 0.10776 0) 	//5
	(1 1 0) 		//6
	(0.21552 1 0)		//7
	(0 1 0)			//8
	(0 0.3048 0)		//9
	(0 0.1524 0)		//10
	(-0.10776 0.10776 0) 	//11
	(-0.1524 0 0) 		//12
	(-0.3048 0 0) 		//13
	(-1 0 0)    		//14
	(-1 0.21552 0)		//15
	(-0.21552 0.21552 0)	//16
	(-1 1 0)		//17
	(-0.21552 1 0)		//18
	
	(0.1524 0 0.05) 	//19
	(0.3048 0 0.05)		//20
	(1 0 0.05)    		//21
	(1 0.21552 0.05)	//22
	(0.21552 0.21552 0.05)	//23
	(0.10776 0.10776 0.05) 	//24
	(1 1 0.05) 		//25
	(0.21552 1 0.05)	//26
	(0 1 0.05)		//27
	(0 0.3048 0.05)		//28
	(0 0.1524 0.05)		//29
	(-0.10776 0.10776 0.05) //30
	(-0.1524 0 0.05) 	//31
	(-0.3048 0 0.05) 	//32
	(-1 0 0.05)    		//33
	(-1 0.21552 0.05)	//34
	(-0.21552 0.21552 0.05)	//35
	(-1 1 0.05)		//36
	(-0.21552 1 0.05)	//37
	
);

blocks
(
    hex (1 2 3 4 20 21 22 23)    (20 20 1) simpleGrading (1 1 1)	//1
    hex (0 1 4 5 19 20 23 24)    (20 20 1) simpleGrading (1 1 1)	//2
    hex (4 3 6 7 23 22 25 26)    (20 20 1) simpleGrading (1 1 1)	//3
    hex (5 4 9 10 24 23 28 29)   (20 20 1) simpleGrading (1 1 1)	//4
    hex (4 7 8 9 23 26 27 28)    (20 20 1) simpleGrading (1 1 1)	//5
    hex (9 8 18 16 28 27 37 35)  (20 20 1) simpleGrading (1 1 1)	//6
    hex (11 10 9 16 30 29 28 35) (20 20 1) simpleGrading (1 1 1)	//7
    hex (13 12 11 16 32 31 30 35)(20 20 1) simpleGrading (1 1 1)	//8
    hex (16 15 14 13 35 34 33 32)(20 20 1) simpleGrading (1 1 1)	//9
    hex (18 17 15 16 37 36 34 35)(20 20 1) simpleGrading (1 1 1)	//10
);

edges
(
	arc 0 5 (0.14079 0.05832 0.0)
	arc 5 10 (0.05832 0.14079 0.0)
	arc 11 12 (-0.14079 0.05832 0.0)
	arc 10 11 (-0.05832 0.14079 0.0)
	arc 1 4 (0.28158 0.11664 0.0)
	arc 4 9 (0.11664 0.28158 0.0)
	arc 16 13 (-0.28158 0.11664 0.0)
	arc 9 16 (-0.11664 0.28158 0.0)
	
	arc 19 24 (0.14079 0.05832 0.05)
	arc 24 29 (0.05832 0.14079 0.05)
	arc 30 31 (-0.14079 0.05832 0.05)
	arc 29 30 (-0.05832 0.14079 0.05)
	arc 20 23 (0.28158 0.11664 0.05)
	arc 23 28 (0.11664 0.28158 0.05)
	arc 35 32 (-0.28158 0.11664 0.05)
	arc 28 35 (-0.11664 0.28158 0.05)
);

boundary
(
    inlet
    {
        type patch;
        faces
        (
            (14 15 34 33)
	    (15 17 36 34)
        );
    }
    outlet
    {
        type patch;
        faces
        (
		(3 6 25 22)            
		(2 3 22 21)
        );
    }
    symmetry
    {
        type symmetry;
        faces
        (
            (1 2 21 20)
            (0 1 20 19)
            (13 12 31 32)
            (14 13 32 33)
        );
    }
    wall
    {
        type wall;
        faces
        (
            (0 5 24 19)
	    (5 10 29 24)
	    (10 11 30 29)
	    (11 12 31 30)	
        );
    }
    frontAndBack
    {
        type empty;
        faces
        (
            (4 3 2 1)
            (7 6 3 4)
            (5 4 1 0)
            (8 7 4 9)
            (9 4 5 10)
            (18 8 9 16)
	    (16 9 10 11)
            (16 11 12 13)
            (15 16 13 14)
	    (17 18 16 15)
            
	    (20 21 22 23)
            (19 20 24 23)
            (23 22 25 26)
            (24 23 28 29)
            (28 23 26 27)
            (28 27 37 35)
            (30 29 28 35)
            (32 31 30 35)
            (35 34 33 32)
            (37 36 34 35)
        );
    }
);

mergePatchPairs
(
);

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