/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  4.0                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
libs (
   
     
     );
application     sonicFoam;

startFrom       latestTime;

startTime       0;

stopAt          endTime;

endTime         1;

deltaT          1e-06;

writeControl    timeStep;

writeInterval  100;

purgeWrite      0;

writeFormat     ascii;

writePrecision  6;

writeCompression on;

timeFormat      general;

timePrecision   6;

runTimeModifiable true;

functions
{
  
forces
{
    type                forces;
    functionObjectLibs  ("libforces.so");
    writeControl       runTime;
    writeInterval      0.0001;
     
    patches             ( "sukhoi" );
    pName               p;
    UName               U;
    rho                 rhoInf;
 // rhoName             rhoInf; // OF-2.3.x
    log                 true; 
    CofR                (0 0 0);     
    rhoInf             1.225;
}
 
 
forceCoeffs
{
    type                forceCoeffs;
    functionObjectLibs  ( "libforces.so" );
    writeControl       runTime;
    writeInterval      0.0001; 
    patches             ( "sukhoi" );
    pName               p;
    UName               U;
    rho                 rhoInf;
 // rhoName             rhoInf; // OF-2.3.x
    log                 true;
     
    liftDir             (0 1 0);
    dragDir             (0 0 1);
    CofR                (0 0 0);
    pitchAxis           (1 0 0);
     
    magUInf             520;
    rhoInf              1.225;
    lRef                2.2;
    Aref                0.211;
}
}



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