OpenFOAM-4.x/tutorials/lagrangian/reactingParcelFilmFoam/splashPanel/constant/polyMesh/blockMeshDict
2014-12-10 22:40:10 +00:00

72 lines
1.4 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant/polyMesh";
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
convertToMeters 0.1;
vertices
(
//back
( 0 0 0)
( 1 0 0)
( 0 0.5 0)
( 1 0.5 0)
// front
( 0 0 1)
( 1 0 1)
( 0 0.5 1)
( 1 0.5 1)
);
blocks
(
hex (0 1 3 2 4 5 7 6 ) (20 10 20) simpleGrading (1 1 1)
);
edges
(
);
boundary
(
sides
{
type patch;
faces
(
(1 5 7 3)
(4 5 7 6)
(4 0 2 6)
(7 3 2 6)
(0 4 5 1)
);
}
filmWalls
{
type wall;
faces
(
(0 1 3 2)
);
}
);
mergePatchPairs
(
);
// ************************************************************************* //