mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
not updating the connection pressure for StandardWell
at the early stage of computeWellRatesWithBhpIterations. The perforation rates are not updated, and it is not sensible to update based on the inconsistent well rates and perforation rates. Better to keep the original explicit quantities for better consistency. Furthermore, it can be dangerous to update the explicit quantities based on the irrelevant perforation rates, since the ratios can be very undesirable due to crossflow.
This commit is contained in:
parent
8f6b2b99e7
commit
3aed0b9501
@ -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