reservoirflow.grids.RegularCartesian.get_cells_V#

RegularCartesian.get_cells_V(boundary: bool = True, fshape: bool = False, pyvista=False)#

Returns cells volume V.

Parameters:
  • boundary (bool, optional) – include boundary cells.

  • fshape (bool, optional) – reshape to flow shape instead of flatten.

  • pyvista (bool, optional) – use built-in pyvista calculations.

Returns:

array of volume V.

Return type:

ndarray