Skip to main content

newtonian_surface_mach

Function newtonian_surface_mach 

Source
pub fn newtonian_surface_mach(
    mach: f64,
    pressure_ratio: f64,
) -> Result<f64, AeroError>
Expand description

The cap’s surface Mach number where its pressure is pressure_ratio times the free stream’s, isentropic from the pitot pressure (TN D-4865 eq. 2); zero at the stagnation point. The report’s march starts from it (crate::shock_expansion::HandoverStart::Newtonian).

§Errors

AeroError::Domain for a Mach number that isn’t finite and above 1, or a pressure that isn’t positive and at most the pitot pressure.