ad_dif

openpnm.models.physics.ad_dif_conductance.ad_dif(target, pore_pressure='pore.pressure', throat_hydraulic_conductance='throat.hydraulic_conductance', throat_diffusive_conductance='throat.diffusive_conductance', s_scheme='powerlaw')[source]

Calculates the advective-diffusive conductance of conduits in network.

Parameters
  • target (OpenPNM Base object) – Object with which this model is associated. This controls the length of the calculated array, and also provides access to other necessary properties.

  • pore_pressure (str) – Name of the dictionary key on target pointing to the array containing values of pore pressure

  • throat_hydraulic_conductance (str) – Name of the dictionary key on target pointing to the array containing values of hydraulic conductance

  • throat_diffusive_conductance (str) – Name of the dictionary key on target pointing to the array containing values of throat diffusive conductance

  • s_scheme (str) – Name of the space discretization scheme to use

Returns

values – A numpy ndarray containing the computed values of advection-diffuvsion conductance values

Return type

ndarray

Notes

This function calculates the specified property for the entire network then extracts the values for the appropriate throats at the end.

This function assumes cylindrical throats with constant cross-section area. Corrections for different shapes and variable cross-section area can be imposed by passing the proper conduit_shape_factors argument when computing the diffusive and hydraulic conductances.

shape_factor depends on the physics of the problem, i.e. diffusion-like processes and fluid flow need different shape factors.