SOUNDSPEED
The SoundSpeed function returns the speed of sound c with units [m/s, ft/s] through the fluid. The speed of sound is defined as:
For an ideal gas, the sound speed simplifies to:
Examples:
$UnitSystem SI K kPa
$VarInfo SS1,SS2 units=m/s
SS1 = SoundSpeed(Air, T=300 [K])
SS2 = SoundSpeed(R134a,T=300 [K],P=100 [kPa])
{Solution:
SS1=347.2 [m/s]
SS2=162.1 [m/s]
}