Transferred copyright to the OpenFOAM Foundation
[OpenFOAM-2.0.x.git] / src / postProcessing / functionObjects / IO / controlDict
blob050086a8ebe35a26c2ca3a0ea684c4eafdcf52c2
1 /*--------------------------------*- C++ -*----------------------------------*\
2 | =========                 |                                                 |
3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
4 |  \\    /   O peration     | Version:  2.0.0                                 |
5 |   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
6 |    \\/     M anipulation  |                                                 |
7 \*---------------------------------------------------------------------------*/
8 FoamFile
10     version     2.0;
11     format      ascii;
12     class       dictionary;
13     object      controlDict;
15 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
17 // So we get a decent warning if we have multiple functionObject entries
18 // with the same name.
19 #inputMode error;
21 application     icoFoam;
23 startFrom       startTime;
25 startTime       0;
27 stopAt          endTime;
29 endTime         0.5;
31 deltaT          0.005;
33 writeControl    timeStep;
35 writeInterval   20;
37 purgeWrite      0;
39 writeFormat     ascii;
41 writePrecision  6;
43 writeCompression uncompressed;
45 timeFormat      general;
47 timePrecision   6;
49 runTimeModifiable yes;
51 functions
53     partialWrite
54     {
55         // Write some registered objects more often than others.
56         // Above writeControl determines most frequent dump.
58         type            partialWrite;
60         // Where to load it from
61         functionObjectLibs ("libIOFunctionObjects.so");
63         // Optional mesh region to operate on. Only one partialWrite per
64         // region allowed.
65         region wallFilmRegion;
67         // Execute upon outputTime
68         outputControl   outputTime;
70         // Objects (fields or lagrangian fields in any of the clouds)
71         // to write every outputTime
72         objectNames    (p positions nParticle);
73         // Write as normal every writeInterval'th outputTime.
74         writeInterval   3;
75     }
77     dumpObjects
78     {
79         // Forcibly write registered objects. E.g. fields that have been
80         // created with NO_WRITE.
82         type            writeRegisteredObject;
84         // Where to load it from
85         functionObjectLibs ("libIOFunctionObjects.so");
87         // Execute upon outputTime
88         outputControl   outputTime;
90         // Objects to write
91         objectNames    ();
92     }
95 // ************************************************************************* //