pymead.analysis.compressible_flow.calculate_normal_shock_total_pressure_ratio#
- calculate_normal_shock_total_pressure_ratio(M_up: float, gam: float) float[source]#
Normal-shock relation that calculates the total pressure ratio across a shock (\(p_{t,y} / p_{t,x}\) , where \(x\) is the state immediately upstream of the shock, and \(y\) is the state immediately downstream of the shock).