ENH: Make sure to load library containing probes before instantiating it.
[OpenFOAM-1.6.x.git] / tutorials / incompressible / pimpleFoam / t-junction / system / controlDict
blob36921538e3ef80fda002229dd43d90992f9748e3
1 /*--------------------------------*- C++ -*----------------------------------*\
2 | =========                 |                                                 |
3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
4 |  \\    /   O peration     | Version:  1.6                                   |
5 |   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
6 |    \\/     M anipulation  |                                                 |
7 \*---------------------------------------------------------------------------*/
8 FoamFile
10     version     2.0;
11     format      ascii;
12     class       dictionary;
13     location    "system";
14     object      controlDict;
16 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
18 application     pimpleFoam;
20 startFrom       startTime;
22 startTime       0;
24 stopAt          endTime;
26 endTime         1;
28 deltaT          0.001;
30 writeControl    adjustableRunTime;
32 writeInterval   0.1;
34 purgeWrite      0;
36 writeFormat     ascii;
38 writePrecision  6;
40 writeCompression uncompressed;
42 timeFormat      general;
44 timePrecision   6;
46 runTimeModifiable yes;
48 adjustTimeStep  yes;
50 maxCo           5;
52 functions
54     probes
55     {
56         // Where to load it from
57         functionObjectLibs ( "libsampling.so" );
59         type        probes;
61         // Name of the directory for probe data
62         name        probes;
63         probeLocations
64         (
65             ( 1e-06 0 0.01 )        // at inlet
66             ( 0.21 -0.20999 0.01 )  // at outlet1
67             ( 0.21 0.20999 0.01 )   // at outlet2
68             ( 0.21 0 0.01 )         // at central block
69         );
71         // Fields to be probed
72         fields ( p U );
74         // Write at same frequency as fields
75         outputControl   outputTime;
76         outputInterval  1;
77     }
81 // ************************************************************************* //