mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-13 09:22:05 -05:00
updateWsolvent only after well container is created
This commit is contained in:
1 parent
95e64e86f6
commit
9381b0857b
2 files changed
+4
-2
No files matched your search
@@ -1565,8 +1565,6 @@ updateAndCommunicateGroupData(const int reportStepIdx,
|
|||||||
|
|
||||||
well_state.communicateGroupRates(comm_);
|
well_state.communicateGroupRates(comm_);
|
||||||
this->groupState().communicate_rates(comm_);
|
this->groupState().communicate_rates(comm_);
|
||||||
// compute wsolvent fraction for REIN wells
|
|
||||||
updateWsolvent(fieldGroup, reportStepIdx, well_state_nupcol);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
|||||||
@@ -1331,6 +1331,10 @@ namespace Opm {
|
|||||||
changed_well_individual = comm.sum(changed_well_individual);
|
changed_well_individual = comm.sum(changed_well_individual);
|
||||||
if (changed_well_individual)
|
if (changed_well_individual)
|
||||||
updateAndCommunicate(episodeIdx, iterationIdx, deferred_logger);
|
updateAndCommunicate(episodeIdx, iterationIdx, deferred_logger);
|
||||||
|
|
||||||
|
// update wsolvent fraction for REIN wells
|
||||||
|
const Group& fieldGroup = schedule().getGroup("FIELD", episodeIdx);
|
||||||
|
updateWsolvent(fieldGroup, episodeIdx, this->nupcolWellState());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user