How to Calculate Analytical Results for Quasi-1D Air Flow in a Duct

  • Thread starter Thread starter roldy
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around calculating analytical results for quasi-one-dimensional air flow in a duct, specifically focusing on the exit conditions of pressure, temperature, velocity, and Mach number. Participants are analyzing the results obtained from a MATLAB simulation and comparing them with analytical methods, while also addressing potential discrepancies in their calculations.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant outlines the parameters of their project, including initial conditions and the need for analytical results to validate their MATLAB code.
  • Another participant suggests checking if the exit area is smaller than the critical area and mentions using Mach tables for determining exit conditions based on area ratios.
  • A different participant expresses concern about the relationship between exit area and Mach number, indicating a potential issue with their calculations.
  • One participant shares their algebraic derivation for calculating velocity and pressure, noting an increase in Mach number and expressing confusion about the results.
  • Multiple equations are presented by a participant to relate various parameters, including density, pressure, and temperature, but they express uncertainty about the correctness of their approach, particularly regarding the term involving wall shear stress.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the correctness of their calculations or the analytical methods to be used. There are multiple competing views regarding the relationship between area and Mach number, and the discussion remains unresolved regarding the accuracy of the derived equations.

Contextual Notes

Participants mention potential issues with assumptions in their calculations, particularly regarding the critical area and the influence of wall shear stress on the results. There are also unresolved mathematical steps in the derivations presented.

roldy
Messages
206
Reaction score
2
I'm working on an interaction project for my propulsion class. I am to do an analysis on a quasi-one-dimensional air flow in a duct that is 1 meter long.

Length 1 meter
Isentropic flow
no work interaction
P_0=101325Pa
T_0=288K
Mach=0.5
cross-section area at inlet=0.1 m^2
cross-section area at exit=0.4345 m^2

I'm to perform 100,000 iterations from the inlet to the exit to calculate the exit conditions

P, T, velocity, Mach, P total, T total.

We are to use differential analysis. I wrote MATLAB code to perform this analysis but I'm also required to check my results against analytical results.

Could someone explain to me how to calculate the analytical results?

The exit conditions as calculated from my program are as follow below. Attached is my code.Exit pressure = 101325.9571 Pa
Exit temperature = 288.0015 K
Exit velocity = 168.8889 m/s
Exit Mach = 0.49997
Exit total pressure = 191802.8588 Pa
Exit total temperature = 86.3911 K
Exit density = 0.28613 kg/m^3
P/P*= 0.99999
rho/rho*= 4.3448
T/T*= 0.99999
U/U*= 1.0001
Pt/Pt*= 0.62665
Tt/Tt*= 3.5004
 

Attachments

Last edited:
Physics news on Phys.org
I suppose the first thing you would need to do is check to see if your exit area is smaller than the critical area. If not, then you should be able to just use Mach tables to find your exit conditions given your area ratio.

Have you done a sanity check on your results? Your exit area is more than 4x larger, but your exit Mach is only 0.0003 different.
 
I was thinking the same thing about the area and Mach. I've worked with these equations about 5 times now. I'll have to post later my steps for coming up with the equations used for the iterations.
 
So I went through the algebra again and came up with a different equation for my velocity but now my Mach number increased. Something is seriously wrong. Here is my work.

As we move along the nozzle for each iteration, the area increases by dA.
steps=100,001

A variable with subscript i represents the value of the variable at the current step.
A variable with subscript j represents the value of the variable at the previous step, i-1.

dA=(A_{exit} - A_{inlet})/(steps-1)
So at any iteration step, the area can be calculated by,

A_i=A_j+dA

Given:
\frac{d\rho}{\rho}+\frac{dU}{U}+\frac{dA}{A}=0

But \frac{d\rho}{\rho}=\frac{\rho_i-\rho_j}{\rho_j}, like wise for the other terms.

\frac{\rho_i-\rho_j}{\rho_j}+\frac{U_i-U_j}{U_j}+\frac{A_i-A_j}{A_j}=0

Simplifying and solving for \frac{\rho_i}{\rho_j}

(1) \frac{\rho_i}{\rho_j}=3-\frac{U_i}{U_j}-\frac{A_i}{A_j}

Given:
\frac{dP}{\rho}+UdU=\frac{-\tau_w*C*dx}{\rho{A}}+\eta*dw

(*) \frac{P_i-P_j}{P_j}+U_j(U_i-U_j)=\frac{-\tau_w*C_i*dx}{\rho_j*A_j}+\eta*dw

