/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } // Study domain xmin 0; xmax 5; ymin 0; ymax 15; zmin 0; zmax 10; nx 5; ny 15; nz 10; vertices ( ( $xmin $ymin $zmin) // bottom ( $xmax $ymin $zmin) ( $xmax $ymax $zmin) ( $xmin $ymax $zmin) ( $xmin $ymin $zmax) // bottom ( $xmax $ymin $zmax) ( $xmax $ymax $zmax) ( $xmin $ymax $zmax) ); blocks ( hex (0 1 2 3 4 5 6 7) ($nx $ny $nz) simpleGrading (1 1 1) ); boundary ( ground { type wall; faces ( (0 1 2 3) ); } outlet { type patch; faces ( (4 5 6 7) (3 2 6 7) (0 1 5 4) (0 3 7 4) (1 2 6 5) ); } );