mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
and replaced interDyMFoam with a script which reports this change. The interDyMFoam tutorials have been moved into the interFoam directory. This change is one of a set of developments to merge dynamic mesh functionality into the standard solvers to improve consistency, usability, flexibility and maintainability of these solvers. Henry G. Weller CFD Direct Ltd.
149 lines
2.9 KiB
C++
149 lines
2.9 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 "system";
|
|
object blockMeshDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
convertToMeters 1;
|
|
|
|
vertices
|
|
(
|
|
(-20 -10 -10)
|
|
(10 -10 -10)
|
|
(10 0 -10)
|
|
(-20 0 -10)
|
|
|
|
(-20 -10 -1.112)
|
|
(10 -10 -1.112)
|
|
(10 0 -1.112)
|
|
(-20 0 -1.112)
|
|
|
|
(-20 -10 0.188)
|
|
(10 -10 0.188)
|
|
(10 0 0.188)
|
|
(-20 0 0.188)
|
|
|
|
(-20 -10 0.244)
|
|
(10 -10 0.244)
|
|
(10 0 0.244)
|
|
(-20 0 0.244)
|
|
|
|
(-20 -10 0.3)
|
|
(10 -10 0.3)
|
|
(10 0 0.3)
|
|
(-20 0 0.3)
|
|
|
|
(-20 -10 1.6)
|
|
(10 -10 1.6)
|
|
(10 0 1.6)
|
|
(-20 0 1.6)
|
|
|
|
(-20 -10 4)
|
|
(10 -10 4)
|
|
(10 0 4)
|
|
(-20 0 4)
|
|
);
|
|
|
|
blocks
|
|
(
|
|
hex (0 1 2 3 4 5 6 7) (30 10 30) simpleGrading (1 1 0.05)
|
|
hex (4 5 6 7 8 9 10 11) (30 10 40) simpleGrading (1 1 1)
|
|
hex (8 9 10 11 12 13 14 15) (30 10 4) simpleGrading (1 1 1)
|
|
hex (12 13 14 15 16 17 18 19) (30 10 4) simpleGrading (1 1 1)
|
|
hex (16 17 18 19 20 21 22 23) (30 10 40) simpleGrading (1 1 1)
|
|
hex (20 21 22 23 24 25 26 27) (30 10 10) simpleGrading (1 1 20)
|
|
);
|
|
|
|
edges
|
|
(
|
|
);
|
|
|
|
boundary
|
|
(
|
|
atmosphere
|
|
{
|
|
type patch;
|
|
faces
|
|
(
|
|
(24 25 26 27)
|
|
);
|
|
}
|
|
inlet
|
|
{
|
|
type patch;
|
|
faces
|
|
(
|
|
(1 2 6 5)
|
|
(5 6 10 9)
|
|
(9 10 14 13)
|
|
(13 14 18 17)
|
|
(17 18 22 21)
|
|
(21 22 26 25)
|
|
);
|
|
}
|
|
outlet
|
|
{
|
|
type patch;
|
|
faces
|
|
(
|
|
(0 4 7 3)
|
|
(4 8 11 7)
|
|
(8 12 15 11)
|
|
(12 16 19 15)
|
|
(16 20 23 19)
|
|
(20 24 27 23)
|
|
);
|
|
}
|
|
bottom
|
|
{
|
|
type symmetryPlane;
|
|
faces
|
|
(
|
|
(0 3 2 1)
|
|
);
|
|
}
|
|
side
|
|
{
|
|
type symmetryPlane;
|
|
faces
|
|
(
|
|
(0 1 5 4)
|
|
(4 5 9 8)
|
|
(8 9 13 12)
|
|
(12 13 17 16)
|
|
(16 17 21 20)
|
|
(20 21 25 24)
|
|
);
|
|
}
|
|
midPlane
|
|
{
|
|
type symmetryPlane;
|
|
faces
|
|
(
|
|
(3 7 6 2)
|
|
(7 11 10 6)
|
|
(11 15 14 10)
|
|
(15 19 18 14)
|
|
(19 23 22 18)
|
|
(23 27 26 22)
|
|
);
|
|
}
|
|
);
|
|
|
|
mergePatchPairs
|
|
(
|
|
);
|
|
|
|
// ************************************************************************* //
|