Skip to content
Snippets Groups Projects
Commit 6ac8d99e authored by mattijs's avatar mattijs
Browse files

BUG: radialActuactionDiskSource: corrected maxR calculation.

parent 67d17dcb
No related branches found
No related tags found
No related merge requests found
...@@ -59,7 +59,7 @@ addRadialActuationDiskAxialInertialResistance ...@@ -59,7 +59,7 @@ addRadialActuationDiskAxialInertialResistance
const Field<scalar> zoneCellVolumes(mesh().cellVolumes(), cells); const Field<scalar> zoneCellVolumes(mesh().cellVolumes(), cells);
const vector avgCentre = gSum(zoneCellVolumes*zoneCellCentres)/V(); const vector avgCentre = gSum(zoneCellVolumes*zoneCellCentres)/V();
const scalar maxR = mag(max(zoneCellCentres - avgCentre)); const scalar maxR = gMax(mag(zoneCellCentres - avgCentre));
scalar intCoeffs = scalar intCoeffs =
coeffs_[0] coeffs_[0]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment