From 782a5934c9023c8a731ca5831c024797086bfc21 Mon Sep 17 00:00:00 2001 From: osae Date: Fri, 28 Mar 2014 17:14:16 +0100 Subject: [PATCH] Fixed Bg versus 1/Bg issue. --- opm/core/props/pvt/SinglePvtLiveGas.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/opm/core/props/pvt/SinglePvtLiveGas.cpp b/opm/core/props/pvt/SinglePvtLiveGas.cpp index 43debe7b..02197dcf 100644 --- a/opm/core/props/pvt/SinglePvtLiveGas.cpp +++ b/opm/core/props/pvt/SinglePvtLiveGas.cpp @@ -34,6 +34,7 @@ #include #include +#include namespace Opm { @@ -101,6 +102,14 @@ namespace Opm undersat_gas_tables_[i][1] = undersatTable.getGasFormationFactorColumn(); undersat_gas_tables_[i][2] = pvtgTable.getOuterTable()->getGasViscosityColumn(); } + + // Bg -> 1/Bg + for (int i=0; i