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

BUG: radialActuactionDiskSource: corrected maxR calculation.

parent 67d17dcb
Branches
Tags
No related merge requests found
......@@ -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]
......
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