mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #3184 from totto82/fixZeroInit
Improve initialization of the well rates for trivial rates
This commit is contained in:
@@ -422,6 +422,7 @@ namespace Opm {
|
||||
const bool event = report_step_starts_ && events.hasEvent(well->name(), effective_events_mask);
|
||||
if (event) {
|
||||
try {
|
||||
well->updateWellStateWithTarget(ebosSimulator_, this->wellState(), local_deferredLogger);
|
||||
well->calculateExplicitQuantities(ebosSimulator_, this->wellState(), local_deferredLogger);
|
||||
well->solveWellEquation(ebosSimulator_, this->wellState(), this->groupState(), local_deferredLogger);
|
||||
} catch (const std::exception& e) {
|
||||
|
||||
Reference in New Issue
Block a user