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

convertToMeters 1;

vertices
(
    (0 0 0)
	(0 0.04995 0.002181)
	(0 0.04995 -0.002181)
    (3.5 0 0)
    (3.5 0.04995 0.002181)
	(3.5 0.04995 -0.002181)
	(5 0 0)
    (5 0.04995 0.002181)
	(5 0.04995 -0.002181)
);

blocks
(
    hex (0 3 5 2 0 3 4 1) (350 10 1) simpleGrading (1 0.5 1)
	hex (3 6 8 5 3 6 7 4) (150 10 1) simpleGrading (1 0.5 1)
);

edges
(
);

boundary
(
    inlet
    {
        type 	patch;
        faces	((0 1 2 0));
    }

    outlet
    {
        type 	patch;
        faces	((6 8 7 6));
    }

    pipe_adiabatic
    {
        type 	wall;
        faces	((1 4 5 2));
    }
	
	pipe_heated
    {
        type 	wall;
        faces	((4 7 8 5));
    }

    back
    {
        type 	wedge;
        faces	
		(
			(0 2 5 3)
			(3 5 8 6)
		);
    }

    front
    {
        type 	wedge;
        faces	
		(
			(0 3 4 1)
			(3 6 7 4)
		);
    }
    
);

mergePatchPairs
(
);

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