bugfix - minor: coeffs lookup updated to new/default mechanism
[OpenFOAM-1.5.x.git] / tutorials / twoPhaseEulerFoam / bed2 / system / controlDict
blob8deea7de4ad2e0cf25ab9144ca27308e8796f91e
1 /*--------------------------------*- C++ -*----------------------------------*\
2 | =========                 |                                                 |
3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
4 |  \\    /   O peration     | Version:  1.5                                   |
5 |   \\  /    A nd           | Web:      http://www.OpenFOAM.org               |
6 |    \\/     M anipulation  |                                                 |
7 \*---------------------------------------------------------------------------*/
8 FoamFile
10     version     2.0;
11     format      ascii;
12     class       dictionary;
13     object      controlDict;
15 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
17 applicationClass 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 ("libfieldAverage.so");
63         // Fields to be  averaged - runTime modifiable
64         fields
65         (
66             Ua
67             {
68                 mean            on;
69                 prime2Mean      off;
70                 base            time;
71             }
72             Ub
73             {
74                 mean            on;
75                 prime2Mean      off;
76                 base            time;
77             }
78             alpha
79             {
80                 mean            on;
81                 prime2Mean      off;
82                 base            time;
83             }
84             p
85             {
86                 mean            on;
87                 prime2Mean      off;
88                 base            time;
89             }
90         );
91     }
95 // ************************************************************************* //