From 9d04895ddbf8c4cd673206652a8e7ab569738e1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5kon=20H=C3=A6gland?= Date: Wed, 20 Apr 2022 21:47:15 +0200 Subject: [PATCH] Fix assertion error for 2p oil water VFP calculations for two phase gas lift does not work unless the rates are adpated to include a zero gas rate. --- opm/simulators/wells/StandardWell_impl.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/opm/simulators/wells/StandardWell_impl.hpp b/opm/simulators/wells/StandardWell_impl.hpp index 362d13813..f07fcd236 100644 --- a/opm/simulators/wells/StandardWell_impl.hpp +++ b/opm/simulators/wells/StandardWell_impl.hpp @@ -2388,6 +2388,7 @@ namespace Opm // solution std::vector rates(3); computeWellRatesWithBhpIterations(ebos_simulator, bhp, rates, deferred_logger); + this->adaptRatesForVFP(rates); return rates; };