mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: forceCoeffs: corrected calculation of Clf and Clr
This commit is contained in:
@ -137,8 +137,8 @@ void Foam::forceCoeffs::write()
|
|||||||
scalar Cd = sum(coeffs[1]);
|
scalar Cd = sum(coeffs[1]);
|
||||||
scalar Cm = sum(coeffs[2]);
|
scalar Cm = sum(coeffs[2]);
|
||||||
|
|
||||||
scalar Clf = Cl/2.0 - Cm;
|
scalar Clf = Cl/2.0 + Cm;
|
||||||
scalar Clr = Cl/2.0 + Cm;
|
scalar Clr = Cl/2.0 - Cm;
|
||||||
|
|
||||||
file()
|
file()
|
||||||
<< obr_.time().value() << tab
|
<< obr_.time().value() << tab
|
||||||
|
|||||||
Reference in New Issue
Block a user