From 5a88259da442d5bfcff3538c6b0713e094d13696 Mon Sep 17 00:00:00 2001 From: Tor Harald Sandve Date: Thu, 19 Sep 2013 10:44:10 +0200 Subject: [PATCH] The porevolume was multiplied twice in computeAccum for the gas phase dissolved in the oil --- opm/autodiff/FullyImplicitBlackoilSolver.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opm/autodiff/FullyImplicitBlackoilSolver.cpp b/opm/autodiff/FullyImplicitBlackoilSolver.cpp index 974657e90..dd47cbc9c 100644 --- a/opm/autodiff/FullyImplicitBlackoilSolver.cpp +++ b/opm/autodiff/FullyImplicitBlackoilSolver.cpp @@ -545,8 +545,8 @@ namespace Opm { const int po = pu.phase_pos[ Oil ]; const int pg = pu.phase_pos[ Gas ]; - rq_[pg].accum[aix] += pv_mult * state.rs * rq_[po].accum[aix]; - // DUMP(rq_[pg].accum[aix]); + rq_[pg].accum[aix] += state.rs * rq_[po].accum[aix]; + //DUMP(rq_[pg].accum[aix]); } }