Theory
The specific heat capacity of air rises from 1005 J/(kg K) at room temperature to about 1136 J/(kg K) at 700 °C; that of exhaust gas rises more (water vapour and CO₂). With a hot gas and heat transfer, a constant therefore misstates the enthalpy carried by the flow and the ratio that sets the speed of sound.
With "temperature":
- The molar heat capacity of the gas is the 7-coefficient polynomial of equation (1), with one set of coefficients below and one above the common temperature 1000 K.
- The mixture coefficients are the mole-fraction-weighted sums of the species coefficients of N₂, O₂, Ar, CO₂ and H₂O (exact for an ideal-gas mixture of fixed composition). The program writes them into the solver's
thermophysicalPropertiestogether with the mixture molar mass. - The molar mass and boxes show the mixture's values and are locked.
- Enthalpy differences (heat balance) are integrals of the same polynomial, equation (2).
With "constant", Specific heat capacity cp and Molar mass are used as typed, for any fluid.
The model also serves incompressible and acoustics-only cases: the density uses the molar mass, and the acoustics the ratio .
Equations
| where | meaning | unit |
|---|---|---|
| Specific heat capacity at constant pressure | J/(kg K) | |
| Molar mass of the mixture | kg/kmol | |
| Universal gas constant, 8314.47 | J/(kmol K) | |
| Mixture polynomial coefficients (low or high set) | - | |
| Sensible enthalpy relative to 298.15 K | J/kg | |
| Ratio of heat capacities | - |
Default and rule
- Default
- temperature (cp(T) of the selected gas)
- Rule
Temperature. A saved case without this setting is read as "constant" when its molar mass or differ from the defaults (28.9644 kg/kmol, 1006 J/(kg K)), so typed values are kept; otherwise as "temperature".
- Source
The species data are the NASA Glenn 9-term polynomials (McBride et al., 2002). The program fits the 7-term form of equation (1) to them once per species:
- least squares on over 200-1000 K and 1000-3000 K;
- continuous at 1000 K and exact at 298.15 K;
- enthalpy and entropy constants matched at 298.15 K.
The fit stays within 0.11 % of the NASA from 250 to 1500 K (0.34 % worst over 200-3000 K). The resulting of air agrees with standard heat-transfer textbook tables within ±0.5 %. The coefficients are written to the solver's
constant/thermophysicalPropertieswithjanafthermodynamics.
Valid range temperature | constant
Verified
Checked on real runs (2026-11-11): the solver selects the janaf package; a heat-transfer muffler run with it closed its energy balance to 0.7 %, with cp 1034 J/(kg K) at 523 K.
Data not readable
When the program's species data cannot be read, the gas falls back to the constant and molar mass with a warning; the program never substitutes estimated values.
Validity
The fitted polynomials are valid from 200 to 3000 K. The composition is frozen (no dissociation or reaction).