mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: viscosityModels::powerLaw: Changed VSMALL to SMALL to avoid potential overflow
This commit is contained in:
committed by
Andrew Heather
parent
96bdb82918
commit
1ad3c4c2b1
@ -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)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user