fixed writing out entries in advective bc
[OpenFOAM-1.6-ext.git] / tutorials / multiphase / twoPhaseEulerFoam / bed2 / system / controlDict
bloba7ac2de3a475cf2a16174962c18d926a64b9df7d
1 /*--------------------------------*- C++ -*----------------------------------*\
2 | =========                 |                                                 |
3 | \\      /  F ield         | OpenFOAM Extend Project: Open Source CFD        |
4 |  \\    /   O peration     | Version:  1.6-ext                               |
5 |   \\  /    A nd           | Web:      www.extend-project.de                 |
6 |    \\/     M anipulation  |                                                 |
7 \*---------------------------------------------------------------------------*/
8 FoamFile
10     version     2.0;
11     format      ascii;
12     class       dictionary;
13     object      controlDict;
15 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
17 application     twoPhaseEulerFoam;
19 startFrom       latestTime;
21 startTime       0;
23 stopAt          endTime;
25 endTime         2;
27 deltaT          5e-4;
29 writeControl    adjustableRunTime;
31 writeInterval   0.01;
33 purgeWrite      0;
35 writeFormat     ascii;
37 writePrecision  6;
39 writeCompression uncompressed;
41 timeFormat      general;
43 timePrecision   6;
45 runTimeModifiable on;
47 adjustTimeStep  no;
49 maxCo           0.9;
51 maxDeltaT       1e-5;
53 functions
55     fieldAverage1
56     {
57         // Type of functionObject
58         type fieldAverage;
60         // Where to load it from (if not already in solver)
61         functionObjectLibs ("libfieldFunctionObjects.so");
63         outputControl     outputTime;
65         // Fields to be  averaged - runTime modifiable
66         fields
67         (
68             Ua
69             {
70                 mean            on;
71                 prime2Mean      off;
72                 base            time;
73             }
74             Ub
75             {
76                 mean            on;
77                 prime2Mean      off;
78                 base            time;
79             }
80             alpha
81             {
82                 mean            on;
83                 prime2Mean      off;
84                 base            time;
85             }
86             p
87             {
88                 mean            on;
89                 prime2Mean      off;
90                 base            time;
91             }
92         );
93     }
96 // ************************************************************************* //