Skip to content
Snippets Groups Projects
Commit 2a7fe029 authored by Andrew Heather's avatar Andrew Heather
Browse files

ENH: forceCoeffs FO updated following update to use functionObjectState

Properties stored in state dictionary:
- Moment coefficient: Cm
- Drag coefficient: Cd
- Lift coefficient: Cl
- Front lift coefficient: Cl(f)
- Rear lift coefficient: Cl(r)
parent bc00be2c
Branches
Tags
No related merge requests found
......@@ -386,6 +386,15 @@ void Foam::forceCoeffs::execute()
}
}
// Write state/results information
{
setResult("Cm", CmTot);
setResult("Cd", CdTot);
setResult("Cl", ClTot);
setResult("Cl(f)", ClfTot);
setResult("Cl(r)", ClrTot);
}
if (writeFields_)
{
const volVectorField& force =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment