Oblique Shock Calculator

An oblique shock occurs when a supersonic flow is forced to change direction, such as when air passes over a wedge, compression corner, or angled surface. Unlike a normal shock, where the shock wave stands perpendicular to the incoming flow, an oblique shock is inclined at an angle to the upstream flow. Understanding the properties across an oblique shock is essential in compressible-flow analysis, aerodynamics, supersonic aircraft design, rocket engineering, and high-speed wind-tunnel studies.

Oblique Shock Calculator

The Oblique Shock Calculator makes it easier to determine important flow properties without repeatedly performing the underlying compressible-flow calculations by hand. By entering the upstream Mach number, shock angle, and specific heat ratio, you can calculate the resulting flow deflection angle, normal Mach number, downstream Mach number, pressure ratio, density ratio, temperature ratio, and total pressure ratio.

The calculator is particularly useful when analyzing a known shock angle and determining how the flow behaves on either side of the shock. It uses the fundamental theta-beta-Mach relationship together with normal-shock relations applied to the component of Mach number normal to the shock.

For air, a specific heat ratio of γ = 1.4 is commonly used under many standard assumptions. However, the calculator allows you to enter another value when analyzing a different gas or a situation requiring a different specific heat ratio.


What Is an Oblique Shock?

An oblique shock is a compression wave that forms at an angle relative to the incoming supersonic flow. It is commonly produced when a supersonic stream encounters a surface that turns the flow toward itself.

For example, consider supersonic air flowing toward a wedge. The air cannot simply continue in its original direction after encountering the wedge surface. Instead, the flow is compressed and redirected. An oblique shock develops ahead of the wedge, allowing the flow to turn while satisfying the conservation laws governing mass, momentum, and energy.

https://images.openai.com/static-rsc-4/dUysOjPkUh2bwk0FswA1-2M18h9jwKbyPVHk6w32yOGvgpPUxCNA9Y9mlkpzucgQFKY3gl53oxx9fRbZGgfasc2omkf3l5tRWmeQWb93A1kwjIntYvNIdjRIaq3NIphijxuTkpN9oU0KNCxVBV-Sf4jTdHYIwOwKwAS0i9u0_IfIsilylkc3P0fyFQbYjxbk?purpose=fullsize
https://images.openai.com/static-rsc-4/OyPPPAX6IqdYpzGbHp0xU9HS5aOFmKJlV8L0iVE3J8pK3dYDxP0jpMOIGqrxsn6UxABAvog2rhZDzBFH0dAJMUD9Cvls1DLwb4JOWL6CacMrbl3V9iZ8RWwBCGqIyhx4BpB6OjlZikAkrzkdHufkCWYUKFBVySTEEjR-fX8oOljjFcWuXuE-tjk3YyW8aeb5?purpose=fullsize
https://images.openai.com/static-rsc-4/nxdWn8pN0mnpKyYT7HmH8SwJkEBQxw85L-ZK8ftwDis5ZGkUA8hk3Gj8qJDZQXRSRxNhSQqfEs0d6paEvYYILbyMzGuN5O1VEKbp6kFmJQwtz0P1FDyCFkqmskfC7T9kgZdk6iQ6pAcLUf0C1t_BSnImeSTX7EDs5MqGYUy_YszJ5GEMXnElLNPfQYSqoj5K?purpose=fullsize

5

The three most important angles in an oblique-shock problem are:

  • Shock angle (β): The angle between the upstream flow direction and the shock wave.
  • Flow deflection angle (θ): The angle through which the flow turns after passing through the shock.
  • Wedge or compression angle: In many simple wedge problems, this corresponds to the required flow turning angle.

The relationship between these quantities depends on the upstream Mach number and the specific heat ratio of the gas.


What Does the Oblique Shock Calculator Calculate?

The calculator accepts three inputs:

InputSymbolDescription
Upstream Mach NumberM₁Mach number before the shock
Shock AngleβAngle of the shock wave relative to upstream flow
Specific Heat RatioγRatio of specific heats of the gas

After calculation, it provides eight outputs:

ResultSymbolWhat It Represents
Flow Deflection AngleθAmount the flow turns
Normal Mach NumberMₙ₁Upstream Mach component normal to shock
Downstream Normal Mach NumberMₙ₂Normal Mach component after shock
Downstream Mach NumberM₂Mach number after the shock
Static Pressure RatioP₂/P₁Pressure increase across shock
Density Ratioρ₂/ρ₁Density change across shock
Temperature RatioT₂/T₁Static-temperature change
Total Pressure RatioP₀₂/P₀₁Total-pressure change caused by shock

