mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-26 17:20:59 -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);
|
||||
continue;
|
||||
} 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
|
||||
this->wellState().stopWell(w);
|
||||
wellIsStopped = true;
|
||||
|
Loading…
Reference in New Issue
Block a user