multiphase_diffusion

openpnm.models.physics.diffusive_conductance.multiphase_diffusion(target, pore_diffusivity='pore.diffusivity', throat_diffusivity='throat.diffusivity', size_factors='throat.diffusive_size_factors', partition_coef_global='throat.partition_coef.all')[source]

Calculates the 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_diffusivity (str) – Name of the dictionary key on target pointing to the array containing values of pore diffusivity

  • throat_diffusivity (str) – Name of the dictionary key on target pointing to the array containing values of throat diffusivity

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

Returns

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

Return type

ndarray

Notes

This method assumes that phase["partition_coef"] contains information on binary phase partitioning. See MultiPhase class documentation for more information.