fix saturation scaling points for two-point krw scaling

kudos to [at]osae for finding this!
This commit is contained in:
Andreas Lauser 2015-08-12 18:03:47 +02:00
parent 10dc683c75
commit ca2a4bbb4e

View File

@ -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).