mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Add a TODO comment to updateWellControls().
This commit is contained in:
parent
fce7247da5
commit
9e664abe6e
@ -1071,6 +1071,8 @@ namespace Opm {
|
|||||||
for (int phase = 0; phase < np; ++phase) {
|
for (int phase = 0; phase < np; ++phase) {
|
||||||
if (distr[phase] > 0.0) {
|
if (distr[phase] > 0.0) {
|
||||||
xw.wellRates()[np * w + phase] = target * distr[phase];
|
xw.wellRates()[np * w + phase] = target * distr[phase];
|
||||||
|
// TODO: consider changing all (not just top) segment rates
|
||||||
|
// to make them consistent, it could perhaps improve convergence.
|
||||||
xw.segPhaseRates()[np * xw.topSegmentLoc()[w] + phase] = target * distr[phase];
|
xw.segPhaseRates()[np * xw.topSegmentLoc()[w] + phase] = target * distr[phase];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user