Implement total rate constraint for wells.
Untested.
This commit is contained in:
parent
405900ac39
commit
fb2192a7ed
@ -715,6 +715,11 @@ assemble_well_contrib(size_t nc,
|
||||
}
|
||||
|
||||
is_neumann = is_neumann && (! is_bhp);
|
||||
|
||||
if (! is_bhp) {
|
||||
/* Enforce total (reservoir volume) rate constraint. */
|
||||
h->b[nc + w] += wctrl->target[w];
|
||||
}
|
||||
}
|
||||
|
||||
return is_neumann;
|
||||
|
Loading…
Reference in New Issue
Block a user