.TransiEnt.Basics.Functions.GasProperties.convertMoleToMassFraction

Information

1. Purpose of model

This function converts a given mole ratio or mole fraction to the mass fraction using the respective molar masses.

2. Level of detail, physical effects considered, and physical insight

No physical effects considered.

3. Limits of validity

(no remarks)

4. Interfaces

(no remarks)

5. Nomenclature

(no elements)

6. Governing Equations

(no remarks)

7. Remarks for Usage

This function is used best in combination with one of the "getMolarMasses"-functions.

8. Validation

(no remarks)

9. References

(no remarks)

10. Version History

Created by Philipp Jahneke (philipp.koziol@tuhh.de), Jul 2018

Interface

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;

Generated at 2024-11-23T19:25:52Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos