Merge pull request #3588 from totto82/improve_switch_output

make multiple well control switching output more readable
This commit is contained in:
Atgeirr Flø Rasmussen
2021-10-14 10:56:53 +02:00
committed by GitHub
5 changed files with 37 additions and 9 deletions

View File

@@ -461,6 +461,10 @@ namespace Opm {
well->updateWaterThroughput(dt, this->wellState());
}
}
// report well switching
for (const auto& well : well_container_) {
well->reportWellSwitching(this->wellState().well(well->indexOfWell()), local_deferredLogger);
}
// update the rate converter with current averages pressures etc in
rateConverter_->template defineState<ElementContext>(ebosSimulator_);