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