74 lines
1.3 KiB
C++
74 lines
1.3 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object blockMeshDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
convertToMeters 0.5;
|
|
|
|
vertices
|
|
(
|
|
(-1 -1 -0.1)
|
|
( 1 -1 -0.1)
|
|
(-1 1 -0.1)
|
|
( 1 1 -0.1)
|
|
|
|
(-1 -1 0.1)
|
|
( 1 -1 0.1)
|
|
(-1 1 0.1)
|
|
( 1 1 0.1)
|
|
);
|
|
|
|
blocks
|
|
(
|
|
hex (0 1 3 2 4 5 7 6) (1 1 1) simpleGrading (1 1 1)
|
|
);
|
|
|
|
defaultPatch
|
|
{
|
|
name frontAndBack;
|
|
type empty;
|
|
}
|
|
|
|
boundary
|
|
(
|
|
inlet
|
|
{
|
|
type patch;
|
|
faces
|
|
(
|
|
(0 2 6 4)
|
|
);
|
|
}
|
|
outlet
|
|
{
|
|
type patch;
|
|
faces
|
|
(
|
|
(1 3 7 5)
|
|
);
|
|
}
|
|
walls
|
|
{
|
|
type wall;
|
|
faces
|
|
(
|
|
(0 1 5 4)
|
|
(2 3 7 6)
|
|
);
|
|
}
|
|
);
|
|
|
|
|
|
// ************************************************************************* //
|