These values provide a useful picture of how the flow changes as it passes through the oblique shock.


How to Use the Oblique Shock Calculator

Using the calculator is straightforward.

Step 1: Enter the Upstream Mach Number

Enter the Mach number before the shock in the Upstream Mach Number (M₁) field.

The upstream flow must be supersonic, so the Mach number must be greater than 1.

For example:

M₁ = 2.5


Step 2: Enter the Shock Angle

Enter the shock angle β in degrees.

For example:

β = 40°

The calculator accepts a shock angle between 0° and 90°.


Step 3: Enter the Specific Heat Ratio

Enter γ, the ratio of specific heats.

For air, a common value is:

γ = 1.4

If you are analyzing another gas, use an appropriate specific heat ratio for that gas and operating condition.


Step 4: Select Calculate

After entering the three values, select Calculate.

The calculator determines the flow deflection angle and the various upstream/downstream shock properties.


Step 5: Review the Results

The result section provides the calculated values, including:

  • Flow deflection angle
  • Normal Mach number
  • Downstream normal Mach number
  • Downstream Mach number
  • Static pressure ratio
  • Density ratio
  • Temperature ratio
  • Total pressure ratio

These ratios are dimensionless, making them useful for comparing conditions without requiring the actual upstream pressure, density, or temperature.


Understanding the Mach Number

Mach number is the ratio of flow velocity to the local speed of sound:M=VaM=\frac{V}{a}

where:

  • MM = Mach number
  • VV = flow velocity
  • aa = local speed of sound

A Mach number greater than 1 indicates supersonic flow.

The calculator requires:M1>1M_1>1

because an oblique shock is associated with supersonic upstream flow.

For example:

Mach NumberFlow Regime
0.5Subsonic
0.9Subsonic
1.0Sonic
1.2Supersonic
2.0Supersonic
3.0Supersonic
5.0Hypersonic-range flow

The behavior of an oblique shock can change substantially as Mach number increases.


Understanding the Shock Angle β

The shock angle β describes the orientation of the shock wave relative to the incoming flow.

The shock angle is important because only the component of the upstream Mach number perpendicular to the shock behaves like the upstream Mach number of a normal shock.

The calculator determines this normal component using:Mn1=M1sinβM_{n1}=M_1\sin\beta

This is one of the most important relationships in oblique-shock analysis.

A shock can therefore be analyzed by resolving the flow into components normal and tangential to the shock.


The Oblique Shock Theta-Beta-Mach Formula

The central relationship used by the calculator is the theta-beta-Mach equation:tanθ=2cotβM12sin2β1M12(γ+cos2β)+2\tan\theta= 2\cot\beta \frac{M_1^2\sin^2\beta-1} {M_1^2(\gamma+\cos2\beta)+2}

where:

  • θ\theta = flow deflection angle
  • β\beta = shock angle
  • M1M_1 = upstream Mach number
  • γ\gamma = specific heat ratio

This equation connects the upstream Mach number, shock angle, and resulting flow deflection.

After calculating the tangent of the deflection angle, the angle itself is found from:θ=tan1(tanθ)\theta=\tan^{-1}(\tan\theta)

The calculator reports the resulting angle in degrees.


Why the Normal Mach Number Matters

An oblique shock is not exactly the same as a normal shock, but the normal component of the flow can be treated using normal-shock relationships.

The calculator first determines:Mn1=M1sinβM_{n1}=M_1\sin\beta

For a shock to occur, the normal component must be greater than 1:Mn1>1M_{n1}>1

This condition is important.

For example, suppose:M1=2M_1=2

and:β=30\beta=30^\circ

Then:Mn1=2sin30M_{n1}=2\sin30^\circ

Since:sin30=0.5\sin30^\circ=0.5

we get:Mn1=1M_{n1}=1

This represents the limiting condition rather than a conventional finite-strength shock. A larger shock angle would be required for Mn1>1M_{n1}>1.


Pressure Ratio Across an Oblique Shock

Once the normal Mach number is known, the normal-shock pressure relationship can be applied:P2P1=1+2γγ+1(Mn121)\frac{P_2}{P_1} = 1+ \frac{2\gamma}{\gamma+1} (M_{n1}^2-1)

This determines how much the static pressure increases through the shock.

For a compression shock:P2>P1P_2>P_1

