Initial commit of NavalHydro package from Wikki to the ShipHydroSIG
[ShipHydroSIG.git] / run / navalFoam / hullSlammingGraphMotion2D / system / controlDict
bloba6cb5ea9ae7c0221e2c3b53af54ca4805c007af9
1 /*--------------------------------*- C++ -*----------------------------------*\
2 | =========                 |                                                 |
3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
4 |  \\    /   O peration     | Version:  1.4.1                                 |
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       latestTime;
20 startFrom       startTime;
22 startTime       0.0;
24 stopAt          endTime;
26 endTime         0.08;
28 deltaT          1e-4;
30 writeControl    timeStep;
31 writeInterval   20;
33 purgeWrite      0;
35 writeFormat     ascii;
37 writePrecision  6;
39 writeCompression compressed;
41 timeFormat      general;
43 timePrecision   6;
45 graphFormat     raw;
47 runTimeModifiable yes;
49 adjustTimeStep  yes;
50 maxCo           0.25;
51 maxDeltaT       0.1;
53 functions
55     forces
56     {
57         type        rasVofForceAndTorque;
59         patches     ( hull );
61         file        hull.dat;
63         origin      (0 0 0);
64     }
66     probes1
67     {
68         // Type of functionObject
69         type probes;
71         // Where to load it from (if not already in solver)
72         functionObjectLibs ("libsampling.so");
74         // Locations to be probed. runTime modifiable!
75         probeLocations
76         (
77             (0.26 0.33 0.0)
78         );
80         // Fields to be probed. runTime modifiable!
81         fields
82         (
83             p
84             alpha1
85         );
87         outputControl outputTime;
88     }
92 // ************************************************************************* //