View License

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

» Watch video

Highlights from
Oblique Shock Calculator

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

1.0
1.0 | 1 rating Rate this file 5 Downloads (last 30 days) File Size: 8.55 KB File ID: #44756 Version: 1.0
image thumbnail

Oblique Shock Calculator

by

Jason (view profile)

 

Calculates the flow conditions after an oblique shock occurs

| Watch this File

File Information
Description

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

Required Products MATLAB
MATLAB release MATLAB 7.12 (R2011a)
Other requirements The unit tests were create with the MATLAB xUnit Test Framework available on the file exchange but should be easily modified for the official matlab unit test framework in later releases.
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
05 May 2016 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.

Comment only
09 Nov 2015 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.

Contact us