File: blockMeshDict

package info (click to toggle)
openfoam 1912.200626-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 238,956 kB
  • sloc: cpp: 1,159,641; sh: 15,902; ansic: 5,195; lex: 660; xml: 387; python: 282; awk: 212; makefile: 103; sed: 88; csh: 3
file content (154 lines) | stat: -rw-r--r-- 3,624 bytes parent folder | download | duplicates (2)
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
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v1912                                 |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

scale   1;

vertices
(
    ( -0.10      0    0)  // 0 // cabin interior
    ( -0.05      0    0)  // 1
    (  0.20      0    0)  // 2
    (  0.20   0.05    0)  // 3
    ( -0.05   0.05    0)  // 4
    ( -0.05   0.10    0)  // 5
    (  1.00   0.10    0)  // 6
    (  1.00   0.50    0)  // 7
    (  0.35   0.50    0)  // 8
    (  0.30   0.50    0)  // 9
    ( -0.10   0.10    0)  // 10
    ( -0.10   0.05    0)  // 11

    ( -0.1005  0.10    0)  // 12   // windshield (doubled vertices with 10, 9)
    (  0.2995  0.50    0)  // 13

    ( -0.50   0.50    0)  // 14   // cabin exterior
    ( -0.50   0.10    0)  // 15


    (     0      0    0.70)  // 16   // cabin interior
    (  0.05      0    0.70)  // 17
    (  0.20      0    0.70)  // 18
    (  0.20   0.05    0.70)  // 19
    (  0.05   0.05    0.70)  // 20
    (  0.05   0.10    0.70)  // 21
    (  1.00   0.10    0.70)  // 22
    (  1.00   0.50    0.70)  // 23
    (  0.45   0.50    0.70)  // 24
    (  0.40   0.50    0.70)  // 25
    (     0   0.10    0.70)  // 26
    (     0   0.05    0.70)  // 27

    (  -0.0005 0.10    0.70)  // 28   // windshield (doubled vertices with 26,25)
    (  0.3995  0.50    0.70)  // 29

    ( -0.50   0.50    0.70)  // 30  // cabin exterior
    ( -0.50   0.10    0.70)  // 31
);


blocks
(
    hex ( 1 2 3  4 17 18 19 20) cabin (15  5 50) simpleGrading (1 1 1)
    hex ( 0 1 4 11 16 17 20 27) cabin ( 7  5 50) simpleGrading (1 1 1)
    hex (11 4 5 10 27 20 21 26) cabin ( 7  5 50) simpleGrading (1 1 1)
    hex (10 5 8  9 26 21 24 25) cabin ( 7 45 50) simpleGrading (1 1 1)
    hex ( 5 6 7  8 21 22 23 24) cabin (45 45 50) simpleGrading (3 1 1)

    hex ( 12 10 9 13 28 26 25 29) windshield (45 45 50) simpleGrading (1 1 1)

);


edges
(
    arc 9 10 (0.07 0.3 0)
    arc 12 13 (0.0695 0.3 0)

    arc 25 26 (0.17 0.3 0.70)
    arc 28 29 (0.1695 0.3 0.70)

    arc 9 25 (0.33 0.5 0.35)
    arc 13 29 (0.3295 0.5 0.35)

    arc 10 26 (-0.07 0.1 0.35)
    arc 12 28 (-0.0705 0.1 0.35)

    arc 5 8 (0.13 0.3 0)
    arc 21 24 (0.23 0.3 0.70)

    arc 8 24 (0.38 0.5 0.35)
    arc 5 21 (-0.02 0.1 0.35)

    arc 11 27 (-0.07 0.05 0.35)
    arc 0 16 (-0.07 0 0.35)

    arc 4 20 (-0.02 0.05 0.35)
    arc 1 17 (-0.02 0 0.35)
);


defaultPatch
{
    name    walls;
    type    wall;
}


boundary
(
    inlet
    {
        type    patch;
        faces
        (
            (2 18 19 3)
        );
    }
    outlet
    {
        type    patch;
        faces
        (
            (6 22 23 7)
        );
    }
    exterior
    {
        type    patch;
        faces
        (
            (12 13 29 28)
        );
    }
    symmetry
    {
        type    symmetryPlane;
        faces
        (
            (5 6 7 8)
            (10 5 8 9)
            (12 10 9 13)
        );
    }
);


mergePatchPairs
(
);


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