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