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


vertices
(
    (0 -5 -20)		// vertex 0
    (0 -5 -1.76776695)	// vertex 1
    (0 -1.76776695 -1.76776695)	// vertex 2
    (0 -1.76776695 -20)	// vertex 3
    (1500 -5 -20)	// vertex 4
    (1500 -5 -1.76776695)	// vertex 5
    (1500 -1.76776695 -1.76776695)	// vertex 6
    (1500 -1.76776695 -20)	// vertex 7
    (0 -5 1.76776695)	// vertex 8
    (0 -5 20)	// vertex 9
    (0 -1.76776695 20)	// vertex 10
    (0 -1.76776695 1.76776695)// vertex 11
    (1500 -5 1.76776695) // vertex 12
    (1500 -5 20) //vertex 13
    (1500 -1.76776695 20) //vertex 14
    (1500 -1.76776695 1.76776695) // vertex 15
    (0 1.76776695 -20) //vertex 16
    (0 1.76776695 -1.76776695) //vertex 17
    (0 5 -1.76776695) //vertex 18
    (0 5 -20) //vertex 19
    (1500 1.76776695 -20) //vertex 20
    (1500 1.76776695 -1.76776695) //vertex 21
    (1500 5 -1.76776695) //vertex 22
    (1500 5 -20) //vertex 23
    (0 1.76776695 1.76776695) //vertex 24
    (0 1.76776695 20) //vertex 25
    (0 5 20) //vertex 26
    (0 5 1.76776695) //vertex 27
    (1500 1.76776695 1.76776695) //vertex 28
    (1500 1.76776695 20) //vertex 29
    (1500 5 20) //vertex 30
    (1500 5 1.76776695) //vertex 31
    
);
expX
(
	(0.125 40 1.64)
	(1.375 500 1)
);

blocks
(
     hex (9 10 14 13 8 11 15 12) (7 540 22) simpleGrading (2.78 $expX 7.445) // block 1
     
     hex (10 25 29 14 11 24 28 15) (5 540 22) simpleGrading (1 $expX 7.445) // block 2
     
     hex (25 26 30 29 24 27 31 28) (7 540 22) simpleGrading (0.35971223 $expX 7.445) // block 3
     
     hex (8 11 15 12 1 2 6 5) (7 540 4) simpleGrading (2.78 $expX 1) // block 4
   
     hex (11 24 28 15 2 17 21 6) (5 540 4) simpleGrading (1 $expX 1)	// block 5
     
     hex (24 27 31 28 17 18 22 21) (7 540 4) simpleGrading (0.35971223 $expX 1)	// block 6
     
     hex (1 2 6 5 0 3 7 4) (7 540 22) simpleGrading (2.78 $expX 0.134318334)	// block 7
     
     hex (2 17 21 6 3 16 20 7) (5 540 22) simpleGrading (1 $expX 0.134318334)	// block 8
     
     hex (17 18 22 21 16 19 23 20) (7 540 22) simpleGrading (0.35971223 $expX 0.134318334)	// block 9
 
);

edges
(
    arc 2 11 (0 -2.5 0)		// edge 1
    arc 11 24 (0 0 2.5)		// edge 2
    arc 24 17 (0 2.5 0)		// edge 3
    arc 17 2 (0 0 -2.5)		// edge 4
    /*arc 6 15 (1500 -2.5 0)	// edge 5
    arc 15 28 (1500 0 2.5)	// edge 6
    arc 28 21 (1500 2.5 0)	// edge 7
    arc 21 6 (1500 0 -2.5)	// edge 88*/ 

);

boundary
(
    inlet
    {
        type patch;
        faces
        (
            (2 11 24 17)
        
        );
    }
    outlet
    {
        type patch;
        faces
        (
            (5 4 7 6)
            (12 5 6 15)
            (13 12 15 14)
            (14 15 28 29)
            (15 6 21 28)
            (6 7 20 21)
            (21 20 23 22)
            (28 21 22 31)
            (29 28 31 30)
           
        );
    }
    walls
    {
        type wall;
        faces
        (    
        //inlet  wall
            (8 9 10 11)
            (10 25 24 11)
            (25 26 27 24)
            (24 27 18 17)
            (16 17 18 19)
            (3 2 17 16)
            (0 1 2 3)
            (1 8 11 2)
        //bottom wall
            (8 9 13 12)
            (1 8 12 5)
            (0 1 5 4)
        //top wall
            (19 18 22 23)
            (18 27 31 22)
            (27 26 30 31)
        //right wall
            (13 14 10 9)
            (10 14 29 25)
            (25 29 30 26)
        //left wall
            (0 3 7 4)
            (3 16 20 7)
            (16 19 23 20)
            
        );
    }
);

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

