reservoirflow.models.BlackOil.set_all_boundaries#

BlackOil.set_all_boundaries(cond, v)#

Set the same boundary condition in all boundaries.

Parameters:
  • cond (str) – boundary constant condition. Three conditions are possible: (2) Constant rate: str in [‘rate’, ‘q’], (1) Constant pressure: str in [‘pressure’, ‘press’, ‘p’], (3) Constant pressure gradient: str in [‘gradient’, ‘grad’, ‘g’].

  • v (int, float) – constant value to specify the condition in cond argument.