/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v2012                                 |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

application     pimpleFoam;

startFrom       latestTime;

startTime       0;

stopAt          endTime;

endTime         30;

writeControl    adjustable;

writeInterval   1;

deltaT          1e-3;

purgeWrite      0;

writeFormat     binary;

writePrecision  6;

writeCompression off;

timeFormat      general;

timePrecision   6;

runTimeModifiable true;

libs ("libheadLossPressureBC.so");

functions
{
    flowRateInlet
    {
        name        inlet;
        #includeEtc "caseDicts/postProcessing/flowRate/flowRatePatch.cfg"
    }

    probes
    {
        #includeEtc "caseDicts/postProcessing/probes/probes.cfg"

        interpolationScheme cell;
        interpolate     true;   
        fixedLocations false;

        fields (p U);
        probeLocations
        (
            ( 0.0 0.125 0 )
        );
    }
}

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