Oblique Shock relations solver function

version 1.1.0 (1.99 KB) by Mohamed Hassan
A function created to solve different cases for oblique shock relations depending on the given data and desired weak or strong solution


Updated 1 Nov 2021

View License

This function solves the oblique shock relations based on the
relations given in " Modern Compressible Flow With Historical Prespective-John D. Anderson Jr "
  • You can solve for different cases depending on the given data for your problem.
  • You can also decide whether you want the strong or weak solution.
  • the values assigned for the flag1 and flag2 determine the case you want to solve for.
  • variables names ending with 1 refer to the stream before deflection.
  • variables names ending with 2 refer to the stream after deflection.
This my first contribution here I hope people find it useful.

Cite As

Mohamed Hassan (2022). Oblique Shock relations solver function (https://www.mathworks.com/matlabcentral/fileexchange/100898-oblique-shock-relations-solver-function), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018b
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!