/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.0.1 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.1;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
convertToMeters 1.0;
vertices
(
// h=0.0
// 0---3
( 0.0 0.0 0.0)
( 150.0 0.0 0.0)
( 190.0 0.0 0.0)
( 220.0 0.0 0.0)
// 4---7
( 0.0 150.0 0.0)
( 150.0 150.0 0.0)
( 190.0 150.0 0.0)
( 220.0 150.0 0.0)
// 8---11
( 0.0 200.0 0.0)
( 150.0 200.0 0.0)
( 190.0 200.0 0.0)
( 220.0 200.0 0.0)
// 12---15
( 0.0 250.0 0.0)
( 150.0 250.0 0.0)
( 190.0 250.0 0.0)
( 220.0 250.0 0.0)
// h=100.0
// 16---19
( 0.0 0.0 100.0)
( 150.0 0.0 100.0)
( 190.0 0.0 100.0)
( 220.0 0.0 100.0)
// 20---23
( 0.0 150.0 100.0)
( 150.0 150.0 100.0)
( 190.0 150.0 100.0)
( 220.0 150.0 100.0)
// 24---27
( 0.0 200.0 100.0)
( 150.0 200.0 100.0)
( 190.0 200.0 100.0)
( 220.0 200.0 100.0)
// 28---31
( 0.0 250.0 100.0)
( 150.0 250.0 100.0)
( 190.0 250.0 100.0)
( 220.0 250.0 100.0)
);
blocks
(
// 0
hex (0 1 5 4 16 17 21 20 )(10 10 10) simpleGrading (1.0 1.0 1.0)
hex (1 2 6 5 17 18 22 21 )(10 10 10) simpleGrading (1.0 1.0 1.0)
hex (2 3 7 6 18 19 23 22 )(10 10 10) simpleGrading (1.0 1.0 1.0)
hex (4 5 9 8 20 21 25 24 )(10 10 10) simpleGrading (1.0 1.0 1.0)
//hex (5 6 10 9 21 22 26 25 )(10 10 10) simpleGrading (1.0 1.0 1.0)
hex (6 7 11 10 22 23 27 26 )(10 10 10) simpleGrading (1.0 1.0 1.0)
hex (8 9 13 12 24 25 29 28 )(10 10 10) simpleGrading (1.0 1.0 1.0)
hex (9 10 14 13 25 26 30 29 )(10 10 10) simpleGrading (1.0 1.0 1.0)
hex (10 11 15 14 26 27 31 30 )(10 10 10) simpleGrading (1.0 1.0 1.0)
);
edges
(
);
boundary
(
west
{
type patch;
faces
(
(0 16 20 4 )
(4 20 24 8)
(8 24 28 12)
);
}
south
{
type patch;
faces
(
(0 1 17 16)
(1 2 18 17)
(2 3 19 18)
);
}
north
{
type patch;
faces
(
(12 28 29 13)
(13 29 30 14)
(14 30 31 15)
);
}
top
{
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)
);
}
bottom
{
type wall;
faces
(
(0 4 5 1)
(1 5 6 2)
(2 6 7 3)
(4 8 9 5)
// (5 9 10 6)
(6 10 11 7)
(8 12 13 9)
(9 13 14 10)
(10 14 15 11)
);
}
east
{
type patch;
faces
(
(3 7 23 19)
(7 11 27 23)
(11 15 31 27)
);
}
box
{
type wall;
faces
(
(5 9 25 21)
(5 21 22 6)
(6 22 26 10)
(10 26 25 9)
);
}
);
mergePatchPairs
(
);
// ************************************************************************* //
ほんでもって、こんな感じ。
格子幅とか関係なしに face 面のとりかたを確認したかったので。
0 件のコメント:
コメントを投稿