From dfe09822860a678bbf59bc3cf3b686f3206cf607 Mon Sep 17 00:00:00 2001 From: Tor Harald Sandve Date: Tue, 3 May 2022 08:25:26 +0200 Subject: [PATCH] reset regularize_ before starting the inner iterations --- opm/simulators/wells/MultisegmentWell_impl.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/opm/simulators/wells/MultisegmentWell_impl.hpp b/opm/simulators/wells/MultisegmentWell_impl.hpp index 18f725a52..13117c415 100644 --- a/opm/simulators/wells/MultisegmentWell_impl.hpp +++ b/opm/simulators/wells/MultisegmentWell_impl.hpp @@ -1387,6 +1387,7 @@ namespace Opm bool converged = false; int stagnate_count = 0; bool relax_convergence = false; + this->regularize_ = false; for (; it < max_iter_number; ++it, ++debug_cost_counter_) { assembleWellEqWithoutIteration(ebosSimulator, dt, inj_controls, prod_controls, well_state, group_state, deferred_logger);