image thumbnail

1D Convergent-Divergent Nozzle Shock Locator

version 1.0.0 (29.1 KB) by Ludovico Fossà
Determines whether a shock wave forms in the divergent section of a one-dimensional gas-dynamic nozzle for a given nozzle pressure ratio.


Updated 17 Jan 2021

View License

This script determines whether a given nozzle pressure ratio (NPR) applied over a one-dimensional, C-D, Laval nozzle is strong enough to ensure the formation of a steady-state, shock-free, internal supersonic flow. It is based on the examples introduced in Anderson's "Modern Compressible Flows" (2003). The user may choose whether to introduce the expected exit Mach number or the exit-to-throat area ratio as inputs and the heat-capacity and nozzle pressure ratios. The mathematical model assumes one-dimensional, inviscid, steady-state, irrotational flow at moderate exit Mach numbers.

Cite As

Ludovico Fossà (2021). 1D Convergent-Divergent Nozzle Shock Locator (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2020b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!