black oil density: correct the gas mass fraction in saturated oil

This commit is contained in:
Andreas Lauser
2014-07-22 19:16:55 +02:00
parent f6ce0d0f64
commit adf7f4460d

View File

@@ -678,7 +678,7 @@ public:
drhoo_dXoO + (drhoo_dp - drhoosat_dp) / dXoOsat_dp;
// calculate the composition of saturated oil.
Scalar XoGsat = surfaceDensity_[gasPhaseIdx]/surfaceDensity_[oilPhaseIdx] * Rs * Bo;
Scalar XoGsat = saturatedOilGasMassFraction(oilPressure);
Scalar XoOsat = 1.0 - XoGsat;
Scalar rhoo =