dm dt ∀ ρ γ P ρ dP dt: ρ ρ P P ρ P γ+1 P
dm dt ∀ ρ γ P ρ dP dt: ρ ρ P P ρ P γ+1 P
dm dt ∀ ρ γ P ρ dP dt: ρ ρ P P ρ P γ+1 P
dm o 1
=
o 1
1
dt
Po 1
( ddtP )
o
which is done using ideal gas and isentropic relations. For steady flow through an
adiabatic nozzle, the energy equation can be used to solve for the exit velocity as a
function of gamma, exit density and exit pressure:
( )( ( ) )
Pe
2 Po
V e=
1
1 o
Po
For a Stage I analysis, we assume choked flow in the nozzle hence M=1. From this,
the following relation is realized:
P0 + 1
=
Pe
2
( )
+1
Using this relation, the exit velocity of the nozzle can be written as
2 P1o 11/ 1
2 Po
V e=
=
P 2
+1 o
( + 1 ) o 1 o
( )
From the two equations above, solving for the exit density yields
1
P e o1
e =o
= 1
Po
P01
( )
( )(
2
+1
1
1
Next, the mass flow rate of the air leaving the nozzle is determined
o1
( )(
m=
( e A e V e) =
01
2
+1
1
1
Ae
2 P 1o 11/ 2+1
P
( +1 ) o 1 o
A e
)( )
2
+1
1
1
2 P1o 11 /
( +1 ) o 1
13
2
o
d Po
=C
dt
( )
Po=( P + bCt )
1
b
Using the ideal gas law, initial density denoted as rho1 is calculated:
Next, the constants C and b as defined in the derivation shown earlier is computed
for the parameters of the given problem:
A vector t is defined which divides the interval from 0 to 5 seconds into 10 steps of
size 0.5 seconds. Using the final result of Stage I analysis the pressure is computed
and stored in the vector P0. This result is then divided by the initial reservoir
pressure in order to obtain the desired ratios which are stored in the vector Ratio:
Po/Po1
1
0.262
2
0.085
3
0.032
4
0.013
9
0.006
5
0.003
3
0.001
8
0.001
0.000
6
0.000
4