Not return from the WellNode:applyInjGroupControl
unless we prevent the well from group control with keyword WGRUPCON.
This commit is contained in:
parent
c5958da6c9
commit
3bdf0eae11
@ -813,10 +813,13 @@ namespace Opm
|
|||||||
const bool forced)
|
const bool forced)
|
||||||
{
|
{
|
||||||
// Not changing if we're not forced to change
|
// Not changing if we're not forced to change
|
||||||
if (!forced
|
// It should be the well will under group control, if we prevent the well from group control
|
||||||
&& (injSpec().control_mode_ != InjectionSpecification::GRUP && injSpec().control_mode_ != InjectionSpecification::NONE)) {
|
// with keyword WGRUPCON.
|
||||||
return;
|
// It is just current undertstanding, while further change in the understanding will be possible.
|
||||||
}
|
// if (!forced
|
||||||
|
// && (injSpec().control_mode_ != InjectionSpecification::GRUP && injSpec().control_mode_ != InjectionSpecification::NONE)) {
|
||||||
|
// return;
|
||||||
|
// }
|
||||||
if (wells_->type[self_index_] != INJECTOR) {
|
if (wells_->type[self_index_] != INJECTOR) {
|
||||||
assert(target == 0.0);
|
assert(target == 0.0);
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user