- mole_to_mass_fraction(phase, MWs='param.molecular_weight.*')[source]#
Convert mole fraction to mass fraction
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.
MWs (str (dict key) or dict of numeric values for each species) –