Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
To be Learned:
This lab is an introduction to compressible flow. The lab includes a program for
calculating the quasi-one-dimensional, unsteady flow in a nozzle.
For this lab, we will run a computer code to calculate the steady flow in a
converging/diverging nozzle. You will see that, provided the spatial and temporal step
size of the simulation are chosen appropriately, it is possible to reproduce accurately the
quasi-1D steady theory we develop in MECH 380. You will also encounter a situation in
which it is difficult for the simulation to predict the compressible flow field.
This lab will have served its purpose if you leave the lab with:
• an understanding of the speed of sound
• a knowledge of the definition of the Mach number of a flow
• a qualitative sense of the behaviour of flow in a deLaval nozzle
• the realization that computer simulations of flow, although powerful,
should be
treated with due caution
The Scenario:
It is now one or two years from today. You are out in the workforce working for a
company that manufactures rockets. Your supervisor has asked you to predict what
happens in the rocket when the upstream pressure is increased with time. The rocket
nozzle flow can be treated as a quasi-one-dimensional, compressible flow. Having had
some experience under your belt, you know that one thing to try is the development of a
transient, one-dimensional computer code to predict the flow. Being generally wary of
such codes, you also want to run some steady test cases of your code to confirm that they
agree well with the one-dimensional, steady theory we develop in MECH 380.
For an ideal gas, one may show that the speed of sound, which is normally given either
the symbol c or a, is:
In MECH 380 we define the Mach number as the ratio of the local fluid velocity to the
local speed of sound, M=V/c. The Mach number is an important quantity in flows for
which the local fluid velocity is greater than about 30% of the speed of sound of the
medium, i.e., when M>0.3. High velocity gas flows are examples of flow for which the
fluid compressibility is important. Flows for which V/c is less than 1 (i.e., M<1) are
called “subsonic,” whereas those for M>1 are “supersonic.” For M=1 the flow is “sonic.”
In MECH 380 we show that it is possible to accelerate a subsonic flow to supersonic
speeds by passing the flow through a converging/diverging nozzle, which is also called a
deLaval nozzle. Such a nozzle looks approximately like a duct with flexible walls, that
has been squeezed in the centre, as shown below. The location where the duct area is a
minimum is called the throat.
FLOW A(x)
_)
THROAT
x
Through the use of the continuity and momentum equations, one may show that the flow
in such a nozzle, when it operates properly, is subsonic up to the location where the
nozzle area, A(x), is a minimum, and is supersonic thereafter. One may also show that
the pressure falls monotonically (i.e., the pressure does nothing but decrease), the
temperature falls monotonically, and the velocity rises monotonically, as one passes from
the inlet to the exit. The exact shapes of the pressure, temperature, and velocity curves
depend on the shape of the nozzle.
The floppy disk contains a copy of the EXCEL spreadsheet NOZZLE.XLS. This
spreadsheet calculates the transient, one-dimensional, compressible flow in nozzle. The
program uses a procedure called MacCormack’s Method to carry out this computation. If
you take MECH 483, you will learn about this method. For this lab all that you need to
know is that if the pressure, velocity, and temperature everywhere in the nozzle are
known at one instant in time, and the pressure, velocity, and temperature at the nozzle
inlet are also known as a function of time, the program will calculate what happens one
small “time step,” ∆ t, later. If you run the program for many time steps, you can
calculate what happens for longer times.
We can calculate the steady state flow in the nozzle by starting with an (almost) arbitrary
pressure, velocity, and temperature distribution, and running the simulation for a long
time with constant inlet conditions until p, V, and T stop changing with time.
Alternatively, we can run the simulation with variable inlet conditions to see what
happens if we have transient flow in the nozzle.