.MultiPhaseMixture.Interfaces.massToMoleFractions

Information

Compute mole fraction vector from mass fraction vector

Interface

function massToMoleFractions
  extends Modelica.Icons.Function;
  input Modelica.SIunits.MassFraction X[:] "Mass fractions of mixture";
  input Modelica.SIunits.MolarMass[size(X, 1)] MMX "Molar masses of components";
  output Modelica.SIunits.MoleFraction moleFractions[size(X, 1)] "Mole fractions of gas mixture";
end massToMoleFractions;

Generated at 2025-01-21T19:25:52Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos