ad_dif#
- ad_dif(phase, 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:
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_pressure (str) – Name of the dictionary key on the target object pointing to the array containing values of pore pressure
throat_hydraulic_conductance (str) – Name of the dictionary key on the target object pointing to the array containing values of hydraulic conductance
throat_diffusive_conductance (str) – Name of the dictionary key on the target object 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.