gnome.ops.viscosity
Attributes
Functions
|
Initializes the viscosity of the last num_rel elements of a spill container (sc), |
|
Recalculates the viscosity of the elements in a spill container. |
Module Contents
- gnome.ops.viscosity.logger
- gnome.ops.viscosity.init_viscosity(sc, num_released, water=None, aggregate=True)
Initializes the viscosity of the last num_rel elements of a spill container (sc), taking into account environmental conditions.
- Parameters:
sc – spill container
num_released (int) – number of elements to be initialized
water – Water object to use. If None, uses default values
aggregate – Flag for whether to trigger mass balance updates in spill container
- gnome.ops.viscosity.recalc_viscosity(sc, water=None, aggregate=True)
Recalculates the viscosity of the elements in a spill container.
- Parameters:
sc – spill container
water – Water object to use. If None, uses default
aggregate – Flag for whether to trigger mass balance updates in spill container