mole_weighted_average

openpnm.models.phases.mixtures.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 (string) – 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