reservoirflow.grids.RegularCartesian.get_cell_Az#

RegularCartesian.get_cell_Az(id=None, coords=None)#

Returns cell cross-sectional area Az.

Parameters:
  • id (int, iterable of int) – cell id based on natural order as int. For multiple cells, list of int [id,id,..] or tuple of int (id,id,…). NotFullyImplemented.

  • coords (iterable of int, iterable of tuples of int, by default) – None cell coordinates (i,j,k) as a tuple of int. For multiple cells, tuple of tuples of int as ((i,j,k),(i,j,k),..). NotFullyImplemented.

Returns:

scaler of Az.

Return type:

int, float

Raises:

ValueError – id or coords argument must be defined.