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
......@@ -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 =
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment