mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Update comment
Cases with wells with no flow where crossflow is banned is handled in the parser by shutting these wells. They will never be seen by the simulator.
This commit is contained in:
parent
0a5364a1d8
commit
16140c54fc
@ -1051,7 +1051,6 @@ namespace detail {
|
||||
// At least one of the perforation must be open in order to have a meeningful
|
||||
// equation to solve. For the special case where all perforations have reverse flow,
|
||||
// and the target rate is non-zero all of the perforations are keept open.
|
||||
// TODO: Handle the case where all perfororations have reverse flow and the rate is zero
|
||||
if (wells().type[w] == INJECTOR && numInjectingPerforations[w] > 0) {
|
||||
selectProducingPerforations[perf] = 0.0;
|
||||
} else if (wells().type[w] == PRODUCER && numProducingPerforations[w] > 0 ){
|
||||
|
Loading…
Reference in New Issue
Block a user