Therefore:P2P1>1\frac{P_2}{P_1}>1

The larger the normal component of Mach number, generally, the stronger the pressure rise across the shock.


Density Ratio

The calculator also determines the density ratio:ρ2ρ1=(γ+1)Mn12(γ1)Mn12+2\frac{\rho_2}{\rho_1} = \frac{(\gamma+1)M_{n1}^2} {(\gamma-1)M_{n1}^2+2}

where:

  • ρ1\rho_1 = upstream density
  • ρ2\rho_2 = downstream density

Across a compression shock, density increases, so the ratio is normally greater than 1.

This result is useful when examining how strongly the gas is compressed.


Temperature Ratio

The static-temperature ratio can be obtained from the pressure and density ratios:T2T1=P2/P1ρ2/ρ1\frac{T_2}{T_1} = \frac{P_2/P_1}{\rho_2/\rho_1}

For an ordinary compression shock, the static temperature increases.

Thus:T2>T1T_2>T_1

and typically:T2T1>1\frac{T_2}{T_1}>1

This temperature increase is an important consideration in high-speed aerodynamic applications because strong compression shocks can produce substantial heating.


Downstream Normal Mach Number

The downstream normal Mach number is calculated using the normal-shock relationship:Mn22=1+γ12Mn12γMn12γ12M_{n2}^2= \frac{ 1+\frac{\gamma-1}{2}M_{n1}^2 }{ \gamma M_{n1}^2-\frac{\gamma-1}{2} }

Therefore:Mn2=1+γ12Mn12γMn12γ12M_{n2} = \sqrt{ \frac{ 1+\frac{\gamma-1}{2}M_{n1}^2 }{ \gamma M_{n1}^2-\frac{\gamma-1}{2} } }

For a conventional attached oblique shock, the downstream normal component is subsonic:Mn2<1M_{n2}<1

This does not necessarily mean that the total downstream Mach number is subsonic. The tangential component remains important.


Calculating the Downstream Mach Number

After the flow passes through the shock, its direction has changed by θ.

The downstream Mach number can be related to the downstream normal component through the downstream geometry.

The calculator uses:β2=βθ\beta_2=\beta-\theta

and then:M2=Mn2cos(βθ)M_2=\frac{M_{n2}}{\cos(\beta-\theta)}

This produces the downstream Mach number associated with the deflected flow.

For many weak attached oblique shocks, the downstream flow can remain supersonic even though its normal Mach component is less than 1.

This distinction is very important in compressible-flow analysis.


Total Pressure Ratio

A shock is an irreversible process, so total pressure decreases across a real shock.

The calculator determines:P02P01\frac{P_{02}}{P_{01}}

using the normal-shock total-pressure relationship:P02P01=[(γ+1)Mn12(γ1)Mn12+2]γγ1[γ+12γMn12(γ1)]1γ1\frac{P_{02}}{P_{01}} = \left[ \frac{(\gamma+1)M_{n1}^2} {(\gamma-1)M_{n1}^2+2} \right]^{\frac{\gamma}{\gamma-1}} \left[ \frac{\gamma+1} {2\gamma M_{n1}^2-(\gamma-1)} \right]^{\frac{1}{\gamma-1}}

For a physical shock:P02P01<1\frac{P_{02}}{P_{01}}<1

The loss in total pressure is associated with entropy generation and the irreversible nature of the shock.

This is one reason engineers generally seek to minimize unnecessary shock strength in high-performance aerodynamic systems.


Worked Example

Consider a supersonic flow with:

  • Upstream Mach number: M1=2.5M_1=2.5
  • Shock angle: β=40\beta=40^\circ
  • Specific heat ratio: γ=1.4\gamma=1.4

First, calculate the normal Mach number:Mn1=2.5sin40M_{n1}=2.5\sin40^\circ

Since:sin400.6428\sin40^\circ\approx0.6428

we obtain approximately:Mn11.607M_{n1}\approx1.607

Because this value is greater than 1, a shock can occur.

Using the theta-beta-Mach relationship gives a flow deflection angle of approximately:θ16.2\theta\approx16.2^\circ

The normal-shock equations can then be applied to Mn1M_{n1}.

The approximate results are:

