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

scale   1;

weirHeight	0.386;

vertices
(
	(0 0 0)
	(0 $weirHeight 0)
	(0 1 0)
	(2.5 1 0)
	(2.6 1 0)
	(5.1 1 0)
	(5.1 $weirHeight 0)
	(5.1 0 0)
	(2.5 0 0)
	(2.5 $weirHeight 0)
	(2.6 $weirHeight 0)
	(2.6 0 0)

	(0 0 0.1)
	(0 $weirHeight 0.1)
	(0 1 0.1)
	(2.5 1 0.1)
	(2.6 1 0.1)
	(5.1 1 0.1)
	(5.1 $weirHeight 0.1)
	(5.1 0 0.1)
	(2.5 0 0.1)
	(2.5 $weirHeight 0.1)
	(2.6 $weirHeight 0.1)
	(2.6 0 0.1)
);

blocks
(
    hex (0 8 9 1 12 20 21 13) (120 20 1) simpleGrading (1 1 1)
    hex (1 9 3 2 13 21 15 14) (120 40 1) simpleGrading (1 1 1)
    hex (9 10 4 3 21 22 16 15) (5 40 1) simpleGrading (1 1 1)
    hex (10 6 5 4 22 18 17 16) (120 40 1) simpleGrading (1 1 1)
    hex (11 7 6 10 23 19 18 22) (120 20 1) simpleGrading (1 1 1)
);

edges
(
);

patches
(
    patch inlet
    (
        (0 1 13 12)
        (1 2 14 13)
    )
    patch outlet
    (
        (6 7 19 18)
        (5 6 18 17)
    )
    wall weir
    (
		(9 8 20 21)
		(10 9 21 22)
		(11 10 22 23)
    )
    wall walls
    (
        (0 12 20 8)
        (11 23 19 7)
    )
    patch atmosphere
    (
        (2 3 15 14)
        (3 4 16 15)
        (4 5 17 16)
    )
	empty frontAndBack
	(
		(0 8 9 1)
		(1 9 3 2)
		(9 10 4 3)
		(10 6 5 4)
		(11 7 6 10)
		(12 20 21 13)
		(13 21 15 14)
		(21 22 16 15)
		(22 18 17 16)
		(23 19 18 22)
	)

);

mergePatchPairs
(
);

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