Merge pull request #422 from goncalvesmachadoc/patch-1
Allow for extrapolation of WATVISC curve
This commit is contained in:
commit
a11b3a53b2
@ -273,7 +273,7 @@ public:
|
|||||||
Scalar muRef = pvtwViscosity_[regionIdx]/(1.0 + x + 0.5*x*x);
|
Scalar muRef = pvtwViscosity_[regionIdx]/(1.0 + x + 0.5*x*x);
|
||||||
|
|
||||||
// compute the viscosity deviation due to temperature
|
// compute the viscosity deviation due to temperature
|
||||||
const auto& muWatvisct = watvisctCurves_[regionIdx].eval(temperature);
|
const auto& muWatvisct = watvisctCurves_[regionIdx].eval(temperature, true);
|
||||||
return isothermalMu * muWatvisct/muRef;
|
return isothermalMu * muWatvisct/muRef;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user