mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #5015 from GitPaean/no_explicit_updating
not updating connection pressure for StandardWell early in computeWellRatesWithBhpIterations.
This commit is contained in:
commit
4aa1cac099
@ -1438,7 +1438,9 @@ namespace Opm
|
||||
well_state_copy.wellRates(this->index_of_well_)[phase]
|
||||
= sign * ws.well_potentials[phase];
|
||||
}
|
||||
well_copy.calculateExplicitQuantities(ebosSimulator, well_state_copy, deferred_logger);
|
||||
well_copy.updatePrimaryVariables(summary_state, well_state_copy, deferred_logger);
|
||||
well_copy.initPrimaryVariablesEvaluation();
|
||||
well_copy.computeAccumWell();
|
||||
|
||||
const double dt = ebosSimulator.timeStepSize();
|
||||
const bool converged = well_copy.iterateWellEqWithControl(ebosSimulator, dt, inj_controls, prod_controls, well_state_copy, group_state, deferred_logger);
|
||||
|
Loading…
Reference in New Issue
Block a user