modifications for non-gui mode operation
[OpenFOAM-1.5.x.git] / tutorials / interDyMFoam / sloshingTank2D3DoF / system / controlDict
blob8d7fb44aa4528c4ac117926edad2016b31258934
1 /*--------------------------------*- C++ -*----------------------------------*\
2 | =========                 |                                                 |
3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
4 |  \\    /   O peration     | Version:  dev                                   |
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 application     sloshingFoam;
19 startFrom       startTime;
21 startTime       0;
23 stopAt          endTime;
25 endTime         40;
27 deltaT          0.01;
29 writeControl    adjustableRunTime;
31 writeInterval   0.05;
33 purgeWrite      0;
35 writeFormat     ascii;
37 writePrecision  6;
39 writeCompression compressed;
41 timeFormat      general;
43 timePrecision   6;
45 runTimeModifiable yes;
47 adjustTimeStep  yes;
49 maxCo           0.5;
51 maxDeltaT       1;
53 functions
55     probes
56     {
57         // Type of functionObject
58         type probes;
60         // Name of the directory for the probe data
61         name probes;
63         // Locations to be probed. runTime modifiable!
64         probeLocations
65         (
66             (0 9.95 19.77)
67             (0 -9.95 19.77)
68         );
70         // Fields to be probed. runTime modifiable!
71         fields
72         (
73             p
74         );
75     }
77     wallPressure
78     {
79         // Type of functionObject
80         type surfaces;
82         // Where to load it from (if not already in solver)
83         functionObjectLibs ("libsampling.so");
85                 // Output every 10th time step
86         interval 10;
88         surfaceFormat raw;
90         fields
91         (
92             p
93         );
95         surfaces
96         (
97             walls
98             {
99                 type            patch;
100                 patchName       walls;
101                 triangulate     false;
102             }
103         );
104     }
107 // ************************************************************************* //