mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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)
This commit is contained in:
@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user