PropertyApproximate Result
Upstream Mach, M₁2.500
Shock angle, β40.00°
γ1.400
Flow deflection, θ16.2°
Normal Mach, Mₙ₁1.607
Downstream normal Mach, Mₙ₂0.676
Downstream Mach, M₂1.37
Pressure ratio, P₂/P₁2.81
Density ratio, ρ₂/ρ₁2.05
Temperature ratio, T₂/T₁1.37
Total pressure ratio, P₀₂/P₀₁0.89

The exact displayed values can vary slightly depending on rounding.

This example illustrates an important feature of an oblique shock: even though the normal component becomes subsonic, the overall downstream Mach number can remain greater than 1.


Weak and Strong Oblique Shock Solutions

The theta-beta-Mach relationship can produce two possible shock angles for many combinations of Mach number and flow deflection angle.

These are commonly referred to as:

Weak Shock Solution

The weak solution has a smaller shock angle and usually produces:

  • Smaller pressure increase
  • Smaller entropy increase
  • Smaller total-pressure loss
  • Higher downstream Mach number
  • Supersonic downstream flow in many practical cases

The weak solution is the one commonly encountered in many external aerodynamic applications when the shock remains attached.

Strong Shock Solution

The strong solution has a larger shock angle and produces:

  • Greater pressure increase
  • Greater density increase
  • Greater temperature increase
  • Greater total-pressure loss
  • Lower downstream Mach number

The strong branch may result in subsonic downstream flow depending on the conditions.

The calculator starts with the shock angle as an input, so it directly evaluates the properties associated with the selected β rather than automatically choosing between weak and strong solutions.


Common Applications of Oblique Shock Analysis

Oblique shock calculations are useful in many areas of engineering and physics.

Supersonic Aircraft

Supersonic aircraft experience compression waves around wings, fuselages, engine inlets, and other surfaces. Oblique-shock analysis helps estimate pressure changes and flow turning.

Wedge and Cone Studies

Wedge geometries are among the simplest examples used to study oblique shocks. They are frequently used in compressible-flow education and experimental work.

Supersonic Inlets

Aircraft and rocket engine inlets may use shock systems to slow and compress high-speed air before combustion or further processing.

Wind Tunnel Testing

Oblique shocks are important when designing and interpreting experiments involving supersonic test sections.

High-Speed Aerodynamics

Vehicles traveling at very high speeds encounter strong compressibility effects. Shock-wave calculations help engineers understand pressure, temperature, and density changes.

Aerospace Research

Rocket vehicles, high-speed aircraft, missiles, and experimental vehicles can all involve shock-wave phenomena.


Typical Specific Heat Ratios

The specific heat ratio, γ, depends on the gas and thermodynamic conditions.

Some commonly used approximate values include:

GasApproximate γ
Air1.40
Nitrogen1.40
Oxygen1.40
Helium1.66
Hydrogen1.41
Carbon dioxide~1.29

These values are approximate and may vary with temperature and other conditions. For high-temperature or chemically reacting flows, treating γ as a constant can become an oversimplification.

For many introductory calculations involving air, γ = 1.4 is a standard assumption.


Important Relationship Between Shock Angle and Flow Deflection

The shock angle cannot be selected independently of the flow conditions if you are trying to model a specific physical geometry.

The theta-beta-Mach relationship determines the flow turning associated with a particular combination of:M1, β, γM_1,\ \beta,\ \gamma

Increasing the shock angle generally changes the shock strength and therefore changes the resulting flow deflection and thermodynamic properties.

This means the shock angle is not merely a geometric measurement—it directly influences the strength of the shock.


What Happens as Shock Strength Increases?

A stronger oblique shock generally causes larger changes in the flow.

PropertyGeneral Trend for Stronger Shock
Static pressureIncreases
DensityIncreases
Static temperatureIncreases
Normal Mach number downstreamDecreases
Total pressureDecreases
EntropyIncreases
Flow directionChanges more strongly

These trends help explain why shock strength matters in aerodynamic design.

A strong shock may provide substantial compression but at the cost of greater total-pressure loss.


Oblique Shock vs. Normal Shock

Although both are shock waves, their geometry and effects differ.

FeatureOblique ShockNormal Shock
Shock orientationAngled to flowPerpendicular to flow
Upstream flowSupersonicSupersonic
Flow direction changesYesGenerally no
Normal Mach componentUsedEqual to total Mach
Downstream flowOften supersonic for weak shocksSubsonic
Pressure increasesYesYes
Temperature increasesYesYes
Total pressureDecreasesDecreases

An oblique shock can therefore be viewed as a more geometrically complex situation in which the normal component of the flow experiences normal-shock behavior.


