You are on page 1of 3

2103-566 Compressible Fluid Dynamics

Homework 4: Mach-Area Relation and Simple Supersonic Nozzle Design, and Mass Flowrate Equation
Asi Bunyajitradulya

2103-566 Compressible Fluid Dynamics


Homework 4: Mach-Area Relation and Simple Supersonic Nozzle Design,
and Mass Flowrate Equation

Problem 1: Mach-Area Relation


Inputs: Write a matlab function (.m file) that takes two inputs
1. a vector of Mach number M , and 2. a specific heat ratio 
Outputs: and calculates and output vectors of the area ratio and the local isentropic property ratios
1. A / A* 2. To / T , 3. po / p , 4.  o /  .
Function declaration: with the function declaration
[ A / A* , To / T , po / p,  o /  ]  f ( M ,  ) .
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 these relations
1. A / A* , To / T , po / p , and  o /  vs M on the same graph, and
2. A / A* , T / To , p / po , and  /  o vs M 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.
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 the range of M, 0  M  2 .
2103-566 Compressible Fluid Dynamics
Homework 4: Mach-Area Relation and Simple Supersonic Nozzle Design, and Mass Flowrate Equation
Asi Bunyajitradulya
Problem 2: Simple Supersonic Nozzle Design
A simple supersonic nozzle is to be designed such that it has the Mach number distribution under the design
condition as a function of the normalized distance from inlet to exit
M  f ( x / L) ,
where x = coordinate starting from the nozzle inlet,
L = the nozzle length from inlet to exit.
Inputs: Write a matlab function (.m file) that takes three inputs
1. a vector of normalized distance from inlet, x / L
2. the corresponding vector of Mach number distribution, M  f ( x / L)
3. the specific heat ratio,  .
Outputs: and calculates and output vectors of local isentropic property ratios
1. the normalized nozzle area A / A* ,
2. the stagnation-to-static temperature ratio To / T ,
3. the stagnation-to-static pressure ratio po / p ,
4. the stagnation-to-statics density ratio  o /  .
Function declaration: with the function declaration
[ A / A* , To / T , po / p,  o /  ]  f ( x / L, M ,  ) .

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 .

You might also like