From 8083765a655dae5917b1a49b67a52368f8fb40c6 Mon Sep 17 00:00:00 2001 From: Tor Harald Sandve Date: Tue, 8 Aug 2023 12:19:36 +0200 Subject: [PATCH] Include production/injection update as timestepping event --- opm/simulators/flow/SimulatorFullyImplicitBlackoilEbos.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/opm/simulators/flow/SimulatorFullyImplicitBlackoilEbos.hpp b/opm/simulators/flow/SimulatorFullyImplicitBlackoilEbos.hpp index f8f3ca6ab..5cad3c44e 100644 --- a/opm/simulators/flow/SimulatorFullyImplicitBlackoilEbos.hpp +++ b/opm/simulators/flow/SimulatorFullyImplicitBlackoilEbos.hpp @@ -410,6 +410,8 @@ public: bool event = events.hasEvent(ScheduleEvents::NEW_WELL) || events.hasEvent(ScheduleEvents::INJECTION_TYPE_CHANGED) || events.hasEvent(ScheduleEvents::WELL_SWITCHED_INJECTOR_PRODUCER) || + events.hasEvent(ScheduleEvents::PRODUCTION_UPDATE) || + events.hasEvent(ScheduleEvents::INJECTION_UPDATE) || events.hasEvent(ScheduleEvents::WELL_STATUS_CHANGE); auto stepReport = adaptiveTimeStepping_->step(timer, *solver_, event, nullptr); report_ += stepReport;