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

application     pimpleFoam;

startFrom       startTime;

startTime       0;

stopAt          endTime;

endTime         10;

deltaT          0.005;

writeControl    adjustable;

writeInterval   0.1;

purgeWrite      0;

writeFormat     ascii;

writePrecision  10;

writeCompression off;

timeFormat      general;

timePrecision   6;

runTimeModifiable true;

adjustTimeStep  yes;

maxCo           0.9;

functions
{
forces1 
{
    type          forceCoeffs;

    libs          ("libforces.so");

    writeControl    adjustable;

    writeInterval   0.005;

    log           yes;

    patches       ( airfoil );
    rho           rhoInf;     // Indicates incompressible
    log           true;
    rhoInf        1; // Redundant for incompressible
    origin (0 0 0); 
    CofR    (0 0 0);
    liftDir (0 1 0);
    dragDir  (1 0 0);
    pitchAxis (0 0 1);

    Aref 1;
    magUInf 1;
    lRef 1;
}

    
}


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