functionconvertMoleToMassFraction
Converts mole ratio/fraction to mass fraction
Extends from TransiEnt.Basics.Icons.Function.
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
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[:] | x | vector of molar composition / mole fraction / mole ratio | |
| Real[size(x, 1) + 1] | M | vector of molar masses |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[size(x, 1)] | xi | vector of mass fraction |