controlDict 1.66 KB
Newer Older
1
2
3
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
Henry's avatar
Henry committed
4
|  \\    /   O peration     | Version:  dev                                   |
5
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
6
7
8
9
10
11
12
13
14
15
16
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

17
18
19
20
21
22
23
libs
(
    "libOpenFOAM.so"
    "libincompressibleTurbulenceModel.so"
    "libincompressibleRASModels.so"
);

24
25
application     simpleFoam;

26
startFrom       latestTime;
27
28
29

startTime       0;

30
stopAt          endTime;
31
32
33
34
35

endTime         500;

deltaT          1;

36
writeControl    timeStep;
37

38
writeInterval   100;
39
40
41

purgeWrite      0;

42

43
44
45
46
//- Uncomment to have regular (every 2 hours of run time) restart files
//secondaryWriteControl    cpuTime; // runtime
//secondaryWriteInterval   7200;    // seconds
//secondaryPurgeWrite      1;       // keep all but last dump
47
48


49
writeFormat     binary;
50
51
52

writePrecision  6;

53
writeCompression uncompressed;
54
55
56
57
58
59
60
61
62

timeFormat      general;

timePrecision   6;

runTimeModifiable true;

functions
{
63
64
    #include "readFields"
    #include "streamLines"
65
    #include "wallBoundedStreamLines"
66
67
    #include "cuttingPlane"
    #include "forceCoeffs"
68
69
70
71
}


// ************************************************************************* //