porespy.beta.flux#
- porespy.beta.flux(c, axis, k=None)#
Computes the layer-by-layer diffusive flux in a given direction.
- Parameters:
c (ndarray) – The concentration field
axis (int) – The axis along which the flux is computed
k (ndarray) – The conductivity field
- Returns:
J – The layer-by-layer flux in the given direction
- Return type:
ndarray