dS*\tau_w=1/2*C_f*\rho_j*U_j^2*C_i*dx

dS=C*dx

So then \tau_w=1/2*C_f*\rho_j*U_j^2

Plugging into (*) and simplifying.

\frac{P_i-P_j}{P_j}+U_j(U_i-U_j)=\frac{-1/2*C_f*U_j^2*C_i*dx}{A_j}+\eta*dw

Solve for \frac{P_i}{P_j}

\frac{P_i}{P_j}=\frac{-.5*C_f*U_j^2*C_i*dx}{A_j}+\eta*dw-U_j(U_i-U_j)+1
I then grouped the non-iterative terms of subscript i (including C_i) into a variable called \beta.

\beta=\frac{-.5*C_f*U_j^2*C_i*dx}{A_j}+\eta*dw+1

So now

(2) \frac{P_i}{P_j}=\beta-U_j(U-i-U_j)

Given:
C_p*dT+UdU=d_q+d_w

Solving for T_i

T_i=\frac{d_q+d_w}{C_p}-\frac{U_j(U_i-U_j)}{C_p}+T_j

Letting \alpha=\frac{d_q+d_w}{C_p}+T_j

(3) T_i=\alpha-\frac{U_j(U_i-U_j)}{C_p}

Given:
\frac{dP}{P}=\frac{d\rho}{\rho}+\frac{dT}{T}

\frac{P_i-P_j}{P_j}=\frac{\rho_i-\rho_j}{\rho_j}+\frac{T_i-T_j}{T_j}

Simplifying and solving for \frac{P_i}{P_j}

(4) \frac{P_i}{P_j}=\frac{\rho_i}{\rho_j}+\frac{T_i}{T_j}-1

So, eq (2) into (4):

(5) \beta-U_j(U_i-U_j)=\frac{\rho_i}{\rho_j}+\frac{T_i}{T_j}-1

eq 3) into (5):

(6) \beta-U_j(U_i-U_j)=\frac{\rho_i}{\rho_j}-\frac{U_j(U_i-U_j)}{T_j*C_p}-1

eq (1) into (6):

\beta-U_j(U_i-U_j)=3-\frac{U_i}{U_j} - \frac{A_i}{A_j} + \frac{\alpha}{T_j} - \frac{U_j(U_i-U_j)}{T_j*C_p} -1

Gathering all U_i]/tex] terms:<br /> <br /> -U_j(U_i-U_j)+\frac{U_i}{U_j}+\frac{U_j(U_i-U_j)}{T_j*C_p}=3-\beta-\frac{A_i}{A_j}+\frac{\alpha}{T_j}-1<br /> <br /> Factoring the U_i term:<br /> <br /> U_i\left(-U_j+\frac{1}{U_j}+\frac{U_j}{T_j*C_p}\right)=2-\beta-\frac{A_i}{A_j}+\frac{\alpha}{T_j}-U_i^2+\frac{U_i^2}{T_j*C_p}<br /> <br /> U_i=\left(2-\beta-\frac{A_i}{A_j}+\frac{\alpha}{T_j}-U_j^2+\frac{U_j^2}{T_j*C_p}\right)\left(-U_j+\frac{1}{U_j}+\frac{U_j}{T_j*C_p}\right)^{-1}<br /> <br /> To find the other values of the parameters my professor suggested to use these equations:<br /> <br /> \rho_i=\frac{\rho_j*U_j*A_j}{U_i*A_i}<br /> <br /> T_i=T_j+\frac{.5*(U_j^2-U_i^2)+dq+dshaft}{C_p}<br /> <br /> P_i=\rho_i*R*T_i<br /> <br /> R=283, and C_p=1004<br /> <br /> M_i=\frac{U_i}{\sqrt{\gamma*R*T_i}}<br /> <br /> It would be very much appreciated if someone could check over my steps. I&#039;ve solved through these equations like 6 times and I can&#039;t figure out what I&#039;m doing wrong. The only thing I can think of is the term \frac{-\tau_w*C*dx}{\rho{A}} in equation (2). I thinking that maybe the denominator term should be \rho_i*A_i. Any suggestions would be greatly appreciated.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
17K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 45 ·
2
Replies
45
Views
6K
Replies
1
Views
4K
Replies
1
Views
5K
  • · Replies 2 ·
Replies
2
Views
7K
  • · Replies 8 ·
Replies
8
Views
2K