Skip to main content
Version: 8.1

system.thermo.if97.heatCapacityRatio

Calculates heat capacity ratio (Cp/Cv).

Syntax

system.thermo.if97.heatCapacityRatio(h, s) # Enthalpy and Entropy
system.thermo.if97.heatCapacityRatio(p, h) # Pressure and Enthalpy
system.thermo.if97.heatCapacityRatio(p, s) # Pressure and Entropy
system.thermo.if97.heatCapacityRatio(p, t) # Pressure and Temperature
info

This function must be called with named parameters.

Parameters

TypeParameterDescription
DoublehSpecific Enthalpy (J/kg)
DoublepAbsolute Pressure (Pa)
DoublesSpecific Entropy (J/(kg·K))
DoubletTemperature (K)

Returns

Double - Heat Capacity Ratio (Cp/Cv)

Aso known as the adiabatic index, the ratio of specific heat, or Laplace's coefficient.

Scope

Gateway, Designer, Client, Perspective Session

Example

Pressure and Temperature

p = 200000
t = 300
result = system.thermo.if97.heatCapacityRatio(p=p, t=t)
print result
Result
1.01221675637