Basic Functions for ideal gases: cp, h, s, thermal conductivity, viscosity
Extends from Modelica.Icons.Package (Icon for standard packages).
Name | Description |
---|---|
excludeEnthalpyOfFormation=true | If true, enthalpy of formation Hf is not included in specific enthalpy h |
referenceChoice=Modelica.Media.Interfaces.Choices.ReferenceEnthalpy.ZeroAt0K | Choice of reference enthalpy |
h_offset=0.0 | User defined offset for reference enthalpy, if referenceChoice = UserDefined |
methodForThermalConductivity=1 | |
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 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 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) |
Compute specific heat capacity at constant pressure from temperature and gas data
Extends from Modelica.Icons.Function (Icon for functions).
Name | Description |
---|---|
data | Ideal gas data |
T | Temperature [K] |
Name | Description |
---|---|
cp | Specific heat capacity at temperature T [J/(kg.K)] |
Compute specific heat capacity at constant pressure, low T region
Extends from Modelica.Icons.Function (Icon for functions).
Name | Description |
---|---|
data | Ideal gas data |
T | Temperature [K] |
Name | Description |
---|---|
cp | Specific heat capacity at temperature T [J/(kg.K)] |
Compute specific heat capacity at constant pressure, low T region
Extends from Modelica.Icons.Function (Icon for functions).
Name | Description |
---|---|
data | Ideal gas data |
T | Temperature [K] |
dT | Temperature derivative |
Name | Description |
---|---|
cp_der | Derivative of specific heat capacity |
Compute specific enthalpy from temperature and gas data; reference is decided by the refChoice input, or by the referenceChoice package constant by default
Extends from Modelica.Icons.Function (Icon for functions).
Name | Description |
---|---|
data | Ideal gas data |
T | Temperature [K] |
exclEnthForm | If true, enthalpy of formation Hf is not included in specific enthalpy h |
refChoice | Choice of reference enthalpy |
h_off | User defined offset for reference enthalpy, if referenceChoice = UserDefined [J/kg] |
Name | Description |
---|---|
h | Specific enthalpy at temperature T [J/kg] |
Derivative function for h_T
Extends from Modelica.Icons.Function (Icon for functions).
Name | Description |
---|---|
data | Ideal gas data |
T | Temperature [K] |
exclEnthForm | If true, enthalpy of formation Hf is not included in specific enthalpy h |
refChoice | Choice of reference enthalpy |
h_off | User defined offset for reference enthalpy, if referenceChoice = UserDefined [J/kg] |
dT | Temperature derivative |
Name | Description |
---|---|
h_der | Specific enthalpy at temperature T |
Compute specific enthalpy, low T region; reference is decided by the refChoice input, or by the referenceChoice package constant by default
Extends from Modelica.Icons.Function (Icon for functions).
Name | Description |
---|---|
data | Ideal gas data |
T | Temperature [K] |
exclEnthForm | If true, enthalpy of formation Hf is not included in specific enthalpy h |
refChoice | Choice of reference enthalpy |
h_off | User defined offset for reference enthalpy, if referenceChoice = UserDefined [J/kg] |
Name | Description |
---|---|
h | Specific enthalpy at temperature T [J/kg] |
Compute specific enthalpy, low T region; reference is decided by the refChoice input, or by the referenceChoice package constant by default
Extends from Modelica.Icons.Function (Icon for functions).
Name | Description |
---|---|
data | Ideal gas data |
T | Temperature [K] |
exclEnthForm | If true, enthalpy of formation Hf is not included in specific enthalpy h |
refChoice | Choice of reference enthalpy |
h_off | User defined offset for reference enthalpy, if referenceChoice = UserDefined [J/kg] |
dT | Temperature derivative [K/s] |
Name | Description |
---|---|
h_der | Derivative of specific enthalpy at temperature T [J/(kg.s)] |
Compute specific entropy from temperature and gas data
Extends from Modelica.Icons.Function (Icon for functions).
Name | Description |
---|---|
data | Ideal gas data |
T | Temperature [K] |
Name | Description |
---|---|
s | Specific entropy at temperature T [J/(kg.K)] |
Compute specific entropy, low T region
Extends from Modelica.Icons.Function (Icon for functions).
Name | Description |
---|---|
data | Ideal gas data |
T | Temperature [K] |
Name | Description |
---|---|
s | Specific entropy at temperature T [J/(kg.K)] |
Compute derivative of specific entropy, low T region
Extends from Modelica.Icons.Function (Icon for functions).
Name | Description |
---|---|
data | Ideal gas data |
T | Temperature [K] |
T_der | Temperature derivative |
Name | Description |
---|---|
s | Specific entropy at temperature T [J/(kg.K)] |
Dynamic viscosity of low pressure gases
The used formula are based on the method of Chung et al (1984, 1988) referred to in ref [1] chapter 9. The formula 9-4.10 is the one being used. The Formula is given in non-SI units, the following conversion constants were used to transform the formula to SI units:
[1] Bruce E. Poling, John E. Prausnitz, John P. O'Connell, "The Properties of Gases and Liquids" 5th Ed. Mc Graw Hill.
T. Skoglund, Lund, Sweden, 2004-08-31
Extends from Modelica.Icons.Function (Icon for functions).
Name | Description |
---|---|
T | Gas temperature [K] |
Tc | Critical temperature of gas [K] |
M | Molar mass of gas [kg/mol] |
Vc | Critical molar volume of gas [m3/mol] |
w | Acentric factor of gas |
mu | Dipole moment of gas molecule [debye] |
k | Special correction for highly polar substances |
Name | Description |
---|---|
eta | Dynamic viscosity of gas [Pa.s] |
Thermal conductivity of polyatomic gases(Eucken and Modified Eucken correlation)
This function provides two similar methods for estimating the
thermal conductivity of polyatomic gases.
The Eucken method (input method == 1) gives good results for low temperatures,
but it tends to give an underestimated value of the thermal conductivity
(lambda) at higher temperatures.
The Modified Eucken method (input method == 2) gives good results for
high-temperatures, but it tends to give an overestimated value of the
thermal conductivity (lambda) at low temperatures.
Extends from Modelica.Icons.Function (Icon for functions).
Name | Description |
---|---|
Cp | Constant pressure heat capacity [J/(kg.K)] |
eta | Dynamic viscosity [Pa.s] |
method | 1: Eucken Method, 2: Modified Eucken Method |
data | Ideal gas data |
Name | Description |
---|---|
lambda | Thermal conductivity [W/(m.k)] [W/(m.K)] |