/*--------------------------------*- C++ -*----------------------------------*\
  Generated by cwbench (Cylinder Wake benchmark) for OpenFOAM-12. Do not edit by hand.
\*---------------------------------------------------------------------------*/
FoamFile
{
    format      ascii;
    class       dictionary;
    object      controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

application     icoFoam;

startFrom       latestTime;
startTime       0;
stopAt          endTime;
endTime         8.823529411764707;
deltaT          0.001;

writeControl    timeStep;
writeInterval   2941;
purgeWrite      0;
writeFormat     binary;
writePrecision  12;
writeCompression off;
timeFormat      general;
timePrecision   10;
runTimeModifiable false;

functions
{
    forces
    {
        type            forces;
        libs            ("libforces.so");
        patches         (CYLINDER);
        rho             rhoInf;
        rhoInf          1000.0;
        CofR            (0.0 0.0 0.0);
        writeControl    timeStep;
        writeInterval   1;
        log             false;
    }

    probes
    {
        type            probes;
        libs            ("libsampling.so");
        fields          (U p);
        interpolationScheme cellPoint;
        probeLocations
        (
            (1.5 0.5 0.0)
            (2.5 -0.5 0.0)
            (3.5 0.8 0.0)
            (5.0 -1.0 0.0)
            (2.0 1.2 0.0)
            (3.0 0.0 0.0)
            (4.0 1.5 0.0)
            (1.0 0.0 0.0)
        );
        writeControl    timeStep;
        writeInterval   1;
    }

    surfacePressure
    {
        type            probes;
        libs            ("libsampling.so");
        fields          (p);
        interpolationScheme cellPoint;
        probeLocations
        (
            (0.501 0.0 0.0)
            (0.35426049737446036 0.3542604973744603 0.0)
            (3.06774023186412e-17 0.501 0.0)
            (-0.3542604973744603 0.35426049737446036 0.0)
            (-0.501 6.13548046372824e-17 0.0)
            (-0.3542604973744604 -0.3542604973744603 0.0)
            (-9.203220695592359e-17 -0.501 0.0)
            (0.35426049737446025 -0.3542604973744604 0.0)
        );
        writeControl    timeStep;
        writeInterval   1;
    }

    flowIn
    {
        type            surfaceFieldValue;
        libs            ("libfieldFunctionObjects.so");
        select          patch;
        patch           IN;
        operation       sum;
        fields          (phi);
        writeFields     false;
        writeControl    timeStep;
        writeInterval   1;
        log             false;
    }

    flowOut
    {
        $flowIn;
        patch           OUT;
    }

    wallFlux
    {
        $flowIn;
        patch           CYLINDER;
        operation       sumMag;
    }
}
