File Exchange

image thumbnail

Oblique Shock Calculator

version 1.0 (8.55 KB) by

Calculates the flow conditions after an oblique shock occurs

9 Downloads

Updated

View License

Contains a number of functions for flow characterization including the following:

insentropic_flow - Relations for isentropic flow
normal_shock - Relations across a normal shock (with considerations for oblique shock)
oblique_angle_calc - Given two parameters this function calculates the third of the theta-beta-mach relationship for oblique angles
plotShock - Visualizes the shock wave

A script is also included to facilitate the execution of these functions. The script contains a section to change the inputs.

A matlab GUI/app will be coming soon and I will continue to update and add on to these functions (such as expansions waves).

Information regarding oblique shocks can be found at the following websites:
http://en.wikipedia.org/wiki/Oblique_shock
http://www.grc.nasa.gov/WWW/k-12/airplane/oblique.html

Comments and Ratings (2)

Dr Kannan

 I am getting Error message while running the same.
Error using ObliqueShockTest
The specified superclass 'TestCase' contains a parse error, cannot be found on MATLAB's search path, or is shadowed by
another file with the same name.

Dhaval

Dhaval (view profile)

There are cases where the solution output is for strong shock! We need weak shock solutions (unless specified). Try Mach = 1.994 and theta = 1 deg. You'll see what I mean.

MATLAB Release
MATLAB 7.12 (R2011a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video