Solver for 2-D shock reflections

This package includes code that takes input physical conditions of flow and solves for various cases.
328 Downloads
Updated 4 Aug 2020

View License

The package has a class file of solve which is the basis for all calculations in 2-D shock reflection problem.
It has included solvers for a flow subjected to a single deflection, deflection by two wedges, transition criteria from regular reflection to irregular reflection, shock polar plotters and a solver for a diamond airfoil subjected to supersonic flow.

shock_polar plots a shock polar for a specific flow.
scaled_SP plots a shock polar for a reflected shock.
transition and solve include the functions for solving the flow conditions.
maybe1 takes physical conditions as input and calls other functions to solve for the flow.

Cite As

Dhruv Shah (2026). Solver for 2-D shock reflections (https://www.mathworks.com/matlabcentral/fileexchange/78847-solver-for-2-d-shock-reflections), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2020a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0