openfoam/tutorials/multiphase/driftFluxFoam/RAS/dahl/system/blockMeshDict
Mark Olesen c2a0663cc7 TUT: use general 'scale' instead of 'convertToMeters' in blockMeshDict
- although this has been supported for many years, the tutorials
  continued to use "convertToMeters" entry, which is specific to blockMesh.
  The "scale" is more consistent with other dictionaries.

ENH:
- ignore "scale 0;" (treat as no scaling) for blockMeshDict,
  consistent with use elsewhere.
2017-08-03 06:38:30 +02:00

106 lines
1.9 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: plus |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
scale 1;
vertices
(
(0 0 -0.1)
(8.65 0 -0.1)
(8.65 0.1 -0.1)
(0 0.1 -0.1)
(8.65 1 -0.1)
(0 1 -0.1)
(0 0 0.1)
(8.65 0 0.1)
(8.65 0.1 0.1)
(0 0.1 0.1)
(8.65 1 0.1)
(0 1 0.1)
);
blocks
(
hex (0 1 2 3 6 7 8 9) (200 4 1) simpleGrading (1 1 1)
hex (3 2 4 5 9 8 10 11) (200 36 1) simpleGrading (1 1 1)
);
edges
(
);
boundary
(
inlet
{
type patch;
faces
(
(0 6 9 3)
(3 9 11 5)
);
}
outlet
{
type patch;
faces
(
(1 2 8 7)
);
}
bottomWall
{
type wall;
faces
(
(0 1 7 6)
);
}
endWall
{
type wall;
faces
(
(2 4 10 8)
);
}
top
{
type patch;
faces
(
(5 11 10 4)
);
}
frontAndBack
{
type empty;
faces
(
(0 3 2 1)
(6 7 8 9)
(3 5 4 2)
(9 8 10 11)
);
}
);
mergePatchPairs
(
);
// ************************************************************************* //