generic_hydraulic#

generic_hydraulic(phase, pore_viscosity='pore.viscosity', throat_viscosity='throat.viscosity', size_factors='throat.hydraulic_size_factors')[source]#

Calculates the hydraulic conductance of conduits in network.

Parameters:
  • phase (OpenPNM Phase object) – The phase object to which this model is associated (i.e. attached). This controls the length of the calculated array(s), and also provides access to other necessary properties.

  • pore_viscosity (str) – Name of the dictionary key on the target object pointing to the array containing values of pore viscosity

  • throat_viscosity (str) – Name of the dictionary key on the target object pointing to the array containing values of throat viscosity

  • size_factors (str) – Name of the dictionary key on the target object pointing to the array containing values of conduit hydraulic size factors

Returns:

values – A numpy ndarray containing the computed values of hydraulic conductance

Return type:

ndarray