mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
finish the injecivity functionality
the result looks okay
This commit is contained in:
@@ -365,11 +365,14 @@ namespace Opm {
|
||||
template<typename TypeTag>
|
||||
void
|
||||
BlackoilWellModel<TypeTag>::
|
||||
timeStepSucceeded(const double& simulationTime) {
|
||||
timeStepSucceeded(const double& simulationTime, const double dt) {
|
||||
// TODO: when necessary
|
||||
rateConverter_->template defineState<ElementContext>(ebosSimulator_);
|
||||
for (const auto& well : well_container_) {
|
||||
well->calculateReservoirRates(well_state_);
|
||||
if (GET_PROP_VALUE(TypeTag, EnablePolymerMW) && well->wellType() == INJECTOR) {
|
||||
well->updateWaterThroughput(dt, well_state_);
|
||||
}
|
||||
}
|
||||
updateWellTestState(simulationTime, wellTestState_);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user