Oblique Shock Angle Calculation

Click For Summary
SUMMARY

The discussion focuses on calculating the oblique shock angle (beta) for a supersonic airfoil using MATLAB. Users suggest utilizing MATLAB's numerical solving capabilities, specifically the 'fsolve' or 'solve' commands, to determine beta, especially in the absence of the Symbolic Math Toolbox. One participant mentions using Maple to derive a lengthy equation for beta, indicating the complexity of the calculations involved. The conversation highlights the need for iterative methods to achieve accurate results in supersonic flow analysis.

PREREQUISITES
  • Understanding of supersonic aerodynamics and oblique shock theory
  • Familiarity with MATLAB programming and its numerical solving functions
  • Knowledge of the geometry of airfoils and their impact on lift and drag
  • Experience with alternative computational tools like Maple or Mathematica
NEXT STEPS
  • Research MATLAB's 'fsolve' and 'solve' functions for numerical solutions
  • Study the equations governing oblique shock waves in supersonic flow
  • Explore the use of Maple for complex mathematical computations
  • Learn about iterative methods for solving nonlinear equations in aerodynamics
USEFUL FOR

Aerospace engineers, MATLAB programmers, and students working on supersonic flow simulations will benefit from this discussion, particularly those focused on lift and drag calculations for airfoils.

Freyster98
Messages
49
Reaction score
0
I'm trying to write a MATLAB .m-file that will calculate the lift and drag on a supersonic airfoil using only the angle of attack, mach number, and geometry of the airfoil. I'm getting stuck on the oblique shock angle calculation because I cannot find an equation that is solved for the shock angle (beta). Does anyone know what equation I can use for this? Other than that, I think I'm all set. Any help you can give would be greatly appreciated. Thanks!
 
Physics news on Phys.org
rugabug said:
http://upload.wikimedia.org/math/2/7/b/27b8202d60430e48b08cf5b6498c1097.png
You can use MATLAB to solve for beta or if I remember when I get home I have the equation for beta in a textbook.

I have that equation, but I just found out I don't have the symbolic math toolbox for MATLAB and that's why I couldn't solve the equation for beta. I used Maple to solve for beta and got a ridiculously long result.
 
Freyster98 said:
I have that equation, but I just found out I don't have the symbolic math toolbox for MATLAB and that's why I couldn't solve the equation for beta. I used Maple to solve for beta and got a ridiculously long result.
The equation in my book is ridiculously long. They actually split it into 3 equations.
 
man u need to make an iteration using MATLAB i did it before and this is a code for it
 

Attachments

Or just use the freaking fsolve or solve commands to do it numerically, since I assume that is what you are supposed to do anyway.
 
Freyster98 said:
I have that equation, but I just found out I don't have the symbolic math toolbox for MATLAB and that's why I couldn't solve the equation for beta. I used Maple to solve for beta and got a ridiculously long result.


Symbolic Math Toolbox! That is really something i desire very much i wonder why they did not put the inverse laplace transform capability on MATLAB...
 
Use maple its just great
 
Maple is craptastic. Mathematica is a nicer package IMO.
 
  • #10
Freyster98 said:
I'm trying to write a MATLAB .m-file that will calculate the lift and drag on a supersonic airfoil using only the angle of attack, mach number, and geometry of the airfoil. I'm getting stuck on the oblique shock angle calculation because I cannot find an equation that is solved for the shock angle (beta). Does anyone know what equation I can use for this? Other than that, I think I'm all set. Any help you can give would be greatly appreciated. Thanks!

i need this your program.can you help me? if it possible for you please send that to me.thanks
mhd.hadipour@yahoo.com
 

Similar threads

Replies
19
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
10K
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
4K
Replies
5
Views
4K
Replies
4
Views
16K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 3 ·
Replies
3
Views
6K