From 31b46b48292cb14d4be3be88b4b231602b772913 Mon Sep 17 00:00:00 2001 From: Vegard Kippe Date: Mon, 15 Jan 2024 12:55:34 +0100 Subject: [PATCH] Revert the choice to open history wells at every step, since this may cause some models to be stuck at very short time steps. --- opm/simulators/wells/BlackoilWellModel_impl.hpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/opm/simulators/wells/BlackoilWellModel_impl.hpp b/opm/simulators/wells/BlackoilWellModel_impl.hpp index fb0fc2438d..a4caddfe36 100644 --- a/opm/simulators/wells/BlackoilWellModel_impl.hpp +++ b/opm/simulators/wells/BlackoilWellModel_impl.hpp @@ -847,10 +847,6 @@ namespace Opm { // repeated timestep cuts. It should therefore not be opened, // even if it was new or received new targets this report step. const bool closed_this_step = (wellTestState().lastTestTime(well_name) == ebosSimulator_.time()); - // Always check if wells on historic controls can be opened - if (!closed_this_step && !well_ecl.predictionMode()) { - wellTestState().open_well(well_name); - } // TODO: more checking here, to make sure this standard more specific and complete // maybe there is some WCON keywords will not open the well auto& events = this->wellState().well(w).events;