conduit_conductance#
- conduit_conductance(phase, 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:
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.
throat_conductance (str) – Name of the dictionary key on the target object pointing to the array containing values of throat conductance for transport
pore_occupancy (str) – Name of the dictionary key on the target object pointing to the array containing values of pore occupancy of the phase associated with
phase
. 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 the target object pointing to the array containing values of throat occupancy of the phase associated with
phase
. 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