/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2506 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // scale 1; vertices ( (0 0 -0.1) (1 0 -0.1) (1 2 -0.1) (0 2 -0.1) (0 0 0.1) (1 0 0.1) (1 2 0.1) (0 2 0.1) ); blocks ( hex (0 1 2 3 4 5 6 7) (10 16 1) simpleGrading (1 5 1) ); boundary ( walls { type wall; faces ( (3 7 6 2) (0 4 7 3) (2 6 5 1) ); } bottom { type mappedWall; // What to sample: sampleMode nearestPatchFace; // Simulation world to sample sampleWorld solid; // Region to sample sampleRegion region0; // If sampleMode is nearestPatchFace : patch to find faces of samplePatch top; // Use database to get data from (one-way or loose coupling in // combination with functionObject) sampleDatabase true; faces ( (1 5 4 0) ); } frontAndBack { type empty; faces ( (0 3 2 1) (4 5 6 7) ); } ); // ************************************************************************* //