Initial commit of NavalHydro package from Wikki to the ShipHydroSIG
[ShipHydroSIG.git] / run / navalFoam / tankSloshing2D / system / controlDict
blob90ae7bd46dd3e9f2f59941a656612ea073f2fdf1
1 /*--------------------------------*- C++ -*----------------------------------*\
2 | =========                 |                                                 |
3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
4 |  \\    /   O peration     | Version:  1.0                                   |
5 |   \\  /    A nd           | Web:      http://www.openfoam.org               |
6 |    \\/     M anipulation  |                                                 |
7 \*---------------------------------------------------------------------------*/
9 FoamFile
11     version         2.0;
12     format          ascii;
13     class           dictionary;
14     object          controlDict;
17 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
19 startFrom       startTime;
21 startTime       0.00;
23 stopAt          endTime;
25 endTime         10.0;
27 deltaT          0.005;
29 writeControl    adjustableRunTime;
30 writeInterval   0.1;
32 purgeWrite      0;
34 writeFormat     ascii;
36 writePrecision  6;
38 writeCompression compressed;
40 timeFormat      general;
42 timePrecision   6;
44 runTimeModifiable yes;
46 adjustTimeStep  yes;
48 maxCo           0.5;
49 maxDeltaT       1e-2;
52 functions
54     pressureProbes
55     {
56         // Type of functionObject
57         type probes;
59         // Where to load it from (if not already in solver)
60         functionObjectLibs ("libsampling.so");
62         // Locations to be probed. runTime modifiable!
63         probeLocations
64         (
65             (0.001 0.093 0)
66             (0.001 0.299 0)
67             (0.025 0.5079 0)
68             (0.895 0.5079 0)
69             (0.899 0.4829 0)
70             (0.899 0.222 0)
71         );
73         // Fields to be probed. runTime modifiable!
74         fields
75         (
76             p
77         );
79         outputControl timeStep;
80         outputInterval 100;
81     }
84 // ************************************************************************* //