Escolar Documentos
Profissional Documentos
Cultura Documentos
Homework 4: Mach-Area Relation and Simple Supersonic Nozzle Design, and Mass Flowrate Equation
Asi Bunyajitradulya
Requirements
1. With the above function, design three simple supersonic nozzles with the design Mach number at the
exit of M e = 2 with the following Mach number distributions
1. Square root: M ( x / L) a1 ( x / L ) ao , ao 0.1 , a1 1.9
2. Linear: M ( x / L) a1 ( x / L) ao , ao 0.1 , a1 1.9
3. Parabolic: M ( x / L) a 2 ( x / L) 2 a1 ( x / L) ao , ao 0.1 , a1 0 , a2 1.9
2. The function must save all variables in the workspace as .mat file in the directory c:\Temp\2103-566. If
the directory does not exist, the function must create the directory.
3. The function must plot and display these relations
1. M , A / A* vs x/ L for all three nozzles on the same graph,
*
2. M , A / A , To / T , po / p vs x/ L for all three nozzles on the same graph,
3. M , A / A* , T / To , p / po vs x/ L for all three nozzles on the same graph,
on the computer monitor with
➢ appropriate primary- y and secondary- y axes such that all property ratios are reasonably well-
represented on the graph (i.e., variation of y spans reasonable range of the corresponding y axis)
➢ appropriate axes labels, and
➢ legends indicating the corresponding parameters of each line on the plot.
4. The function must save the three plots in (3) as .fig file in the directory c:\Temp\2103-566.
5. The function must save the three plots in (3) as .jpg file in the directory c:\Temp\2103-566.
6. Discuss the shape difference between the three nozzles.
Submission Submit via CourseVille
1. the function as an attached .m file, and
2. the resulting three plots in (5) saved as .jpg files.
2103-566 Compressible Fluid Dynamics
Homework 4: Mach-Area Relation and Simple Supersonic Nozzle Design, and Mass Flowrate Equation
Asi Bunyajitradulya
Problem 3: Mass flowrate equation
The mass flowrate through any cross section area A in a channel reads
p A
m q(M ) o (in terms of local isentropic stagnation properties)
RTo
po* A*
or m (in terms of local isentropic sonic stagnation properties)
RTo*
1
2 2( 1)
where ( )
1
1
1 2 2 ( 1)
1 M
A* 2
q(M )
1
M
A
2
1. is a gas specific heat ratio,
2. R is a gas constant,
3. M is a local Mach number,
4. A is a local flow cross section,
5. po is a local isentropic stagnation pressure,
6. To is a local isentropic stagnation temperature,
7. A* is a local sonic cross section,
8. p o* p o is a local isentropic sonic stagnation pressure,
9. To* To is a local isentropic sonic stagnation temperature.
Inputs: Write a matlab function (.m file) that takes the inputs
1. a specific heat ratio ,
2. a gas constant R ,
3. a local Mach number M ,
4. a local isentropic stagnation pressure po
5. a local isentropic stagnation temperature To
Outputs: and calculates the mass flowrate m
Function declaration: with the function declaration
[m] f (M , A, po , To , R, ) , where any one of the input arguments can be a vector
and the output m must be the corresponding vector
Requirements
1. The function must save all variables in the workspace as .mat file in the directory c:\Temp\2103-566. If
the directory does not exist, the function must create the directory.
2. The function must plot and display the relation
1. m vs M for fixed A, po , To , R,
on the computer monitor with
➢ appropriate axes labels, and
➢ legends indicating the corresponding values of A, po , To , R,
3. The function must save the plots in (2) as .fig file in the directory c:\Temp\2103-566.
4. The function must save the plots in (2) as .jpg file in the directory c:\Temp\2103-566.
Submission Submit via CourseVille
1. the function as an attached .m file, and
2. the plots in (2) saved as .jpg file for some assumed values of A, po , To , R, and the
range of M, 0 M 2 .