File: blockMeshDict

package info (click to toggle)
openfoam 4.1%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 163,028 kB
  • ctags: 58,990
  • sloc: cpp: 830,760; sh: 10,227; ansic: 8,215; xml: 745; lex: 437; awk: 194; sed: 91; makefile: 77; python: 18
file content (181 lines) | stat: -rw-r--r-- 5,270 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  4.x                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 0.01;

vertices
(
    ( 0                -3                 -0.5)
    ( 2                -3                 -0.5)
    ( 0                -3.727940468532405 -0.5)
    ( 0.34202014332567 -4.667633089318313 -0.5)
    ( 2.34202014332567 -3.939692620785910 -0.5)
    ( 4.92380440016309 -3                 -0.5)
    (41                -3                 -0.5)
    (41                -6                 -0.5)
    (53                -6                 -0.5)
    (53                -3                 -0.5)
    (53                 3                 -0.5)
    (53                 6                 -0.5)
    (41                 6                 -0.5)
    (41                 3                 -0.5)
    ( 4.92380440016309  3                 -0.5)
    ( 2.34202014332567  3.939692620785910 -0.5)
    ( 0.34202014332567  4.667633089318313 -0.5)
    ( 0                 3.727940468532405 -0.5)
    ( 2                 3                 -0.5)
    ( 0                 3                 -0.5)
    ( 3.46190220008154 -2.3               -0.5)
    ( 3.46190220008154  2.3               -0.5)
    ( 0                -3                  0.5)
    ( 2                -3                  0.5)
    ( 0                -3.727940468532405  0.5)
    ( 0.34202014332567 -4.667633089318313  0.5)
    ( 2.34202014332567 -3.939692620785910  0.5)
    ( 4.92380440016309 -3                  0.5)
    (41                -3                  0.5)
    (41                -6                  0.5)
    (53                -6                  0.5)
    (53                -3                  0.5)
    (53                 3                  0.5)
    (53                 6                  0.5)
    (41                 6                  0.5)
    (41                 3                  0.5)
    ( 4.92380440016309  3                  0.5)
    ( 2.34202014332567  3.939692620785910  0.5)
    ( 0.34202014332567  4.667633089318313  0.5)
    ( 0                 3.727940468532405  0.5)
    ( 2                 3                  0.5)
    ( 0                 3                  0.5)
    ( 3.46190220008154 -2.3                0.5)
    ( 3.46190220008154  2.3                0.5)
);

blocks
(
    hex ( 0  1 18 19 22 23 40 41) ( 4 34  2) simpleGrading (1 1 1)
    hex ( 1 20 21 18 23 42 43 40) ( 7 34  2) simpleGrading (1 1 1)
    hex (20  5 14 21 42 27 36 43) ( 7 34  2) simpleGrading (1 1 1)
    hex ( 5  6 13 14 27 28 35 36) (72 34  2) simpleGrading (1 1 1)
    hex ( 6  9 10 13 28 31 32 35) (24 34  2) simpleGrading (1 1 1)

    hex ( 7  8  9  6 29 30 31 28) (24 17  2) simpleGrading (1 1 1)
    hex (13 10 11 12 35 32 33 34) (24 17  2) simpleGrading (1 1 1)

    hex ( 3  4  1  2 25 26 23 24) ( 7  7  2) simpleGrading (1 1 1)
    hex ( 4  5 20  1 26 27 42 23) ( 7  7  2) simpleGrading (1 1 1)
    hex (18 21 14 15 40 43 36 37) ( 7  7  2) simpleGrading (1 1 1)
    hex (17 18 15 16 39 40 37 38) ( 7  7  2) simpleGrading (1 1 1)
);

edges
(
);

boundary
(
    walls
    {
        type wall;
        faces
        (
            ( 0  1 23 22)
            ( 1  2 24 23)

            ( 3  4 26 25)
            ( 4  5 27 26)
            ( 5  6 28 27)
            ( 6  7 29 28)
            ( 7  8 30 29)

            (11 12 34 33)
            (12 13 35 34)
            (13 14 36 35)
            (14 15 37 36)
            (15 16 38 37)

            (17 18 40 39)
            (18 19 41 40)
            (19  0 22 41)
        );
    }

    lowerInlet
    {
        type patch;
        faces
        (
            (2 3 25 24)
        );
    }

    upperInlet
    {
        type patch;
        faces
        (
            (16 17 39 38)
        );
    }

    outlet
    {
        type patch;
        faces
        (
            (8 9 31 30)
            (9 10 32 31)
            (10 11 33 32)
        );
    }

    frontAndBack
    {
        type symmetry;
        faces
        (
            ( 0  1 18 19)
            ( 1 20 21 18)
            (20  5 14 21)
            ( 5  6 13 14)
            ( 6  9 10 13)

            ( 7  8  9  6)
            (13 10 11 12)

            ( 3  4  1  2)
            ( 4  5 20  1)
            (18 21 14 15)
            (17 18 15 16)

            (22 23 40 41)
            (23 42 43 40)
            (42 27 36 43)
            (27 28 35 36)
            (28 31 32 35)

            (29 30 31 28)
            (35 32 33 34)

            (25 26 23 24)
            (26 27 42 23)
            (40 43 36 37)
            (39 40 37 38)
        );
    }
);

// ************************************************************************* //