From 50f0f36156880191d562eab93985bb4032c09f8f Mon Sep 17 00:00:00 2001 From: Cintia Goncalves Machado Date: Thu, 25 Jun 2020 14:25:26 +0200 Subject: [PATCH] Allow for extrapolation of WATVISC curve --- opm/material/fluidsystems/blackoilpvt/WaterPvtThermal.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opm/material/fluidsystems/blackoilpvt/WaterPvtThermal.hpp b/opm/material/fluidsystems/blackoilpvt/WaterPvtThermal.hpp index 94e376249..3c87ff6a7 100644 --- a/opm/material/fluidsystems/blackoilpvt/WaterPvtThermal.hpp +++ b/opm/material/fluidsystems/blackoilpvt/WaterPvtThermal.hpp @@ -273,7 +273,7 @@ public: Scalar muRef = pvtwViscosity_[regionIdx]/(1.0 + x + 0.5*x*x); // 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; }