11a Compressible Orifice Flow Assignment
11a Compressible Orifice Flow Assignment
A gas flows steadily through a varying-cross-sectional area at a flowrate of 0.4 gram/sec. The gas enters
the duct at a low velocity at a pressure of 500 kPa and has a specific volume of 16.18 m3/kg. The duct is
designed so that the flow process is isentropic. The diameter of the nozzle changes as the nozzle
gradually reduces and then increases in size. The internal diameter at eight positions is given in the table
below:
Segment A B C D E F G H
Diameter
2.4 2.0 2.13 2.26 2.39 2.52 2.66 2.79
(mm)
Develop a Python script that calculates the pressure at each point A to H and hence plot a graph of the
pressure distribution along the nozzle.
Note:
I would advise using the scipy. optimize. minimize module covered in the class. For better visualization,
you can use many more data points.