ENH: autoLayerDriver: better layering information message
[OpenFOAM-2.0.x.git] / src / postProcessing / functionObjects / systemCall / controlDict
blob0ca49bc3b81b7351023be4b0fe125c9517910e6a
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 application     icoFoam;
19 startFrom       startTime;
21 startTime       0;
23 stopAt          endTime;
25 endTime         0.5;
27 deltaT          0.005;
29 writeControl    timeStep;
31 writeInterval   20;
33 purgeWrite      0;
35 writeFormat     ascii;
37 writePrecision  6;
39 writeCompression off;
41 timeFormat      general;
43 timePrecision   6;
45 runTimeModifiable true;
47 functions
49     systemCall1
50     {
51         type            systemCall;
52         functionObjectLibs ("libsystemCall.so");
53         enabled         true;
54         outputControl   outputTime;
56         // called every time step
57         executeCalls
58         (
59             "echo execute"
60         );
62         // called at the end of the run
63         endCalls
64         (
65             "echo \*\*\* writing .bashrc \*\*\*"
66             "cat ~/.bashrc"
67             "echo \*\*\* done \*\*\*"
68         );
70         // called every ouput time
71         writeCalls
72         (
73             "echo \*\*\* writing data \*\*\*"
74         );
75     }
78 // ************************************************************************* //