FluidSystems::BlackOil: increase the fugacity coefficient of gas in water by a factor of 1000

this makes the PVS model work with SPE-9 and the NCP model to converge
better...
This commit is contained in:
Andreas Lauser
2014-01-24 15:15:22 +01:00
parent f386599669
commit b333007fc3

View File

@@ -501,11 +501,10 @@ public:
// pressure of water as a starting point. (we just set it to
// 30 kPa to ease interpreting the results.)
const Scalar pvWater = 30e3;
if (compIdx == oCompIdx ||
compIdx == gCompIdx)
{
if (compIdx == oCompIdx)
return 1e3*pvWater / pressure;
else if (compIdx == gCompIdx)
return 1e6*pvWater / pressure;
}
return pvWater / pressure;
}