mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-01 21:39:09 -06:00
updateWsolvent only after well container is created
This commit is contained in:
parent
95e64e86f6
commit
9381b0857b
@ -1565,8 +1565,6 @@ updateAndCommunicateGroupData(const int reportStepIdx,
|
||||
|
||||
well_state.communicateGroupRates(comm_);
|
||||
this->groupState().communicate_rates(comm_);
|
||||
// compute wsolvent fraction for REIN wells
|
||||
updateWsolvent(fieldGroup, reportStepIdx, well_state_nupcol);
|
||||
}
|
||||
|
||||
bool
|
||||
|
@ -1331,6 +1331,10 @@ namespace Opm {
|
||||
changed_well_individual = comm.sum(changed_well_individual);
|
||||
if (changed_well_individual)
|
||||
updateAndCommunicate(episodeIdx, iterationIdx, deferred_logger);
|
||||
|
||||
// update wsolvent fraction for REIN wells
|
||||
const Group& fieldGroup = schedule().getGroup("FIELD", episodeIdx);
|
||||
updateWsolvent(fieldGroup, episodeIdx, this->nupcolWellState());
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user