imod.evaluate.flow_velocity#

imod.evaluate.flow_velocity(front: DataArray, lower: DataArray, right: DataArray, top_bot: DataArray, porosity: float = 0.3) Tuple[DataArray, DataArray, DataArray][source]#

Compute flow velocities (m/d) from budgets (m3/d).

Parameters:
  • front (xr.DataArray of floats, optional) – Dimensions must be exactly ("layer", "y", "x").

  • lower (xr.DataArray of floats, optional) – Dimensions must be exactly ("layer", "y", "x").

  • right (xr.DataArray of floats, optional) – Dimensions must be exactly ("layer", "y", "x").

  • top_bot (xr.Dataset of floats, containing 'top', 'bot' and optionally) – ‘dz’ of layers. Dimensions must be exactly ("layer", "y", "x").

  • porosity (float or xr.DataArray of floats, optional (default 0.3)) – If xr.DataArray, dimensions must be exactly ("layer", "y", "x").

Returns:

vx, vy, vz – Velocity components in x, y, z direction.

Return type:

xr.DataArray of floats