diff --git a/opm/simulators/flow/BlackoilModelParameters.hpp b/opm/simulators/flow/BlackoilModelParameters.hpp index 58509e815a..55ed751d5e 100644 --- a/opm/simulators/flow/BlackoilModelParameters.hpp +++ b/opm/simulators/flow/BlackoilModelParameters.hpp @@ -102,7 +102,7 @@ struct TolerancePressureMsWells { static constexpr Scalar value = 0.01*1e5; }; template struct MaxPressureChangeMsWells { static constexpr Scalar value = 10*1e5; }; -struct MaxNewtonIterationsWithInnerWellIterations { static constexpr int value = 8; }; +struct MaxNewtonIterationsWithInnerWellIterations { static constexpr int value = 99; }; struct MaxInnerIterMsWells { static constexpr int value = 100; }; struct MaxInnerIterWells { static constexpr int value = 50; }; struct MaxWellStatusSwitchInInnerIterWells { static constexpr int value = 99; }; diff --git a/opm/simulators/wells/WellInterface_impl.hpp b/opm/simulators/wells/WellInterface_impl.hpp index c7c584931c..ae719340a3 100644 --- a/opm/simulators/wells/WellInterface_impl.hpp +++ b/opm/simulators/wells/WellInterface_impl.hpp @@ -996,7 +996,7 @@ namespace Opm // only use inner well iterations for the first newton iterations. const int iteration_idx = simulator.model().newtonMethod().numIterations(); - if (iteration_idx < this->param_.max_niter_inner_well_iter_ || this->well_ecl_.isMultiSegment()) { + if (iteration_idx < this->param_.max_niter_inner_well_iter_) { const auto& ws = well_state.well(this->indexOfWell()); const bool nonzero_rate_original = std::any_of(ws.surface_rates.begin(),