Professional Documents
Culture Documents
Master in Aerospace Engineering: Ecole Centrale Lyon
Master in Aerospace Engineering: Ecole Centrale Lyon
Master in Aerospace Engineering: Ecole Centrale Lyon
Submitted by:
Thangjam Shager Singh
M1 Aerospace Engineering
FCVFA 2021 - 2022
The θ − β − M expresses the connection between the Mach number M1 upstream of an oblique shock
wave, with a shock angle β (angle counted with respect to the incoming flow direction) and such that
it makes the upstream flow turn with an angle θ:
tan(a) − tan(b)
tan(a − b) =
1 + tan(a)tan(b)
to show that (1) can be put in the form of a third-degree equation for the unknown variable tan(β), with
coefficients depending on M1 and tan(θ).
Solution:
Using the above trigonometry identity, the shock angle and upstream flow angle can be express as:
[tan(β) − tan(θ)](γ + 1)M12 sin2 (β) = [tan(β) + tan2 (β)tan(θ)]((γ − 1)M12 sin2 (β) + 2)
tan(β) [(γ + 1)M12 sin2 (β) − ((γ − 1)M12 sin2 (β) + 2)]
= tan(θ)[(γ + 1)M12 sin2 (β) + tan2 (β)((γ − 1)M12 sin2 (β) + 2)]
i.e., tan(β)[(γ + 1)M12 sin2 (β) − ((γ − 1)M12 sin2 (β) + 2)]
=tan(β)[γ[M12 sin2 (β)] + M12 sin2 (β)] − 2 − γ[M12 sin2 (β)] + [M12 sin2 (β)]
(I)
𝐭𝐚𝐧(𝛃)[𝟐 {[𝐌𝟏𝟐 𝐬𝐢𝐧𝟐 (𝛃)]} − 𝟏]
1
FCVFA 2021 - 2022
i.e., [(γ + 1)M12 sin2 (β) + tan2 (β)((γ − 1)M12 sin2 (β) + 2)]
sin2 (β)
= tan2 (β) [(γ − 1) [M1 tan2(β)] + (γ − 1)M12 sin2 (β) + 2]
Wedge angle express as a function of free stream Mach number and shock angle.
2
FCVFA 2021 - 2022
γ−1 2 γ+1 2
{[1 + M1 ] tan(θ)} tan3 (β) − (M12 − 1)tan2 (β) + {[1 + M1 ] tan(θ)} tan(β) + 1 = 0
2 2
2) Write a computer program (using MATLAB, Scilab or Python) which provides the shock angle β
(corresponding to the weak shock solution) when M1 and θ are given as input data.
3
FCVFA 2021 - 2022
Solution:
The roots of the equation can be providing as:
γ+1 2
a = {[1 + M1 ] tan(θ)}
2
b = (M12 − 1)
γ−1 2
c = {[1 + M1 ] tan(θ)}
2
d=1
γ−1 2 γ+1 2
{[1 + M1 ] tan(θ)} tan3 (β) − (M12 − 1)tan2 (β) + {[1 + M1 ] tan(θ)} tan (β) + 1 = 0
2 2
MATLAB program which provides the shock angle β (weak shock solution) when M1 and θ are given
are as follows:
M = 3;
theta = 20;
gamma = 1.4;
theta=theta/57.295;
s = (1+(((gamma-1)/2)*M^2))*tan(theta);
h = M^2-1;
a = (1+(((gamma+1)/2)*M^2))*tan(theta);
g = 1;
syms x
Higher_order_Equation = s*x^3 - h*x^2 + a*x + g == 0;
Higher_order_roots = solve(Higher_order_Equation,x);
Higher_order_roots = vpa(Higher_order_roots,4);
Beta = atan (Higher_order_roots)*(180/pi)
4
FCVFA 2021 - 2022
Let us consider the flow configuration displayed in Figure 1. We are interested in the 2D supersonic
flow at M1 = 3, with p1 = 1 atm and T1 = 300 K, through an air intake. The air intake is made of a lower
wall initially horizontal then forming (at x = 0) an angle θ2 = 20◦ above the horizontal direction and an
upper wall initially horizontal as well and forming (at x = 0) an angle θ3 = 15◦ below the horizontal
direction. The inlet and outlet boundary of the air intake are assumed to be located respectively at x =
−1 m and x = 1 m. This flow configuration will be analyzed in detail throughout the present homework
problem.
3) Use the program developed in 2) and the formulae available in the lecture notes to compute M2,
p2 and M3, p3 (without making use of the abacus III provided in the lecture notes).
Figure 1: Interference of oblique shocks in the supersonic air intake under study.
Solution:
(Mn )1 = M1 sin(𝛽2 )
γ−1 2
1 + ( 2 ) (Mn )1
(Mn )2 = √
2 γ−1
γ (Mn )1 − ( 2 )
(𝐌𝐧 )𝟐 = 0.609
(Mn )2
M2 =
sin(β2 − θ1 )
𝐌𝟐 = 𝟏. 𝟗𝟗
5
FCVFA 2021 - 2022
Pressure ratio relationship and Normal Mach number (Mn)1 after the shock is written as:
p2 2γ
= 1+ (M 2 sin2 β2 − 1)
p1 (γ + 1) 1
𝐩𝟐
= 𝟑𝟖𝟐𝟏𝟏𝟗. 𝟗 𝐏𝐚
𝐩𝟏
(Mn )1 = M1 sin(𝛽3 )
γ−1 2
1 + ( 2 ) (Mn )1
(Mn )2 = √
2 γ−1
γ (Mn )1 − ( 2 )
We get,
(𝐌𝐧 )𝟐 = 0.66
(Mn )2
M2 =
sin(β3 − θ2 )
𝐌𝟑 = 𝟐. 𝟐𝟓
Pressure ratio relationship and Normal Mach number (Mn)1 after the shock is written as:
p3 2γ
= 1+ (M 2 sin2 β3 − 1)
p1 (γ + 1) 1
𝒑𝟐
= 𝟐𝟖𝟓𝟖𝟗𝟏. 𝟓 𝑷𝒂
𝒑𝟏
6
FCVFA 2021 - 2022
The bottom part of Fig. 2 displays the same two flow configurations in the hodograph plane, under
the form of a pressure-deflection diagram. The upstream pressure p1 associated with the incoming
horizontal flow is positioned along the vertical p-axis since it corresponds to θ = 0. The static
pressure downstream of the shock is such that p2/p1 = f (M1 sin (β)). For a given upstream Mach
number M1, β (corresponding to the weak shock solution) can be computed for each value of θ
between ±θ max(M1). Hence (Mn)1 = M1 sin (β) can be computed and the pressure p = p1 × f((Mn)1)
can be computed. This yields the p − θ diagram displayed in the bottom part of Fig. 2. The pressure
p2 corresponding to the left-running shock with deflection angle θ2 > 0 (above the horizontal
direction) is graphically obtained at the intersection of θ = θ2 with the p − θ diagram. Similarly, the
pressure p 0 2 corresponding to the right-running shock with deflection angle θ 0 2 < 0 (below the
horizontal direction) is graphically obtained at the intersection of θ = θ 0 2 with the p − θ diagram.
7
FCVFA 2021 - 2022
4) Write a program allowing to plot the pressure-deflection diagram associated with state 1 upstream
of shockwaves A and B for the air intake configuration under study and show how you recover the
static pressure levels p2 and p3 respectively downstream of shockwaves A and B. States 2 and 3 will
be also the upstream states respectively for shockwaves C and D.
Solution:
The MATLAB code related to pressure deflection with respect to the shockwaves A and B is provided
below:
M_1 =3;
P_1=101325;
gamma=1.4;
beta_1=asin(1/M_1) : 0.0005 :pi/2;
Pressure_1 = P_1*(1+2.*gamma ./ (gamma+1).*(M_1^2 .* sin(beta_1).^2 - 1));
theta_1 = atan( 2*cot(beta_1) .* (M_1^2 .* sin(beta_1).^2 - 1) ./ (M_1^2 .*(gamma +
cos(2.*beta_1)) +2));
plot(theta1*(180/pi), Pressure_1)
8
FCVFA 2021 - 2022
5) Extend the program written in 4) to compute and plot the pressure-deflection diagrams associated
to states 2 and 3 upstream of shockwaves C and D and find p4 = p 0 4 as the downstream state shared
by both refracted shockwaves. Provide also the ang
le Φ of the slip line (see Fig. 1).
Solution:
The MATLAB code for the pressure deflection with respect to the upstream shockwaves for the
corresponding state 2 and 3 is provided below:
M_1 =3;
P_1=101325;
gamma=1.4;
beta_1=asin(1/M_1) : 0.0005 :pi/2;
Pressure_1 = P_1*(1+2.*gamma ./ (gamma+1).*(M_1^2 .* sin(beta_1).^2 - 1));
theta_1 = atan( 2*cot(beta_1) .* (M_1^2 .* sin(beta_1).^2 - 1) ./ (M_1^2 .*(gamma +
cos(2.*beta_1)) +2));
M_2 =2;
P_2=382119;
gamma=1.4;
beta_2=asin(1/M_2) : 0.0005 :pi/2;
Pressure_2=P_2*(1+2.*gamma ./ (gamma+1).*(M_2^2 .* sin(beta_2).^2 - 1));
theta_2 = atan( 2*cot(beta_2) .* (M_2^2 .* sin(beta_2).^2 - 1) ./ (M_2^2 .*(gamma +
cos(2.*beta_2))+2));
9
FCVFA 2021 - 2022
M_3 =2.25;
P_3=285891;
gamma=1.4;
beta_3=asin(1/M_3) : 0.0005 :pi/2;
Pressure_3=P_3*(1+2.*gamma ./ (gamma+1).*(M_3^2 .* sin(beta_3).^2 - 1));
theta_3 = atan( 2*cot(beta_3) .* (M_3^2 .* sin(beta_3).^2 - 1) ./ (M_3^2 .*(gamma +
cos(2.*beta_3))+2));
hold on
plot(theta_1*(180/pi), Pressure_1)
plot(theta_2*(180/pi)+20, Pressure_2)
plot(theta_3*(180/pi)-15, Pressure_3)
Figure 4: Pressure-deflection plot with respect to the upstream shockwaves for the corresponding
state 2 and 3
10
FCVFA 2021 - 2022
6) Give the static pressure distribution, the temperature distribution and the velocity magnitude
distribution along the vertical line y = 0.9 m in the air intake.
Use the. cas and .dat files provided on the course website to display a comparison between the previous
exact pressure, temperature, velocity magnitude distributions along y = 0.9 m and the discrete solution
computed using Ansys Fluent.
Since, the Φ angle is known the pressures P4=P4’ can computed using the temperature, local pressure
and velocity after the shock. The angle of Φ1 of the slip line is 4.870 and Φ2 of the slip line is 4.710
For Φ = 4.870
Case 4’:
(Mn )1 = M3 sin(β4′ )
γ−1 2
1 + ( 2 ) (Mn )1
(Mn )2 = √
2 γ−1
γ (Mn )1 − ( 2 )
(𝐌𝐧 )𝟐 = 0.744
(Mn )2
M4′ =
sin(β4′ − θ4′ )
𝐌𝟒′ = 𝟏. 𝟓𝟏
Pressure ratio relationship and Normal Mach number after the shock is written as:
We get,
p4
= 2.08 x 101325 pascal
p 3
𝐩𝟒
= 𝟐𝟏𝟎𝟕𝟓𝟔 𝐏𝐚
𝐩𝟑
𝐏𝟒′ = 𝟐. 𝟎𝟖𝐏𝟐
Case 4:
11
FCVFA 2021 - 2022
From the MATLAB code execution, we obtain β4 = 46.750 (Considering the weak shock solution)
(Mn )1 = M3 sin(β4 )
γ−1 2
1 + ( 2 ) (Mn )1
(Mn )2 = √
2 γ−1
γ (Mn )1 − ( 2 )
(𝐌𝐧 )𝟐 = 0.656
(Mn )2
M4 =
sin(β4 − θ4 )
𝐌𝟒 = 𝟏. 𝟒𝟓
Pressure ratio relationship and Normal Mach number after the shock is written as:
p4
We get, = 2.97 x 101325 pascal
p3
𝐩𝟒
= 𝟑𝟎𝟎𝟗𝟑𝟓. 𝟐𝟓 𝐏𝐚
𝐩𝟑
P4 = 2.97P3
For Φ=4.71°
Case 4’:
(Mn )1 = M3 sin(β4′ )
(𝐌𝐧 )𝟐 = 0.724
12
FCVFA 2021 - 2022
(Mn )2
M4′ =
sin(β4′ − θ4′ )
𝐌𝟒′ = 𝟏. 𝟒𝟐
Pressure ratio relationship and Normal Mach number after the shock is written as:
p4
We get, = 2.22 x 101325 pascal
p3
𝐩𝟒
= 𝟐𝟐𝟒𝟗𝟒𝟏. 𝟓 𝐏𝐚
𝐩𝟑
P4′ = 2.22P2
Case 4:
From the MATLAB code execution, we obtain β4 = 46.520 (Considering the weak shock solution)
(Mn )1 = M3 sin(β4 )
γ−1 2
1 + ( 2 ) (Mn )1
(Mn )2 = √
2 γ−1
γ (Mn )1 − ( 2 )
(𝐌𝐧 )𝟐 = 0.659
(Mn )2
M4 =
sin(β4 − θ4 )
𝐌𝟒 = 𝟏. 𝟒𝟔
Pressure ratio relationship and Normal Mach number after the shock is written as:
p4
We get, = 2.93 x 101325 pascal
p3
𝒑𝟒
= 𝟐𝟗𝟔𝟖𝟖𝟐. 𝟐𝟓 𝑷𝒂
𝒑𝟑
𝐏𝟒 = 𝟐. 𝟗𝟕𝐏𝟑
13
FCVFA 2021 - 2022
Analytical calculation of static temperature, static pressure, velocity magnitude distributions along y
= 0.9 m is given below:
γ−1
P2 γ
T2 = ( ) (T1 ) = 438K
P1
U2 = M 2 a 2
We know,
a2 = √γrT2 = 419m/sec
γ−1
P3 γ
T3 = ( ) (T1 ) = 403K
P1
U3 = M 3 a 3
We know,
a3 = √γrT3 = 402m/sec
γ−1
P4 γ
T4 = ( ) (T3 ) = 547K
P1
U4 = M 4 a 4
We know,
a4 = √γrT4 = 468m/sec
14
FCVFA 2021 - 2022
γ−1
P4′ γ
T4′ = ( ) (T3 ) = 550K
P1′
15
FCVFA 2021 - 2022
Plots are obtained from the given .cas file and comparison are made below:
Using Ansys Fluent the Average pressure distributions along X = 0.9 m are being computed and
comparison are made on the table given below:
Pressure [Pa]
2 3.82x105 2.95x105
3 2.85x105 1.98x105
4 8.36x105 7.54x105
4’ 8.49x105 7.54x105
16
FCVFA 2021 - 2022
Using Ansys Fluent the Average Temperature distributions along X = 0.9 m are being computed
and comparison are made on the table given below:
Temperature(K)
2 438 470
3 403 420
4 547 590
4’ 550 590
17
FCVFA 2021 - 2022
Using Ansys Fluent the Average Velocity magnitude distributions along X = 0.9 m are being
computed and comparison are made on the table given below:
Velocity [m/sec]
2 834 860
3 905 930
4 684 710
4’ 668 700
18
FCVFA 2021 - 2022
19