mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
set reservoir rate to zero for shut wells
This commit is contained in:
parent
a95459e6ff
commit
8218f81183
@ -677,6 +677,7 @@ namespace Opm {
|
|||||||
const int np = numPhases();
|
const int np = numPhases();
|
||||||
for (int p = 0; p < np; ++p) {
|
for (int p = 0; p < np; ++p) {
|
||||||
well_state_.wellRates()[np * w + p] = 0.;
|
well_state_.wellRates()[np * w + p] = 0.;
|
||||||
|
well_state_.wellReservoirRates()[np * w + p] = 0.;
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user