mole_weighted_average#

mole_weighted_average(target, prop)[source]#
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.

  • prop (str) – The dictionary key to the property to be averaged.

Returns

vals – An ND-array containing the mole fraction weighted average value of the specified property.

Return type

ND-array