/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM v2512                                  |
|  \\    /   O peration     | controlDict                                     |
|   \\  /    A nd           | Solver Control Settings                         |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/

// Runtime control dictionary for dynamic overset simulation

FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      controlDict;
}

// Load overset mesh library

libs            ("liboverset.so");

// Dynamic overset flow solver

application     overPimpleDyMFoam;

// Simulation time control

startFrom       latestTime;

startTime       0;

stopAt          endTime;

endTime         2.7;

deltaT          0.0025;

// Solution write control

writeControl    adjustableRunTime;

writeInterval   0.05;

purgeWrite      0;

// Output file settings

writeFormat     ascii;

writePrecision  12;

writeCompression off;

// Time formatting

timeFormat      general;

timePrecision   6;

// Runtime adjustment settings

runTimeModifiable true;

adjustTimeStep  yes;

// Courant number limits

maxCo           0.5;
maxDeltaT       0.005;

// Function objects

functions
{

// Hydrodynamic force evaluation on disk surface

forces1
{
    type          forces;

    libs          ("libforces.so");

    writeControl  timeStep;
    timeInterval  1;

    log           yes;

    patches       ("disk");

    rho           rhoInf;

    log           true;

    rhoInf        970;

    origin (0 0 0.00075);

    rotation
    {
        type            axes;
        e3              (0 0 1);
        e1              (1 0 0);
    }
}

}

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