From b6fe8cbd771e3e82fdd7eacd44a44039dff137d4 Mon Sep 17 00:00:00 2001 From: Tor Harald Sandve Date: Fri, 8 Jan 2021 11:12:17 +0100 Subject: [PATCH] only update individual wells after solve eq --- flow/flow_ebos_gasoil.cpp | 4 ---- opm/simulators/wells/BlackoilWellModel_impl.hpp | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/flow/flow_ebos_gasoil.cpp b/flow/flow_ebos_gasoil.cpp index 0b7e2293c..429c21388 100644 --- a/flow/flow_ebos_gasoil.cpp +++ b/flow/flow_ebos_gasoil.cpp @@ -38,10 +38,6 @@ struct EclFlowGasOilProblem { using InheritsFrom = std::tuple; }; } -template -struct EnableDiffusion { - static constexpr bool value = true; -}; //! The indices required by the model template diff --git a/opm/simulators/wells/BlackoilWellModel_impl.hpp b/opm/simulators/wells/BlackoilWellModel_impl.hpp index e4216422d..1f6d33ee5 100644 --- a/opm/simulators/wells/BlackoilWellModel_impl.hpp +++ b/opm/simulators/wells/BlackoilWellModel_impl.hpp @@ -968,7 +968,7 @@ namespace Opm { for (auto& well : well_container_) { well->solveWellEquation(ebosSimulator_, well_state_, local_deferredLogger); } - updateWellControls(local_deferredLogger, /* check group controls */ true); + updateWellControls(local_deferredLogger, /* check group controls */ false); } gliftDebug("assemble() : running assembleWellEq()..", local_deferredLogger);