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
Type | Parameter | Description |
---|---|---|
Double | h | Specific Enthalpy (J/kg) |
Double | p | Absolute Pressure (Pa) |
Double | s | Specific Entropy (J/(kg·K)) |
Double | t | Temperature (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