Post · 2 min read· pp. 699–700

aerosandbox.library.aerodynamics.normal_shock_relations

Functions

mach_number_after_normal_shock(mach_upstream[, gamma])Computes the mach number immediately after a normal shock wave.
density_ratio_across_normal_shock(mach_upstream[, gamma])Computes the ratio of fluid density across a normal shock.
temperature_ratio_across_normal_shock(mach_upstream[, ...])Computes the ratio of fluid temperature across a normal shock.
pressure_ratio_across_normal_shock(mach_upstream[, gamma])Computes the ratio of fluid static pressure across a normal shock.
total_pressure_ratio_across_normal_shock(mach_upstream)Computes the ratio of fluid total pressure across a normal shock.
q_ratio(mach)

Module Contents

aerosandbox.library.aerodynamics.normal_shock_relations.mach_number_after_normal_shock(mach_upstream, gamma=1.4) : Computes the mach number immediately after a normal shock wave.

code
Parameters:
:   - **mach\_upstream** – The mach number immediately before the normal shock wave.
    - **gamma** – The ratio of specific heats of the fluid. 1.4 for air.

Returns: The mach number immediately after the normal shock wave.

aerosandbox.library.aerodynamics.normal_shock_relations.density_ratio_across_normal_shock(mach_upstream, gamma=1.4) : Computes the ratio of fluid density across a normal shock.

code
Specifically, returns: rho\_after\_shock / rho\_before\_shock

Parameters:
:   - **mach\_upstream** – The mach number immediately before the normal shock wave.
    - **gamma** – The ratio of specific heats of the fluid. 1.4 for air.

Returns: rho\_after\_shock / rho\_before\_shock

aerosandbox.library.aerodynamics.normal_shock_relations.temperature_ratio_across_normal_shock(mach_upstream, gamma=1.4) : Computes the ratio of fluid temperature across a normal shock.

code
Specifically, returns: T\_after\_shock / T\_before\_shock

Parameters:
:   - **mach\_upstream** – The mach number immediately before the normal shock wave.
    - **gamma** – The ratio of specific heats of the fluid. 1.4 for air.

Returns: T\_after\_shock / T\_before\_shock

aerosandbox.library.aerodynamics.normal_shock_relations.pressure_ratio_across_normal_shock(mach_upstream, gamma=1.4) : Computes the ratio of fluid static pressure across a normal shock.

code
Specifically, returns: P\_after\_shock / P\_before\_shock

Parameters:
:   - **mach\_upstream** – The mach number immediately before the normal shock wave.
    - **gamma** – The ratio of specific heats of the fluid. 1.4 for air.

Returns: P\_after\_shock / P\_before\_shock

aerosandbox.library.aerodynamics.normal_shock_relations.total_pressure_ratio_across_normal_shock(mach_upstream, gamma=1.4) : Computes the ratio of fluid total pressure across a normal shock.

code
Specifically, returns: Pt\_after\_shock / Pt\_before\_shock

Parameters:
:   - **mach\_upstream** – The mach number immediately before the normal shock wave.
    - **gamma** – The ratio of specific heats of the fluid. 1.4 for air.

Returns: Pt\_after\_shock / Pt\_before\_shock

aerosandbox.library.aerodynamics.normal_shock_relations.q_ratio(mach)