generic_electrical¶
- openpnm.models.physics.electrical_conductance.generic_electrical(target, pore_conductivity='pore.electrical_conductivity', throat_conductivity='throat.electrical_conductivity', size_factors='throat.diffusive_size_factors')[source]¶
Calculate the electrical conductance of conduits in network, where a conduit is ( 1/2 pore - full throat - 1/2 pore ). See the notes section.
- 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_conductivity (str) – Name of the dictionary key on
target
pointing to the array containing values of pore electrical conductivitythroat_conductivity (str) – Name of the dictionary key on
target
pointing to the array containing values of throat electrical conductivitysize_factors (str) – Name of the dictionary key on
target
pointing to the array containing values of conduit diffusive size factors
- Returns
values – A numpy ndarray containing the computed values of electrical conductance
- Return type
ndarray