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

convertToMeters 1;

convertToMeters 1;

vertices
(
   ( 0 0 0)//0
   (0.05 0 0 )//1
   (0.05 0.1 0)//2
   (0 0.1 0)//3
   (0.0240427 0.04904 0)//4
   (0.0259519 0.04904 0)//5
   (0.0259519 0.050942 0)//6
   (0.0240427 0.050942 0)//7
   
   ( 0 0 1)//8
   (0.05 0 1 )//9
   (0.05 0.1 1)//10
   (0 0.1 1)//11
   (0.0240427 0.04904 1)//12
   (0.0259519 0.04904 1)//13
   (0.0259519 0.050942 1)//14
   (0.0240427 0.050942 1)//15
   
   (0.01667 0.0333405 0)//16
   (0.0337 0.0333405 0)//17
   (0.0337 0.0666735 0)//18
   (0.01667 0.0666735 0)//19
   							//0.0505125
   							//0.0244794
   							//0.0255152
   (0.01667 0.0333405 1)//20
   (0.0337 0.0333405 1)//21
   (0.0337 0.0666735 1)///22
   (0.01667 0.0666735 1)//23
   
   (0.0244794 0.0505125 0)//24
   (0.0255152 0.0505125 0)//25
   (0.0255152 0.0494767 0)//26
   (0.0244794 0.0494767 0)//27
   
   (0.0244794 0.0505125 1)//28
   (0.0255152 0.0505125 1)//29
   (0.0255152 0.0494767 1)//30
   (0.0244794 0.0494767 1)//31
   

);

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

edges
(
	arc 5 4 (0.025 0.0486446 0)
	arc 12 13 (0.025 0.0486446 1)
	arc 5 6 (0.026347 0.05 0)
	arc 13 14(0.026347 0.05 1)
	arc 6 7 (0.025 0.0513446 0)
	arc 14 15(0.025 0.0513446 1)
	arc 7 4 (0.0236473 0.05 0)
	arc 15 12 (0.0236473 0.05 1)
	
	arc 27 26 (0.025 0.0494266 0)
	arc 31 30 (0.025 0.0494266 1)
	arc 26 25 (0.0255653 0.05 0)
	arc 30 29 (0.0255653 0.05 1)
	arc 25 24 (0.025 0.0505626 0)
	arc 29 28 (0.025 0.0505626 1)
	arc 24 27 (0.0244293 0.05 0)
	arc 28 31 (0.0244293 0.05 1)

);

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


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