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

convertToMeters 0.01;

vertices
(
    (0 0 0)		//0
    (885 0 0)		//1
    (885 640 0)		//2
    (0 640 0)		//3

    (0 0 305)		//4
    (885 0 305)		//5
    (885 640 305)	//6
    (0 640 305)		//7
);

blocks
(
    hex (0 1 2 3 4 5 6 7)

    // Option 1: For "Maximum yPlus < 50" and "Average yPlus < 5"
    (189 140 073)
    simpleGrading
    (
	( (20 10 10)	(845 169 1)	(20 10 0.1) )
	( (20 10 10)	(600 120 1)	(20 10 0.1) )
	( (20 10 10)	(265 053 1)	(20 10 0.1) )
    )

/* ==============================================================================

    // Option 1: For "Maximum yPlus < 50" and "Average yPlus < 5"
    (189 140 073)
    simpleGrading
    (
	( (20 10 10)	(845 169 1)	(20 10 0.1) )
	( (20 10 10)	(600 120 1)	(20 10 0.1) )
	( (20 10 10)	(265 053 1)	(20 10 0.1) )
    )

    // Option 2: For "Maximum yPlus < 100" and "Average yPlus < 10"
    (189 140 073)
    simpleGrading
    (
	( (2 2 1)	(23 9 5)	(835 167 1)	(23 9 0.2)	(2 2 1) )
	( (2 2 1)	(23 9 5)	(590 118 1)	(23 9 0.2)	(2 2 1)	)
	( (2 2 1)	(23 9 5)	(255 051 1)	(23 9 0.2)	(2 2 1)	)
    )

============================================================================== */
);

defaultPatch
{
    name walls;
    type wall;
}

boundary
(
    ceiling
    {
        type wall;
        faces
        (
            (4 5 6 7)
        );
    }

    floor
    {
        type wall;
        faces
        (
            (0 1 2 3)
        );
    }
);

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