mole_summation#

mole_summation(phase)[source]#

Computes total mole fraction in each pore given component values

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.

Returns:

vals – An ND-array containing the total mole fraction. Note that this is not guaranteed to sum to 1.0.

Return type:

ND-array