Ideal-gas sound speed
Purpose
The isentropic sound speed used by Roe eigenvalues and spectral radii is recovered from total enthalpy after removing kinetic energy.
Formula
\[c = \sqrt{(\gamma-1)\left(H-\frac{1}{2}|u|^{2}\right)}\]
Source map
IdealGasSoundSpeedinNsInvFluxPolicyUpstream:
IdealGasStaticEnthalpy,TotalEnthalpyDownstream:
RoeAbsoluteEigenvalues, inviscid spectral radiusTests:
tests/solver/inv_flux_policy_test.cppTheory table:
tools/verification/data/ideal_gas_sound_speed_theory.csvContract Workbench id:
ideal_gas_sound_speed
What this proves / does not prove
Proves: sound-speed algebra matches the pure API on sample states.
Does not prove: real-gas thermodynamics or assembled flux residual.