Skip to content
Snippets Groups Projects
Commit 1ad3c4c2 authored by Henry Weller's avatar Henry Weller Committed by Andrew Heather
Browse files

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

parent 96bdb829
Branches
Tags
No related merge requests found
...@@ -61,7 +61,7 @@ Foam::viscosityModels::powerLaw::calcNu() const ...@@ -61,7 +61,7 @@ Foam::viscosityModels::powerLaw::calcNu() const
max max
( (
dimensionedScalar("one", dimTime, 1.0)*strainRate(), dimensionedScalar("one", dimTime, 1.0)*strainRate(),
dimensionedScalar("VSMALL", dimless, VSMALL) dimensionedScalar("SMALL", dimless, SMALL)
), ),
n_.value() - scalar(1.0) n_.value() - scalar(1.0)
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment