This function converts a given mole ratio or mole fraction to the mass fraction using the respective molar masses.
No physical effects considered.
(no remarks)
(no remarks)
(no elements)
(no remarks)
This function is used best in combination with one of the "getMolarMasses"-functions.
(no remarks)
(no remarks)
Created by Philipp Jahneke (philipp.koziol@tuhh.de), Jul 2018
function convertMoleToMassFraction extends TransiEnt.Basics.Icons.Function; input Real x[:] "vector of molar composition / mole fraction / mole ratio"; input Real M[size(x, 1) + 1] "vector of molar masses"; output Real xi[size(x, 1)] "vector of mass fraction"; end convertMoleToMassFraction;