Skip to main content
Version: 8.1

system.thermo.if97.speedOfSound

Calculates the speed of sound.

Syntax​

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

This function must be called with named parameters.

Parameters​

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

Returns​

Double - Speed of Sound (m/s)

The speed at which sound propagates through the substance under given conditions.

Scope​

Gateway, Designer, Client, Perspective Session

Example​

Pressure and Temperature​

p = 101325
t = 373.15
result = system.thermo.if97.speedOfSound(p=p, t=t)
print result
Result
472.261315089