Tips for Getting Reliable Results

For meaningful results, keep the following points in mind.

Use a Supersonic Upstream Mach Number

The calculator requires:M1>1M_1>1

A subsonic upstream Mach number is not appropriate for the intended oblique-shock calculation.

Check the Normal Mach Number

The calculator requires:Mn1>1M_{n1}>1

If the normal component is not greater than 1, the selected shock angle does not produce a conventional finite-strength shock.

Use an Appropriate γ

For ordinary air calculations, 1.4 is often suitable. For other gases, select an appropriate value.

Do Not Confuse β and θ

The shock angle β describes the shock orientation, while θ describes how much the flow turns.

They are not interchangeable.

Remember That Ratios Are Dimensionless

Values such as:P2/P1P_2/P_1

and:T2/T1T_2/T_1

do not require you to enter actual pressure or temperature values. They describe the relative change across the shock.


Limitations of an Oblique Shock Calculator

The calculator is based on idealized compressible-flow relationships. It assumes the standard theoretical framework associated with an oblique shock and a constant specific heat ratio.

Real-world flows can be more complicated because of:

  • Viscosity
  • Boundary layers
  • Heat transfer
  • Chemical reactions
  • Variable specific heats
  • Three-dimensional effects
  • Shock-boundary-layer interactions
  • Non-equilibrium effects
  • High-temperature gas behavior

For preliminary calculations and educational analysis, ideal oblique-shock equations are extremely useful. For detailed aerospace design, however, additional aerodynamic and thermodynamic analysis may be required.


Frequently Asked Questions

1. What is an oblique shock?

An oblique shock is a shock wave inclined relative to a supersonic flow. It typically forms when supersonic gas is forced to turn and compress around a wedge, corner, or angled surface.

2. What does an oblique shock calculator calculate?

This calculator determines flow deflection angle, upstream and downstream normal Mach numbers, downstream Mach number, pressure ratio, density ratio, temperature ratio, and total pressure ratio.

3. What Mach number should I enter?

The upstream Mach number must be greater than 1 because the calculator is designed for supersonic upstream flow.

4. What is the shock angle β?

The shock angle β is the angle between the incoming flow direction and the shock wave. It determines the normal component of the upstream Mach number.

5. What is the flow deflection angle θ?

The flow deflection angle is the amount by which the flow direction changes after passing through the oblique shock.

6. Why is the normal Mach number important?

The normal Mach number represents the component of the upstream Mach number perpendicular to the shock. Normal-shock equations are applied to this component to determine the pressure, density, temperature, and downstream normal Mach changes.

7. What value of γ should I use for air?

For many standard calculations involving air, γ = 1.4 is commonly used. More advanced applications may require a temperature-dependent value.

8. Why does total pressure decrease across an oblique shock?

A shock is an irreversible process that generates entropy. As a result, total pressure decreases across the shock, even though static pressure increases.

9. Can the downstream flow remain supersonic?

Yes. A weak oblique shock can reduce the Mach number while still leaving the overall downstream flow supersonic. The downstream normal component can be subsonic while the total downstream Mach number remains above 1.

10. What is the difference between a weak and strong oblique shock?

A weak oblique shock generally has a smaller shock angle and causes less pressure and total-pressure change. A strong oblique shock has a larger shock angle and produces stronger compression and greater total-pressure loss.


Final Thoughts

The Oblique Shock Calculator provides a convenient way to study how supersonic flow changes when it encounters an angled shock wave. By entering the upstream Mach number, shock angle, and specific heat ratio, you can quickly determine the flow deflection and several important thermodynamic and aerodynamic ratios.

The underlying calculation begins with the theta-beta-Mach relationship, which establishes the flow deflection produced by the selected shock angle. The upstream Mach number is then resolved into its normal component, allowing standard normal-shock relationships to determine pressure, density, temperature, and downstream normal Mach changes. The downstream Mach number and total pressure ratio complete the analysis.

The results are especially useful for understanding fundamental compressible-flow behavior. They can help students visualize shock-wave physics, assist engineers with preliminary aerodynamic calculations, and provide a convenient reference when studying supersonic flow around wedges, compression corners, and other geometries.

For practical engineering work, always consider whether the assumptions of constant γ, inviscid flow, and ideal-gas behavior are appropriate for the specific application. Nevertheless, for many standard oblique-shock problems, these equations provide a powerful and efficient method for estimating how a supersonic flow changes across an angled shock.

Leave a Comment