/*--------------------------------*- 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   1;

vertices		//list of vertices defining the geometry
(
    (-5 0 0)		//This is point 0. Not 1!
    (10 0 0)		//This is point 1
    (10 4 0)		//point 2
    (-5 4 0)		//point 3
    (-5 0 1)		//point 4
    (10 0 1)		//point 5
    (10 4 1) 		//point 6
    (-5 4 1)		//point 7
);

blocks			//defining the block which the geometry is made out of
(
    hex (0 1 2 3 4 5 6 7) (100 40 1) simpleGrading (1 1 1)  	
//this means that the only block in the geometry is defined by vertices (0 1 2 ...), there are 100, 40 
//and 1 cells in the x, y, and z direction and that in each direction all the cells have the same length 
);

edges
(
);

patches
    // patches are used to allocate the different Boundary Conditions
(
    patch inlet
    (
        (3 7 4 0)
    )
    patch outlet
    (
        (2 1 5 6)
    )
    wall lowerWall
    (
        (0 4 5 1)
    )
       
    patch atmosphere
    (
        (2 6 7 3)
    )
);

mergePatchPairs
(
);

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