mol_to_mass_fractions
#
- mbgdml.structure_gen.utils.mol_to_mass_fractions(mol_fractions, molar_masses)[source]#
Computes the mass fraction of all species present.
- Parameters:
mole_fractions (
numpy.ndarray
, ndim:1
) – Mole fractions of each species in the system.molar_masses (
numpy.ndarray
, ndim:1
) – Molar mass fo each species in g/mol.
- Returns:
Mass fractions of each species.
- Return type: