packageFunctions
Basic Functions for ideal gases: cp, h, s, thermal conductivity, viscosity
Extends from Modelica.Icons.FunctionsPackage (Icon for packages containing functions).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | excludeEnthalpyOfFormation | true | If true, enthalpy of formation Hf is not included in specific enthalpy h |
| Modelica.Media.Interfaces.Choices.ReferenceEnthalpy | referenceChoice | Modelica.Media.Interfaces.Choices.ReferenceEnthalpy.ZeroAt0K | Choice of reference enthalpy |
| Modelica.Media.Interfaces.Types.SpecificEnthalpy | h_offset | 0.0 | User defined offset for reference enthalpy, if referenceChoice = UserDefined |
| Integer | methodForThermalConductivity | 1 |
Contents
| Name | Description |
|---|---|
| Compute specific heat capacity at constant pressure from temperature and gas data | |
| Compute specific heat capacity at constant pressure, low T region | |
| Compute derivative of specific heat capacity at constant pressure, low T region | |
| Compute specific enthalpy from temperature and gas data; reference is decided by the refChoice input, or by the referenceChoice package constant by default | |
| Derivative function for h_T | |
| Compute specific enthalpy, low T region; reference is decided by the refChoice input, or by the referenceChoice package constant by default | |
| Compute derivative of specific enthalpy, low T region; reference is decided by the refChoice input, or by the referenceChoice package constant by default | |
| Compute specific entropy from temperature and gas data | |
| Compute specific entropy, low T region | |
| Compute derivative of specific entropy, low T region | |
| Dynamic viscosity of low pressure gases | |
| Thermal conductivity of polyatomic gases (Eucken and Modified Eucken correlation) |