mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #3934 from totto82/stopnocross
stopped wells where cross flow is not allowed are not added to the container
This commit is contained in:
commit
147fe77779
@ -631,6 +631,12 @@ namespace Opm {
|
|||||||
this->wellState().shutWell(w);
|
this->wellState().shutWell(w);
|
||||||
continue;
|
continue;
|
||||||
} else {
|
} else {
|
||||||
|
if (!well_ecl.getAllowCrossFlow()) {
|
||||||
|
// stopped wells where cross flow is not allowed
|
||||||
|
// are not added to the well container
|
||||||
|
this->wellState().shutWell(w);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
// stopped wells are added to the container but marked as stopped
|
// stopped wells are added to the container but marked as stopped
|
||||||
this->wellState().stopWell(w);
|
this->wellState().stopWell(w);
|
||||||
wellIsStopped = true;
|
wellIsStopped = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user