/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: dev \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // convertToMeters 1; vertices ( (0 0 0) (10 0 0) (10 2 0) (0 2 0) (0 0 2) (10 0 2) (10 2 2) (0 2 2)); blocks ( hex (0 1 2 3 4 5 6 7) (200 40 1) simpleGrading (1 1 1) ); boundary ( left { type wall; faces ( (0 4 7 3) ); } right { type wall; faces ( (1 5 6 2) ); } bottom { type wall; faces ( (0 1 5 4) ); } top { type wall; faces ( (3 2 6 7) ); } frontBack { type empty; faces ( (0 1 2 3) (4 5 6 7) ); } ); // ************************************************************************* //