Merge pull request #3778 from GitPaean/always_inner

[testing] always using inner iterations for testing purpose.
This commit is contained in:
Tor Harald Sandve 2022-04-08 15:44:33 +02:00 committed by GitHub
commit 6f29bf715c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -479,7 +479,7 @@ namespace Opm
// only use inner well iterations for the first newton iterations. // only use inner well iterations for the first newton iterations.
const int iteration_idx = ebosSimulator.model().newtonMethod().numIterations(); const int iteration_idx = ebosSimulator.model().newtonMethod().numIterations();
if (iteration_idx < param_.max_niter_inner_well_iter_) { if (iteration_idx < param_.max_niter_inner_well_iter_ || this->well_ecl_.isMultiSegment()) {
this->operability_status_.solvable = true; this->operability_status_.solvable = true;
bool converged = this->iterateWellEquations(ebosSimulator, dt, well_state, group_state, deferred_logger); bool converged = this->iterateWellEquations(ebosSimulator, dt, well_state, group_state, deferred_logger);