From 98b86e891afb427c7c7342155b15bd03319056d5 Mon Sep 17 00:00:00 2001 From: Tor Harald Sandve Date: Tue, 8 Dec 2020 12:55:46 +0100 Subject: [PATCH] remove 16 days restriction for timestep in prediciton mode --- opm/simulators/timestepping/AdaptiveTimeStepping.hpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/opm/simulators/timestepping/AdaptiveTimeStepping.hpp b/opm/simulators/timestepping/AdaptiveTimeStepping.hpp index d3166a252..5c20656d4 100644 --- a/opm/simulators/timestepping/AdaptiveTimeStepping.hpp +++ b/opm/simulators/timestepping/AdaptiveTimeStepping.hpp @@ -329,13 +329,6 @@ void registerAdaptiveParameters(); restarts = 0; } - // Further restrict time step size if we are in - // prediction mode with THP constraints. - if (solver.model().wellModel().hasTHPConstraints()) { - const double maxPredictionTHPTimestep = 16.0 * unit::day; - dtEstimate = std::min(dtEstimate, maxPredictionTHPTimestep); - } - assert(dtEstimate > 0); if (timestepVerbose_) { std::ostringstream ss; substepReport.reportStep(ss);