/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | foam-extend: Open Source CFD | | \\ / O peration | Version: 4.1 | | \\ / A nd | Web: http://www.foam-extend.org | | \\/ M anipulation | For copyright notice see file Copyright | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // ------!!!!!! run "m4 blockMeshDict.m4 > blockMeshDict" !!!!!!--------- // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // General m4 macros // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // User-defined parameters convertToMeters 1; // a straddling angle in ° // arad angle in rad with the degToRad-function vertices ( (0 0 0) // Vertex Nr. 0 (0.0599537421744434 0 -0.00235558894554412) // Vertex Nr. 1 (0.0599537421744434 0.15 -0.00235558894554412) // Vertex Nr. 2 (0 0.15 0) // Vertex Nr. 3 (0.119907484348887 0 -0.00471117789108823) // Vertex Nr. 4 (0.119907484348887 0.15 -0.00471117789108823) // Vertex Nr. 5 (0.0599537421744434 0.18 -0.00235558894554412) // Vertex Nr. 6 (0.119907484348887 0.18 -0.00471117789108823) // Vertex Nr. 7 (0.0599537421744434 0 0.00235558894554412) // Vertex Nr. 8 (0.0599537421744434 0.15 0.00235558894554412) // Vertex Nr. 9 (0.119907484348887 0 0.00471117789108823) // Vertex Nr. 10 (0.119907484348887 0.15 0.00471117789108823) // Vertex Nr. 11 (0.0599537421744434 0.18 0.00235558894554412) // Vertex Nr. 12 (0.119907484348887 0.18 0.00471117789108823) // Vertex Nr. 13 ); edges ( ); blocks ( hex (0 1 2 3 0 8 9 3) (60 180 1) simpleGrading (0.2 0.5 1) hex (1 4 5 2 8 10 11 9) (72 180 1) simpleGrading (4 0.5 1) hex (2 5 7 6 9 11 13 12) (72 33 1) simpleGrading (4 2.5 1) ); boundary ( Transducer { type wall; faces ( (2 3 3 9) ); } TransducerLateralWall { type wall; faces ( (6 2 9 12) ); } FreeSurface { type patch; faces ( (7 6 12 13) ); } Walls { type wall; faces ( (1 0 0 8) (4 1 8 10) (4 5 11 10) (5 7 13 11) ); } Axis { type empty; faces ( (0 3 3 0) ); } Front { type wedge; faces ( (8 9 3 0) (8 10 11 9) (11 13 12 9) ); } Back { type wedge; faces ( (0 3 2 1) (1 2 5 4) (2 6 7 5) ); } ); mergePatchPairs ( ); // ************************************************************************* //