packagePartialSimpleIdealGasMedium
Medium model of Ideal gas with constant cp and cv. All other quantities, e.g., transport properties, are constant.
Extends from Interfaces.PartialPureSubstance.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SpecificHeatCapacity | cp_const | Constant specific heat capacity at constant pressure | |
| SpecificHeatCapacity | cv_const | cp_const - R_gas | Constant specific heat capacity at constant volume |
| SpecificHeatCapacity | R_gas | Medium specific gas constant | |
| MolarMass | MM_const | Molar mass | |
| DynamicViscosity | eta_const | Constant dynamic viscosity | |
| ThermalConductivity | lambda_const | Constant thermal conductivity | |
| Temperature | T_min | Minimum temperature valid for medium model | |
| Temperature | T_max | Maximum temperature valid for medium model | |
| Temperature | T0 | reference_T | Zero enthalpy temperature |
| FluidConstants | fluidConstants | Fluid constants |
Contents
| Name | Description |
|---|---|
| ThermodynamicState | Thermodynamic state of ideal gas |
| BaseProperties | Base properties of ideal gas |
| setState_pTX | Return thermodynamic state from p, T, and X or Xi |
| setState_phX | Return thermodynamic state from p, h, and X or Xi |
| setState_psX | Return thermodynamic state from p, s, and X or Xi |
| setState_dTX | Return thermodynamic state from d, T, and X or Xi |
| setSmoothState | Return thermodynamic state so that it smoothly approximates: if x > 0 then state_a else state_b |
| pressure | Return pressure of ideal gas |
| temperature | Return temperature of ideal gas |
| density | Return density of ideal gas |
| specificEnthalpy | Return specific enthalpy |
| specificInternalEnergy | Return specific internal energy |
| specificEntropy | Return specific entropy |
| specificGibbsEnergy | Return specific Gibbs energy |
| specificHelmholtzEnergy | Return specific Helmholtz energy |
| dynamicViscosity | Return dynamic viscosity |
| thermalConductivity | Return thermal conductivity |
| specificHeatCapacityCp | Return specific heat capacity at constant pressure |
| specificHeatCapacityCv | Return specific heat capacity at constant volume |
| isentropicExponent | Return isentropic exponent |
| velocityOfSound | Return velocity of sound |
| specificEnthalpy_pTX | Return specific enthalpy from p, T, and X or Xi |
| temperature_phX | Return temperature from p, h, and X or Xi |
| density_phX | Return density from p, h, and X or Xi |
| isentropicEnthalpy | Return isentropic enthalpy |
| isobaricExpansionCoefficient | Returns overall the isobaric expansion coefficient beta |
| isothermalCompressibility | Returns overall the isothermal compressibility factor |
| density_derp_T | Returns the partial derivative of density with respect to pressure at constant temperature |
| density_derp_h | Returns the partial derivative of density with respect to pressure at constant enthalpy |
| density_derT_p | Returns the partial derivative of density with respect to temperature at constant pressure |
| density_derX | Returns the partial derivative of density with respect to mass fractions at constant pressure and temperature |
| molarMass | Returns the molar mass of the medium |