.MultiPhaseMixture.Interfaces.moleToMassFractions

Compute mass fractions vector from mole fractions and molar masses

Interface

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

Generated at 2026-05-04T18:18:56Z by OpenModelicaOpenModelica 1.26.7 using GenerateDoc.mos