mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: radialActuactionDiskSource: corrected maxR calculation.
This commit is contained in:
@ -59,7 +59,7 @@ addRadialActuationDiskAxialInertialResistance
|
||||
const Field<scalar> zoneCellVolumes(mesh().cellVolumes(), cells);
|
||||
|
||||
const vector avgCentre = gSum(zoneCellVolumes*zoneCellCentres)/V();
|
||||
const scalar maxR = mag(max(zoneCellCentres - avgCentre));
|
||||
const scalar maxR = gMax(mag(zoneCellCentres - avgCentre));
|
||||
|
||||
scalar intCoeffs =
|
||||
coeffs_[0]
|
||||
|
||||
Reference in New Issue
Block a user