ENH: viscosityModels::powerLaw: Changed VSMALL to SMALL to avoid potential overflow

This commit is contained in:
Henry Weller
2017-09-14 21:57:47 +01:00
committed by Andrew Heather
parent 96bdb82918
commit 1ad3c4c2b1

View File

@ -61,7 +61,7 @@ Foam::viscosityModels::powerLaw::calcNu() const
max
(
dimensionedScalar("one", dimTime, 1.0)*strainRate(),
dimensionedScalar("VSMALL", dimless, VSMALL)
dimensionedScalar("SMALL", dimless, SMALL)
),
n_.value() - scalar(1.0)
)