Oblique Shock Angle Calculation

AI Thread Summary
The discussion focuses on calculating the oblique shock angle (beta) for a supersonic airfoil using MATLAB. The original poster is struggling to find the appropriate equation for beta and lacks the symbolic math toolbox in MATLAB, which limits their ability to solve the equation. Other participants suggest using numerical methods like fsolve or iterating with MATLAB to find the solution. Some mention using alternative software like Maple or Mathematica for solving the equation. The conversation highlights the challenges in obtaining the necessary tools and equations for accurate calculations in supersonic aerodynamics.
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
 
Back
Top