conduit_conductance

openpnm.models.physics.multiphase.conduit_conductance(target, throat_conductance, throat_occupancy='throat.occupancy', pore_occupancy='pore.occupancy', mode='strict', factor=1e-06)[source]

Determines the conductance of a pore-throat-pore conduit based on the invaded state of each element.

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.

  • throat_conductance (str) – Name of the dictionary key on target pointing to the array containing values of throat conductance for transport

  • pore_occupancy (str) – Name of the dictionary key on target pointing to the array containing values of pore occupancy of the phase associated with target. An occupancy of 1 means the pore is completely filled with the phase and it fully conducts.

  • throat_occupancy (str) – Name of the dictionary key on target pointing to the array containing values of throat occupancy of the phase associated with target. An occupancy of 1 means the pore is completely filled with the phase and it fully conducts.

  • mode (str) –

    How agressive the method should be when determining if a conduit is closed. Options are:

    Mode

    Description

    strict

    If any pore or throat in the conduit is unoccupied by the given phase, the conduit is closed.

    medium

    If either the throat or both pores are unoccupied, the conduit is closed

    loose

    Only close the conduit if the throat is unoccupied

  • factor (float (default is 1e-6)) – The factor which becomes multiplied to the original conduit’s conductance to severely limit transport, but not set it to zero.

Returns

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

Return type

ndarray