From ca2a4bbb4ea584c5e5fcf4369fb6072380a1d93b Mon Sep 17 00:00:00 2001 From: Andreas Lauser Date: Wed, 12 Aug 2015 18:03:47 +0200 Subject: [PATCH] fix saturation scaling points for two-point krw scaling kudos to [at]osae for finding this! --- opm/material/fluidmatrixinteractions/EclEpsScalingPoints.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opm/material/fluidmatrixinteractions/EclEpsScalingPoints.hpp b/opm/material/fluidmatrixinteractions/EclEpsScalingPoints.hpp index 0494e82af..c9ea50438 100644 --- a/opm/material/fluidmatrixinteractions/EclEpsScalingPoints.hpp +++ b/opm/material/fluidmatrixinteractions/EclEpsScalingPoints.hpp @@ -352,8 +352,8 @@ public: saturationKrwPoints_[2] = 1 - epsInfo.Swl - epsInfo.Sgl; } else { - saturationKrwPoints_[0] = epsInfo.Swl + epsInfo.Sgl; - saturationKrwPoints_[1] = 1.0 - epsInfo.Sogcr; + saturationKrwPoints_[0] = epsInfo.Sogcr; + saturationKrwPoints_[1] = 1 - epsInfo.Swl - epsInfo.Sgl; } // krn saturation scaling endpoints (with the non-wetting phase being gas).