Main Content

Analyzing Flow with Friction Through an Insulated Constant Area Duct

This example shows how to implement a steady, viscous flow through an insulated, constant-area duct using Aerospace Toolbox software. This flow is also called Fanno line flow.

Problem Definition

This section describes the problem to be solved. It also provides necessary equations and known values.

Fanno line flow is the modeling of perfect gas flow through a constant-area duct that does not change with time and which is adiabatic. Wall friction is the main mechanism for the change of the flow variables. This example looks at Fanno flow of air entering a 3 centimeter diameter pipe that is 45 centimeters long at a Mach number of 0.6. The conditions at the inlet, also called station 1, are static pressure of 150 kilopascals and static temperature of 300 Kelvin. The duct is assumed to have a coefficient of friction of 0.02. Calculate the Mach number, static pressure, and static temperature at the exit of the duct or station 2.

ductPicture = plotFannoFlowDuct;

Figure ductPicture contains an axes object. The axes object contains 10 objects of type boundaryline, line, text.

The given information in the problem is:

ductLength       = 0.45;    % Length of the duct [m]
diameter         = 0.03;    % Diameter of the duct [m]
inletMach        = 0.6;     % Mach number at the duct inlet [dimensionless]
inletPressure    = 150;     % Static pressure at the duct inlet [kPa]
inletTemperature = 300;     % Static temperature at the duct input [K]
frictionCoeff    = 0.02;    % Duct friction coefficient [dimensionless]

The fluid is air which has the following specific heat ratio.

k = 1.4;    % Specific heat ratio [dimensionless]

Understanding the Fanno Parameter

The Fanno parameter is a dimensionless quantity that indicates how much influence friction will have while the fluid is flowing through the duct. For a given duct, the Fanno parameter is defined as

Fannoparameter=fLDh

where

L=Lengthoftheduct

Dh=4*Cross-sectionalareaPerimeterofcross-section=Hydraulicdiameter

For the circular pipe, assume the hydraulic diameter is the inner diameter of the pipe. The friction coefficient, f, is given by the following expression:

f=4τf12ρV2

where

τf=Shearstressduetowallfriction

ρ=Density

V=Velocity

Note, this example uses the convention in which a factor of four is not visible in the Fanno parameter. This convention defines the friction coefficient as four times the skin friction over the dynamic pressure. Friction will have a greater effect on the flow in a long duct than in a short duct because the flow is impeded by more wall surface friction. Additionally, friction is more dominant when the duct is narrow. This is because the boundary layer affects a larger portion of the flow along the walls than when the duct width is large.

Friction is an energy loss that generates entropy (irreversibility) in the system. The increase in entropy causes the flow to tend towards the choked condition (Mach = 1). The choked condition occurs if the length of the duct is long enough. For a given Mach number and specific heat ratio, the reference Fanno parameter for choked flow is

fLmaxDh=1-M2γM2+γ+12γln(M22γ+1[1+γ-12M2])

where

γ=k=Specificheatratio

Using the Fanno Parameter and flowfanno to Solve for the Flow Properties at the Inlet

This example provides the length of the duct, the diameter of the duct, and the friction coefficient. Therefore, the actual Fanno parameter of the duct can be computed as follows:

fannoParameter = frictionCoeff * ductLength / diameter;

This example also provides the Mach number and specific heat ratio. This enables you to calculate the reference Fanno parameter for the inlet condition, the inlet temperature ratio, and the inlet pressure ratio. Use the flowfanno function:

[~, inletTempRatio, inletPresRatio, ~, ~, ~, inletFannoRef] = flowfanno(k, inletMach);

inletTempRatio=T1T1*

inletPresRatio=p1p1*

inletFannoRef=(fLmaxDh)1

where:

  • The subscript indicates the flow station.

  • Unstarred quantities are the local values of the given variables.

  • Starred quantities are referenced value of the given variables if the flow is brought to the choked condition.

The length of the inlet reference Fanno parameter, also called inlet max length, is the length that the pipe needs to be to have choked flow for a given inlet condition. If the actual length is less than the inlet max length, an extension to the pipe is needed for choked flow. This choked flow corresponds to a reference Fanno parameter for the outlet. Since the diameter and friction coefficient are given in the problem statement, only the lengths vary in the following equation for the outlet reference Fanno parameter:

(fLmaxDh)2=(fLmaxDh)1-fLDh

outletFannoRef = inletFannoRef - fannoParameter;

Calculating the Flow Properties at the Outlet with the flowfanno Function

Next, use flowfanno to calculate the flow ratios at the outlet station. The third input, fannosub, indicates that the second input, outletFannoRef, is a subsonic Fanno parameter input.

[outletMach, outletTempRatio, outletPresRatio] = flowfanno(k, outletFannoRef, 'fannosub');

outletTempRatio=T2T2*

outletPresRatio=p2p2*

Use the temperature ratios found at the inlet and outlet to calculate the temperature and pressure at the outlet. The reference conditions are the same at both stations because the duct is insulated. In addition, assume that the effects of friction act on both stations in the same manner. As a result, we have

T1*=T2*

p1*=p2*

Therefore, the temperature at the outlet and the pressure at the outlet are

T2=T1T1*T1T2T2*

outletTemperature = inletTemperature / inletTempRatio * outletTempRatio;

p2=p1p1*p1p2p2*

outletPressure = inletPressure / inletPresRatio * outletPresRatio;

The values that we want to calculate are

outletMach          % [dimensionless]
outletMach = 
0.7093
outletTemperature   % [K]
outletTemperature = 
292.2018
outletPressure      % [kPa]
outletPressure = 
125.2332

For Fanno line flow where the inlet flow is subsonic, the temperature and pressure always decrease through the duct. For all Fanno line flow cases, the Mach number moves closer to one.

Reference

[1] James, J. E. A., "Gas Dynamics, Second Edition", Allyn and Bacon, Inc, Boston, 1984.

See Also

| | |

Related Topics