File: runTimePostProcessingDict

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 (274 lines) | stat: -rw-r--r-- 6,211 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
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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
/*--------------------------------*- 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      runTimePostProcessingDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


// Type of functionObject
type            runTimePostProcessing;

// Where to load it from
libs            ("runTimePostProcessing");

// Function object enabled flag
enabled         true;

// When to output the images
writeControl    writeTime;

//- Allow parallel rendering (default: true)
// parallel        true;

//- The output characteristics
output
{
    //- The name stem for output images
    name        image;

    //- The image dimensions
    width       1400;
    height      1050;
}


//- The camera settings
camera
{
    // If camera is moving, provide start and end times
    // startPosition    0.2;
    // endPosition      0.75;

    //- Total number of frames to generate (default: 1)
    nFrameTotal     1;

    //- Parallel projection flag (default: true)
    // parallelProjection  yes;

    position        (385 -560 650);
    focalPoint      (160 90 60);
    up              (0.06 0.7 0.7);

    zoom    1.5;

    // clipBox is optional

    // clipBox (-10 18 0)(280 160 76);
    clipBox (-30 0 0)(300 200 80);
}


// Default colours
// - If select to colourBy colour, these values are used unless
// they are locally overridden
colours
{
    background  (0.317647 0.341176 0.431373);
    background2 (0.317647 0.341176 0.431373);
    text        (0.75 0.75 0.75);
    edge        (1 0 0);
    surface     (0.5 0.5 0.5);
    line        (1 0 0);
    point       (0.5 0.5 0.5);
}


// Line data
lines
{
    streamline
    {
        type            functionObjectLine;
        functionObject  streamLines;
        colourMap       rainbow;
        representation  tube;
        visible         true;
        tubeRadius      0.5;
        colourBy        field;
        field           U;
        range           (0 20);
        opacity         1;
        scalarBar
        {
            visible         no;
        }
    }
}


// Surface data
surfaces
{
    geom
    {
        type            geometry;
        files           ("<case>/myGeometry.vtp");
        renderMode      phong;
        representation  surface;
        edgeColour      (0.5 0.5 0.5);
        visible         yes;
        featureEdges    none;
        opacity         1.0;
    }

    surf1
    {
        type            functionObjectSurface;
        functionObject  planes.plane0;
        liveObject      true;
        colourMap       coolToWarm;

        representation  surface;
        maxGlyphLength  0.1;
        smooth          true;
        visible         yes;

        featureEdges    none;
        colourBy        field;
        field           U;
        range           (0 20);
        opacity         1;

        scalarBar
        {
            visible     no;
        }

        //- Allow parallel rendering (default: true)
        // parallel        true;
    }

    patches
    {
        type            patches;
        patches         ( buildings ground );
        nearCellValue   true;
        smooth          true;
        colourMap       coolToWarm;
        representation  surface;
        representation  glyph;

        // maxGlyphLength  5;
        maxGlyphLength  0;
        visible         yes;
        featureEdges    none;
        colourBy        field;

        field           U;
        range           (0 20);

        opacity         1;
        scalarBar
        {
            visible         no;
            position        (0.8 0.1);
            vertical        yes;
            // fontSize        0;  // automatic sizing
            // titleSize       0;  // automatic sizing
            title           "velocity [m/s]";
            labelFormat     "%6.2f";
            numberOfLabels  5;

            bold        yes;
            italic      yes;
            shadow      yes;
        }

        //- Allow parallel rendering (default: true)
        // parallel        true;
    }

    cutting
    {
        type            plane;
        planeType       pointAndNormal;

        pointAndNormalDict
        {
            point   (100 100 50);
            normal  (1 0 0);
        }

        offsets         (0 100 200);

        smooth          true;
        colourMap       coolToWarm;
        representation  surface;

        representation  glyph;

        // maxGlyphLength  5;
        maxGlyphLength  0;
        visible         yes;
        featureEdges    none;

        colourBy        field;
        colourField     U;
        field           U;
        range           (0 20);

        opacity         1;
        scalarBar
        {
            visible         no;
        }
    }

    iso
    {
        type            iso;
        values          (0 4 8);

        smooth          true;
        colourMap       coolToWarm;
        representation  surface;

        representation  glyph;

        // maxGlyphLength  5;
        maxGlyphLength  0;
        visible         yes;
        featureEdges    none;

        colourBy        field;
        colourField     U;
        field           U;
        range           (0 20);

        opacity         1;
        scalarBar
        {
            visible         no;
        }
    }
}

// Text data
text
{
    text1
    {
        string      "buildings";
        position    (0.5 0.15);
        halign      centre;
        size        18;
        opacity     0.4;
        bold        yes;
        italic      yes;
        shadow      yes;
        visible     yes;
    }
}


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