2010-11-25 13:16:12 +00:00
|
|
|
/*--------------------------------*- C++ -*----------------------------------*\
|
|
|
|
| ========= | |
|
2013-12-11 16:09:41 +00:00
|
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
2016-06-20 15:00:40 +00:00
|
|
|
| \\ / O peration | Version: 4.0 |
|
2015-05-17 13:55:59 +00:00
|
|
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
2010-11-25 13:16:12 +00:00
|
|
|
| \\/ M anipulation | |
|
|
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
FoamFile
|
|
|
|
{
|
|
|
|
version 2.0;
|
|
|
|
format ascii;
|
|
|
|
class dictionary;
|
|
|
|
object blockMeshDict;
|
|
|
|
}
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
|
|
|
|
convertToMeters 0.1;
|
|
|
|
|
2013-07-18 01:02:34 +00:00
|
|
|
vertices
|
2010-11-25 13:16:12 +00:00
|
|
|
(
|
|
|
|
(0 0 0)
|
|
|
|
(0.15 0 0)
|
|
|
|
(0.4 0 0)
|
|
|
|
(0.5 0 0)
|
|
|
|
|
|
|
|
(0 0.15 0)
|
|
|
|
(0.15 0.15 0)
|
|
|
|
(0.4 0.15 0)
|
|
|
|
(0.5 0.15 0)
|
|
|
|
|
|
|
|
(0 0.4 0)
|
|
|
|
(0.15 0.4 0)
|
|
|
|
(0.4 0.4 0)
|
|
|
|
(0.5 0.4 0)
|
|
|
|
|
|
|
|
(0 0.5 0)
|
|
|
|
(0.15 0.5 0)
|
|
|
|
(0.4 0.5 0)
|
|
|
|
(0.5 0.5 0)
|
|
|
|
|
|
|
|
//
|
|
|
|
(0 0 0.3)
|
|
|
|
(0.15 0 0.3)
|
|
|
|
(0.4 0 0.3)
|
|
|
|
(0.5 0 0.3)
|
|
|
|
|
|
|
|
(0 0.15 0.3)
|
|
|
|
(0.15 0.15 0.3)
|
|
|
|
(0.4 0.15 0.3)
|
|
|
|
(0.5 0.15 0.3)
|
|
|
|
|
|
|
|
(0 0.4 0.3)
|
|
|
|
(0.15 0.4 0.3)
|
|
|
|
(0.4 0.4 0.3)
|
|
|
|
(0.5 0.4 0.3)
|
|
|
|
|
|
|
|
(0 0.5 0.3)
|
|
|
|
(0.15 0.5 0.3)
|
|
|
|
(0.4 0.5 0.3)
|
|
|
|
(0.5 0.5 0.3)
|
|
|
|
);
|
|
|
|
|
|
|
|
blocks
|
|
|
|
(
|
|
|
|
hex (0 1 5 4 16 17 21 20) (12 12 24) simpleGrading (1 1 0.5)
|
|
|
|
hex (1 2 6 5 17 18 22 21) (20 12 24) simpleGrading (1 1 0.5)
|
|
|
|
hex (2 3 7 6 18 19 23 22) (8 12 24) simpleGrading (1 1 0.5)
|
|
|
|
hex (4 5 9 8 20 21 25 24) (12 20 24) simpleGrading (1 1 0.5)
|
|
|
|
hex (5 6 10 9 21 22 26 25) (20 20 24) simpleGrading (1 1 0.5)
|
|
|
|
hex (6 7 11 10 22 23 27 26) (8 20 24) simpleGrading (1 1 0.5)
|
|
|
|
hex (8 9 13 12 24 25 29 28) (12 8 24) simpleGrading (1 1 0.5)
|
|
|
|
hex (9 10 14 13 25 26 30 29) (20 8 24) simpleGrading (1 1 0.5)
|
|
|
|
hex (10 11 15 14 26 27 31 30) (8 8 24) simpleGrading (1 1 0.5)
|
|
|
|
);
|
|
|
|
|
2013-07-18 01:02:34 +00:00
|
|
|
edges
|
2010-11-25 13:16:12 +00:00
|
|
|
(
|
|
|
|
);
|
|
|
|
|
2014-05-30 14:31:42 +00:00
|
|
|
boundary
|
2010-11-25 13:16:12 +00:00
|
|
|
(
|
2014-05-30 14:31:42 +00:00
|
|
|
freeSurface
|
|
|
|
{
|
|
|
|
type patch;
|
|
|
|
faces
|
|
|
|
(
|
|
|
|
(16 17 21 20)
|
|
|
|
(17 18 22 21)
|
|
|
|
(18 19 23 22)
|
|
|
|
(20 21 25 24)
|
|
|
|
(21 22 26 25)
|
|
|
|
(22 23 27 26)
|
|
|
|
(24 25 29 28)
|
|
|
|
(25 26 30 29)
|
|
|
|
(26 27 31 30)
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
inlet
|
|
|
|
{
|
|
|
|
type patch;
|
|
|
|
faces
|
|
|
|
(
|
|
|
|
(4 5 1 0)
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
outlet
|
|
|
|
{
|
|
|
|
type patch;
|
|
|
|
faces
|
|
|
|
(
|
|
|
|
(14 15 11 10)
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
bottom
|
|
|
|
{
|
|
|
|
type wall;
|
|
|
|
faces
|
|
|
|
(
|
|
|
|
(5 6 2 1)
|
|
|
|
(6 7 3 2)
|
|
|
|
(8 9 5 4)
|
|
|
|
(9 10 6 5)
|
|
|
|
(10 11 7 6)
|
|
|
|
(12 13 9 8)
|
|
|
|
(13 14 10 9)
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
side-1
|
|
|
|
{
|
|
|
|
type wall;
|
|
|
|
faces
|
|
|
|
(
|
|
|
|
(3 7 23 19)
|
|
|
|
(7 11 27 23)
|
|
|
|
(11 15 31 27)
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
side-2
|
|
|
|
{
|
|
|
|
type wall;
|
|
|
|
faces
|
|
|
|
(
|
|
|
|
(15 14 30 31)
|
|
|
|
(14 13 29 30)
|
|
|
|
(13 12 28 29)
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
symm-1
|
|
|
|
{
|
|
|
|
type symmetryPlane;
|
|
|
|
faces
|
|
|
|
(
|
|
|
|
(0 1 17 16)
|
|
|
|
(1 2 18 17)
|
|
|
|
(2 3 19 18)
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
symm-2
|
|
|
|
{
|
|
|
|
type symmetryPlane;
|
|
|
|
faces
|
|
|
|
(
|
|
|
|
(12 8 24 28)
|
|
|
|
(8 4 20 24)
|
|
|
|
(4 0 16 20)
|
|
|
|
);
|
|
|
|
}
|
2010-11-25 13:16:12 +00:00
|
|
|
);
|
|
|
|
|
2013-07-18 01:02:34 +00:00
|
|
|
mergePatchPairs
|
2010-11-25 13:16:12 +00:00
|
|
|
(
|
|
|
|
);
|
|
|
|
|
2016-06-21 12:50:08 +00:00
|
|
|
|
2010-11-25 13:16:12 +00:00
|
|
|
// ************************************************************************* //
|