Merge pull request #6128 from totto82/useNupcolRatesInGuideRateScaling

Use well rates from well_state_nupcol instead of previous_well_state in updateWellRates
This commit is contained in:
Kai Bao authored and GitHub committed 2025-04-02 12:41:50 +02:00
commit 5c17f27c88
1 file changed
+1 -2
@@ -1387,11 +1387,10 @@ updateAndCommunicateGroupData(const int reportStepIdx,
well_state_nupcol,
this->groupState());
// We use the rates from the previous time-step to reduce oscillations
WellGroupHelpers<Scalar>::updateWellRates(fieldGroup,
schedule(),
reportStepIdx,
this->prevWellState(),
well_state_nupcol,
well_state);
// Set ALQ for off-process wells to zero