/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // #include "variableDef"; convertToMeters 0.001; // Default unit ot length is [m]. 0.001 means the coordinates are specified // in [mm] .'. 0.001=1/1000 // Axi_symmetric diffuser vertices ( ( $Xup $Yul $Zr) //Vertex-0 ( 0 $Yul $Zr) //Vertex-1 ( $Ld $Ydl $Zr) //Vertex-2 ( $Xo $Ydl $Zr) //Vertex-3 ( $Xo $Yd $Zr) //Vertex-4 ( $Ld $Yd $Zr) //Vertex-5 ( 0 $Yu $Zr) //Vertex-6 ( $Xup $Yu $Zr) //Vertex-7 // ( $Xup $Yul $Zf) //Vertex-8 ( 0 $Yul $Zf) //Vertex-9 ( $Ld $Ydl $Zf) //Vertex-10 ( $Xo $Ydl $Zf) //Vertex-11 ( $Xo $Yd $Zf) //Vertex-12 ( $Ld $Yd $Zf) //Vertex-13 ( 0 $Yu $Zf) //Vertex-14 ( $Xup $Yu $Zf) //Vertex-15 ); blocks ( hex (0 1 6 7 8 9 14 15) (25 20 1) simpleGrading (1 1 1) hex (1 2 5 6 9 10 13 14) (50 20 1) simpleGrading (1 1 1) hex (2 3 4 5 10 11 12 13) (400 20 1) simpleGrading (1 1 1) ); edges (); patches // Name of the parts or zones and type (wall, periodic, symmetry) ( patch inlet ( (0 7 15 8) ) patch outlet ( (3 4 12 11) ) empty frontAndBack ( (0 1 6 7) (1 2 5 6) (2 3 4 5) (8 9 14 15) (9 10 13 14) (10 11 12 13) ) wall lower ( (0 1 9 8) // Face-1 (1 2 10 9) // Face-2 (2 3 11 10) // Face-3 ) wall upper ( (7 6 14 15) (6 5 13 14) (5 4 12 13) ) ); mergePatchPairs (); // ************************************************************************* //