mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
when there is VREP control, updateRateConverter in prepareStep
in BlackoilModelEbos.
This commit is contained in:
@@ -212,9 +212,13 @@ namespace Opm {
|
||||
/// \param[in, out] reservoir_state reservoir state variables
|
||||
/// \param[in, out] well_state well state variables
|
||||
void prepareStep(const SimulatorTimerInterface& /*timer*/,
|
||||
const ReservoirState& /*reservoir_state*/,
|
||||
const ReservoirState& reservoir_state,
|
||||
WellState& well_state)
|
||||
{
|
||||
if ( wellModel().wellCollection()->havingVREPGroups() ) {
|
||||
updateRateConverter(reservoir_state);
|
||||
}
|
||||
|
||||
well_model_.prepareTimeStep(ebosSimulator_, well_state);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user