108 lines
2.1 KiB
C++
108 lines
2.1 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: 1.4.1 |
|
|
| \\ / A nd | Web: http://www.openfoam.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
|
|
root "/opt/OpenFOAM/jovani-1.4.1/run/tutorials/viscoelasticFluidFoam";
|
|
case "DCPP";
|
|
instance "constant";
|
|
local "polyMesh";
|
|
|
|
class dictionary;
|
|
object blockMeshDict;
|
|
}
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
|
|
convertToMeters 0.001;
|
|
|
|
vertices
|
|
(
|
|
(0 0 0)
|
|
(80 0 0)
|
|
(0 0.5 0)
|
|
(80 0.5 0)
|
|
(0 1.275 0)
|
|
(80 1.275 0)
|
|
(0 2.05 0)
|
|
(80 2.05 0)
|
|
(160 0 0)
|
|
(160 0.5 0)
|
|
(0 0 1)
|
|
(80 0 1)
|
|
(0 0.5 1)
|
|
(80 0.5 1)
|
|
(0 1.275 1)
|
|
(80 1.275 1)
|
|
(0 2.05 1)
|
|
(80 2.05 1)
|
|
(160 0 1)
|
|
(160 0.5 1)
|
|
);
|
|
|
|
blocks
|
|
(
|
|
|
|
hex (0 1 3 2 10 11 13 12) (150 30 1) simpleGrading (0.002 0.3 1)
|
|
hex (2 3 5 4 12 13 15 14) (150 45 1) simpleGrading (0.002 3.333 1)
|
|
hex (4 5 7 6 14 15 17 16) (150 45 1) simpleGrading (0.002 0.3 1)
|
|
hex (1 8 9 3 11 18 19 13) (150 30 1) simpleGrading (500 0.3 1)
|
|
|
|
);
|
|
|
|
edges
|
|
(
|
|
);
|
|
|
|
patches
|
|
(
|
|
patch inlet
|
|
(
|
|
(0 10 12 2)
|
|
(2 12 14 4)
|
|
(4 14 16 6)
|
|
)
|
|
wall fixedWalls
|
|
(
|
|
(6 16 17 7)
|
|
(5 7 17 15)
|
|
(3 5 15 13)
|
|
(3 13 19 9)
|
|
)
|
|
patch outlet
|
|
(
|
|
(8 9 19 18)
|
|
)
|
|
symmetryPlane simetry
|
|
(
|
|
(0 1 11 10)
|
|
(1 8 18 11)
|
|
)
|
|
empty frontAndBack
|
|
(
|
|
(0 2 3 1)
|
|
(2 4 5 3)
|
|
(4 6 7 5)
|
|
(1 3 9 8)
|
|
(10 11 13 12)
|
|
(12 13 15 14)
|
|
(14 15 17 16)
|
|
(11 18 19 13)
|
|
)
|
|
);
|
|
|
|
mergePatchPairs
|
|
(
|
|
);
|
|
|
|
|
|
// ************************************************************************* //
|