/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website: https://openfoam.org
    \\  /    A nd           | Version: 12
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
#includeEtc "caseDicts/postProcessing/forces/forceCoeffs.cfg"

forceCoeffs
{
    type                forceCoeffs;
    functionObjectLibs  ("libforces.so");
    enabled             true;
    writeControl        timeStep;
    writeInterval       100;
    log                 yes;

    patches             (inlet);             // Replace with your actual patch name
    rho                 rhoInf;
    rhoInf              1000;                // Density of water in kg/m³
    liftDir             (0 1 0);             // Y-direction lift
    dragDir             (1 0 0);             // X-direction drag
    pitchAxis           (0 0 1);             // Rotation axis
    CofR                (0 0 0);             // Centre of rotation

    magUInf             6e-5;                // Inlet velocity for Re = 40 (U = Re*ν/L)
    lRef                1;                   // Reference length (e.g., side of prism)
    Aref                0.1;                 // Reference area = length × thickness (2D = 1 × 0.1)
}
// ************************************************************************* //

