mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
65 lines
1.3 KiB
C++
65 lines
1.3 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: dev |
|
|
| \\ / A nd | Web: www.OpenFOAM.com |
|
|
| \\/ 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 0.2)
|
|
( 1 0 0.2)
|
|
( 0 0.5 0.2)
|
|
( 1 0.5 0.2)
|
|
);
|
|
|
|
blocks
|
|
(
|
|
hex (0 1 3 2 4 5 7 6 ) (20 30 1) simpleGrading (1 1 1)
|
|
);
|
|
|
|
edges
|
|
(
|
|
);
|
|
|
|
patches
|
|
(
|
|
wall walls
|
|
(
|
|
(1 5 7 3)
|
|
(4 5 7 6)
|
|
(4 0 2 6)
|
|
(7 3 2 6)
|
|
(0 4 5 1)
|
|
)
|
|
wall filmWalls
|
|
(
|
|
(0 1 3 2)
|
|
)
|
|
);
|
|
|
|
mergePatchPairs
|
|
(
|
|
);
|
|
|
|
// ************************************************************************* //
|