Menu Close

Flow in ducts with friction and heat transfer: UPSC Mechanical Engineering Optional PYQ Solutions (1995–2026)

All 20 questions UPSC has asked on flow in ducts with friction and heat transfer in the Mechanical Engineering Optional (Paper II, Thermodynamics, Gas Dynamics and Turbine) from 1995 to 2026, solved step by step – latest first.

Try them yourself first: the same questions, without solutions, are on our Thermodynamics, Gas Dynamics and Turbine topic-wise PYQs page.

How we check these solutions

These are our own solutions, prepared with AI help. UPSC does not publish official answers. Every solution is checked a second way before it goes up, and says how:

  • ✓ Checked by computer the numbers were worked out again independently in code (Python with NumPy/SymPy) and matched.
  • ✓ Derivation checked step by step for derivations and “show that” questions, every step was checked against the governing laws.
  • ✓ Answer checked step by step for descriptive questions, every point was checked against the standard theory.

Spotted a mistake or a neater method? Tell us in the comments below or through Report an error.

Jump to a question (year · question number):

2026 · 2b(ii) 2025 · 2b 2024 · 2a 2021 · 4b 2016 · 6a 2012 · 2c 2011 · 4b 2010 · 1b 2008 · 3a 2007 · 6a 2007 · 6b 2007 · 6c 2006 · 7b 2005 · 8b 1999 · 1c 1997 · 7b 1996 · 3a 1996 · 3b 1995 · 4a 1995 · 4b

Cover of the UPSC Prelims Topic-wise PYQ book with detailed explanations

From the Optional Province team

Preparing for Prelims too?

Our UPSC Prelims Topic-wise PYQ Book covers every Prelims question with detailed explanations, so you can see exactly where UPSC asks from. Now available as a hard copy and an eBook.

Buy Hard Copy on AmazonBuy eBook (PDF)

Download a free sample

Differentiate between Fanno and Rayleigh flows.

2026 · Paper II · Q2b(ii) · 10 marks

Solution

Fanno flow Rayleigh flow
Definition Adiabatic flow with friction in a constant-area duct Frictionless flow with heat transfer in a constant-area duct
Driving effect Wall friction Heat addition or removal
Constant quantities h₀ (T₀), mass flux G = ρV Mass flux G, impulse function p + ρV² (= p(1 + γM²))
Stagnation temperature Constant Changes (rises with heating)
Stagnation pressure Always falls (friction) Falls with heating, rises with cooling
Entropy Always increases Increases with heating, decreases with cooling
Effect on M Drives M towards 1 (both branches) Heating drives M towards 1; cooling drives it away from 1
h–s line Fanno line; max s at M = 1 Rayleigh line; max s at M = 1, max h (T) at M = 1/√γ
Choking Friction choking (L > L*) Thermal choking (q > q*)
Examples Long gas pipelines, ducts, nozzle–pipe systems Combustion chambers, ramjets, heat exchangers
M = 1max T at M = 1/√γRayleighFannosubsonicsupersonicsT/T*
Fanno line (navy, adiabatic flow with friction) and Rayleigh line (teal, frictionless flow with heat transfer) for air, plotted as T/T* against (s − s*)/C_p for the same mass flux. Both reach maximum entropy at M = 1 (the nose). The upper branches are subsonic, the lower supersonic. The Rayleigh line has its maximum temperature at M = 1/√γ = 0.845. The two lines cross at the states on either side of a normal shock.

✓ Answer checked step by step We checked the comparison against Fanno and Rayleigh flow theory.

↑ Back to the question list

Compressed air is transported in an industrial pipeline of 50 mm internal diameter. The stagnation conditions at the inlet are P0=10 bar and T0=400 K. The average Fanning friction factor f‾=0.002. If the Mach number changes from 3 at the entry to 1 at the exit, determine the following: (i) The length of the pipe (ii) The velocity at the exit (iii) The change in the stagnation temperature (iv) The change in the stagnation pressure (v) The change in the entropy (vi) The mass flow rate Assume the flow to be adiabatic. For air, take γ=1.4 and R=287 J/kg-K. Isentropic flow table and Fanno flow table attached at the end, may be used.

[Attached: Gas table supplied at the end of the paper (not transcribed): page 20, “For Question No. 2(b): Flow of Perfect Gases with Friction (Fanno Line, γ=1.4)”; the isentropic flow table on page 19 is also referred to.]

2025 · Paper II · Q2b · 20 marks

Solution

Supersonic Fanno flow, M₁ = 3 → M₂ = 1 (choked exit); D = 0.05 m, Fanning f = 0.002, T₀ = 400 K, p₀₁ = 10 bar.

(i) Length. At M = 3, 4fL/D = 0.5222: L=0.5222D4f=0.5222(0.05)4(0.002)=3.26𝐦.L=\frac{0.5222\,D}{4f}=\frac{0.5222(0.05)}{4(0.002)}=\mathbf{3.26\ m}. (ii) Exit velocity (M = 1, T = T₀/1.2 = 333.3 K): V*=1.4(287)(333.3)=𝟑𝟔𝟔𝐦/𝐬.V^*=\sqrt{1.4(287)(333.3)}=\mathbf{366\ m/s}. (iii) Change in stagnation temperature: zero (adiabatic): T₀ = 400 K throughout.

(iv) Change in stagnation pressure. At M = 3, p₀/p₀* = 4.2346: p02=104.2346=2.36bar,Δp0=−7.64𝐛𝐚𝐫.p_{02}=\frac{10}{4.2346}=2.36\ \text{bar},\qquad \Delta p_0=\mathbf{-7.64\ bar}. (v) Entropy change: Δs=Rlnp01p02=287ln4.2346=𝟒𝟏𝟒𝐉/𝐤𝐠·𝐊.\Delta s=R\ln\frac{p_{01}}{p_{02}}=287\ln4.2346=\mathbf{414\ J/kg·K}. (vi) Mass flow. Inlet: T₁ = 400/2.8 = 142.9 K, p₁ = 0.02722p₀ = 27.22 kPa, ρ₁ = 0.664 kg/m³, V₁ = 3√(1.4 × 287 × 142.9) = 718.7 m/s: ṁ=0.664(718.7)π4(0.05)2=0.937𝐤𝐠/𝐬.\dot m=0.664(718.7)\frac{\pi}{4}(0.05)^2=\mathbf{0.937\ kg/s}.

✓ Checked by computer We recomputed the Fanno and isentropic values in Python (the tables give the same).

↑ Back to the question list

Air flows through a 5 cm diameter pipe. Measurements indicate that at the inlet to the pipe the velocity is 70 m/s, the temperature is 80°C and the pressure 1 MPa. Find the temperature, the pressure, and the Mach Number at the exit of the pipe if the pipe is 25 m long. Assume that the flow is adiabatic and the mean friction factor is 0.005. Use Fanno table attached.

2024 · Paper II · Q2a · 20 marks

Solution

Inlet Mach number: M1=701.4(287)(353.15)=70376.7=0.186.M_1=\frac{70}{\sqrt{1.4(287)(353.15)}}=\frac{70}{376.7}=0.186. From the Fanno table, at M₁ = 0.186: 4fL*/D = 17.24.

Taking 0.005 as the Fanning friction factor (the Fanno table uses 4f): 4fLD=4(0.005)(25)0.05=10⇒(4fL*D)2=17.24−10=7.24.\frac{4fL}{D}=\frac{4(0.005)(25)}{0.05}=10\ \Rightarrow\ \left(\frac{4fL^*}{D}\right)_2=17.24-10=7.24. This gives M₂ = 0.266. Using the Fanno ratios T/T* and p/p* at M₁ and M₂: T2=353.15(T/T*)2(T/T*)1=350.6𝐊(77.5∘C),T_2=353.15\frac{(T/T^*)_2}{(T/T^*)_1}=\mathbf{350.6\ K}\ (77.5\ ^\circ\text{C}), p2=1(p/p*)2(p/p*)1=0.695𝐌𝐏𝐚.p_2=1\frac{(p/p^*)_2}{(p/p^*)_1}=\mathbf{0.695\ MPa}. Exit Mach number = 0.266. (The flow is subsonic and accelerates towards M = 1; the pipe is shorter than L* = 43 m, so it is not choked.)

(If 0.005 were the Darcy factor, 4fL/D = 2.5, giving M₂ = 0.199, T₂ = 352.8 K, p₂ = 0.934 MPa.)

✓ Checked by computer We recomputed the Fanno solution in Python.

↑ Back to the question list

Air enters a constant-area duct at p1=90 kPa, V1=520 m/s and T1=558°C. It is then cooled with negligible friction until it exists at p2=160 kPa. Estimate: (i) V2 (ii) T2 and (iii) the total enthalpy of cooling in kJ/kg. Use attached chart.

[Table (pages 6–8): ‘Frictionless Duct Flow with Heat Transfer for k = 1.4’ (Rayleigh-flow table) with columns Ma, T0/T0*, p/p*, T/T*, ρ*/ρ=V/V*, p0/p0*, for Ma = 0.0 to about 2.8 in steps of 0.02 (standard printed table, not transcribed)]

2021 · Paper II · Q4b · 20 marks

Solution

T₁ = 831.15 K; M₁ = 520/√(1.4 × 287 × 831.15) = 520/577.9 = 0.900. At M₁ = 0.9, p/p* = 1.125, so p* = 90/1.125 = 80.0 kPa.

At exit p₂/p* = 160/80.0 = 2.000. Cooling a subsonic flow lowers M, so take the subsonic root: M₂ = 0.378.

(i) Exit velocity (V/V* ratio): V2=𝟏𝟔𝟑𝐦/𝐬.V_2=\mathbf{163\ m/s}. (ii) Exit temperature (T/T* ratio): T2=𝟒𝟔𝟒𝐊(191∘C).T_2=\mathbf{464\ K}\ (191\ ^\circ\text{C}). (iii) Heat removed. T₀₁ = T₁ + V₁²/(2C_p) = 965.7 K; T₀₂ = 477.0 K (T₀/T₀* ratio). q=Cp(T02−T01)=1.005(477.0−965.7)=−𝟒𝟗𝟏𝐤𝐉/𝐤𝐠(about 491 kJ/kg removed).q=C_p(T_{02}-T_{01})=1.005(477.0-965.7)=\mathbf{-491\ kJ/kg}\ \text{(about 491 kJ/kg removed)}.

✓ Checked by computer We recomputed the Rayleigh solution in Python (table values agree).

↑ Back to the question list

Explain what you mean by Fanno flow. Clearly mention the assumptions made and governing equations involved in the Fanno flow.

2016 · Paper II · Q6a · 10 marks

Solution

Fanno flow: steady, one-dimensional, adiabatic flow of a perfect gas with wall friction in a constant-area duct. Friction is the only driving potential; it raises entropy and drives the Mach number towards 1.

Assumptions

  • Steady, one-dimensional flow (uniform properties at each section).
  • Constant cross-sectional area.
  • Adiabatic: no heat transfer, no shaft work.
  • Perfect gas with constant specific heats.
  • Friction represented by a wall shear stress τ_w = f ρV²/2 with a mean (Fanning) friction factor f.
  • Body forces and elevation changes negligible.

Governing equations

  • Continuity: ρV = G = constant ⇒ dρ/ρ + dV/V = 0.
  • Energy: h + V²/2 = h₀ = constant ⇒ T₀ constant.
  • Momentum: −A dp − τ_w(πD dx) = ṁ dV ⇒ dp + ρV dV + (4f/D)(ρV²/2)dx = 0.
  • State: p = ρRT. Second law: ds ≥ 0.

Results: the Fanno line h = h₀ − G²/(2ρ²) on the h–s diagram; the maximum-length relation 4fL*D=1−M2γM2+γ+12γln(γ+1)M22+(γ−1)M2;\frac{4fL^*}{D}=\frac{1-M^2}{\gamma M^2}+\frac{\gamma+1}{2\gamma}\ln\frac{(\gamma+1)M^2}{2+(\gamma-1)M^2}; and the property ratios T/T, p/p, p₀/p₀, V/V.

✓ Answer checked step by step We checked the assumptions and equations against Fanno-flow theory.

↑ Back to the question list

A stream of air flows in an insulated tube of constant cross-sectional area of 0.9 m2. At a section 1, the pressure is 0.6 bar, temperature is 22°C and mass velocity is 150 kg/s–m2. The pressure in space in which tube exhausts is so low that choking condition prevails. Determine, (i) Mach no. at section 1. (ii) Mach no., temperature and pressure at the exit of tube. (iii) Total force exerted in axial direction which must be exerted to hold the tube stationary. Given, R = 287 J/kg-K γ=1.4 Fanno line (Adiabatic constant area flow with friction) table γ=1.4

M TT* ee* pp* p0p0* II* 4fLmaxD
0.58 1.124 0.615 1.828 1.213 1.121 0.576
0.60 1.119 0.635 1.763 1.188 1.105 0.491
0.62 1.114 0.654 1.703 1.166 1.091 0.417
0.64 1.109 0.674 1.646 1.145 1.079 0.353

Solution

(i) Inlet Mach number. ρ1=60000287(295.15)=0.7083kg/m3,V1=Gρ1=1500.7083=211.8m/s.\rho_1=\frac{60\,000}{287(295.15)}=0.7083\ \text{kg/m}^3,\qquad V_1=\frac{G}{\rho_1}=\frac{150}{0.7083}=211.8\ \text{m/s}. M1=211.81.4(287)(295.15)=211.8344.4=0.615.M_1=\frac{211.8}{\sqrt{1.4(287)(295.15)}}=\frac{211.8}{344.4}=\mathbf{0.615}. Interpolating the given table at M = 0.615: T/T* = 1.1156, p/p* = 1.718, 4fL_max/D = 0.435.

(ii) Exit (choked, M = 1): T*=295.151.1156=264.6𝐊,p*=0.61.718=0.349𝐛𝐚𝐫.T^*=\frac{295.15}{1.1156}=\mathbf{264.6\ K},\qquad p^*=\frac{0.6}{1.718}=\mathbf{0.349\ bar}. (iii) Axial force on the tube. Momentum on the gas between section 1 and the exit (impulse function I = pA + ṁV = pA(1 + γM²)): Fwall→gas=I2−I1=A[p*(1+γ)−p1(1+γM12)].F_{wall\to gas}=I_2-I_1=A\,[p^*(1+\gamma)-p_1(1+\gamma M_1^2)]. I1=0.9(60000)(1+1.4×0.3782)=82.6kN,I2=0.9(34930)(2.4)=75.5kN.I_1=0.9(60\,000)(1+1.4\times0.3782)=82.6\ \text{kN},\qquad I_2=0.9(34\,930)(2.4)=75.5\ \text{kN}. So the wall pushes the gas upstream with 7.1 kN; the gas drags the tube downstream with 7.13 kN. A force of 7.13 kN must be applied in the upstream direction to hold the tube stationary. (This equals the total wall friction force.)

✓ Checked by computer We recomputed the inlet state, exit state and force in Python (table values agree).

2012 · Paper II · Q2c · 20 marks

↑ Back to the question list

Air flow is entering to a frictionless duct of 0.3 m diameter at a velocity of 580 m/s and a Mach number of 2. A 100 kJ/kg of heat is added to the flow and Mach number of 1.2 is attained. Determine (i) change in enthalpy of flow, (ii) change in kinetic energy of the flow, (iii) change in static pressure in terms of inlet pressure. Comment on result and show the process on T-ϕ diagram.

2011 · Paper II · Q4b · 20 marks

Solution

Inlet: a₁ = 580/2 = 290 m/s ⇒ T₁ = 290²/(1.4 × 287) = 209.3 K; T₀₁ = 1.8T₁ = 376.8 K.

Flag on the data. With heat addition from M = 2 the flow can absorb at most C_p(T₀* − T₀₁) = 1.005(474.9 − 376.8) = 98.6 kJ/kg before it chokes (M = 1). So 100 kJ/kg cannot be added without changing the inlet conditions. Moreover, reaching M = 1.2 needs only 88.4 kJ/kg. We take the stated end state M₂ = 1.2 and work out the changes. (The heat actually added is then 88.4 kJ/kg.)

Rayleigh ratios: at M = 2, T/T* = 0.5289, p/p* = 0.3636; at M = 1.2, T/T* = 0.9118, p/p* = 0.7958.

(i) Change in enthalpy: T2=209.3×0.91180.5289=360.8K,Δh=1.005(360.8−209.3)=+152.3𝐤𝐉/𝐤𝐠.T_2=209.3\times\frac{0.9118}{0.5289}=360.8\ \text{K},\qquad \Delta h=1.005(360.8-209.3)=\mathbf{+152.3\ kJ/kg}. (ii) Change in kinetic energy: V2=1.21.4(287)(360.8)=456.9m/s,ΔKE=456.92−58022000=−63.8𝐤𝐉/𝐤𝐠.V_2=1.2\sqrt{1.4(287)(360.8)}=456.9\ \text{m/s},\qquad \Delta KE=\frac{456.9^2-580^2}{2000}=\mathbf{-63.8\ kJ/kg}. (Δh + ΔKE = 88.5 kJ/kg = heat added ✓.)

(iii) Static pressure: p2p1=1+γM121+γM22=6.63.016=2.19⇒p2=2.19𝐩𝟏.\frac{p_2}{p_1}=\frac{1+\gamma M_1^2}{1+\gamma M_2^2}=\frac{6.6}{3.016}=2.19\ \Rightarrow\ p_2=\mathbf{2.19\,p_1}. Comment: in supersonic Rayleigh flow, heating decelerates the gas (M 2 → 1.2) and raises its static pressure and temperature, while the stagnation pressure falls (p₀₂/p₀₁ = 1.030/1.503 = 0.69). More heat (≥ 98.6 kJ/kg) would choke the duct. On the T–s diagram the state moves up the lower (supersonic) branch of the Rayleigh line towards the M = 1 point of maximum entropy.

(See the Fanno–Rayleigh T–s diagram in the first solution on this page.)

✓ Checked by computer We recomputed the Rayleigh states in Python and checked the heat balance.

↑ Back to the question list

(i) For normal shock wave derive the following expression: paypx=[1+γ−12Mx2]γ/(γ−1)⋅[2γγ+1Mx2−γ−1γ+1] where x and y are the conditions before and after the shock wave. (ii) Show Fanno line in adiabatic flow with friction on h-s diagram and explain the physical significance.

2010 · Paper II · Q1b · 20 marks

Solution

(i) The printed expression is garbled. The relation intended is Rayleigh’s supersonic Pitot formula for the stagnation pressure behind the shock relative to the static pressure ahead of it: p0ypx=[γ+12Mx2]γ/(γ−1)[2γγ+1Mx2−γ−1γ+1]1/(γ−1).\frac{p_{0y}}{p_x}=\frac{\left[\frac{\gamma+1}{2}M_x^2\right]^{\gamma/(\gamma-1)}}{\left[\frac{2\gamma}{\gamma+1}M_x^2-\frac{\gamma-1}{\gamma+1}\right]^{1/(\gamma-1)}}. Derivation. Write p₀y/p_x = (p₀y/p_y)(p_y/p_x).

  • Shock: p_y/p_x = [2γM_x² − (γ − 1)]/(γ + 1).
  • Isentropic, downstream: p₀y/p_y = [1 + ½(γ − 1)M_y²]^{γ/(γ−1)}.
  • With M_y² = [(γ − 1)M_x² + 2]/[2γM_x² − (γ − 1)]: 1+γ−12My2=2[2γMx2−(γ−1)]+(γ−1)2Mx2+2(γ−1)2[2γMx2−(γ−1)]=(γ+1)2Mx22[2γMx2−(γ−1)].1+\frac{\gamma-1}{2}M_y^2=\frac{2[2\gamma M_x^2-(\gamma-1)]+(\gamma-1)^2M_x^2+2(\gamma-1)}{2[2\gamma M_x^2-(\gamma-1)]}=\frac{(\gamma+1)^2M_x^2}{2[2\gamma M_x^2-(\gamma-1)]}. So p0ypx=[(γ+1)2Mx22[2γMx2−(γ−1)]]γγ−12γMx2−(γ−1)γ+1=[γ+12Mx2]γ/(γ−1)[2γMx2−(γ−1)γ+1]1/(γ−1).◼\frac{p_{0y}}{p_x}=\left[\frac{(\gamma+1)^2M_x^2}{2[2\gamma M_x^2-(\gamma-1)]}\right]^{\frac{\gamma}{\gamma-1}}\frac{2\gamma M_x^2-(\gamma-1)}{\gamma+1}=\frac{\left[\frac{\gamma+1}{2}M_x^2\right]^{\gamma/(\gamma-1)}}{\left[\frac{2\gamma M_x^2-(\gamma-1)}{\gamma+1}\right]^{1/(\gamma-1)}}.\qquad\blacksquare (For M_x = 2, air: p₀y/p_x = 5.64. A Pitot tube in supersonic flow reads p₀y, and this formula gives M_x.)

(ii) Fanno line. Adiabatic flow with friction in a constant-area duct: h₀ is constant and G = ρV = constant. Combining h = h₀ − G²/(2ρ²) with the state relation s(h, ρ) gives a curve on the h–s diagram for each G: the Fanno line. It is nose-shaped, opening to the left.

  • The point of maximum entropy is M = 1. The upper branch is subsonic and the lower branch supersonic.
  • Friction always increases entropy, so the state moves towards the nose. Subsonic flow accelerates towards M = 1 (pressure and temperature fall); supersonic flow decelerates towards M = 1 (pressure and temperature rise).
  • Significance: flow can never pass from subsonic to supersonic by friction alone. A duct longer than L* (the length to reach M = 1) causes friction choking: the mass flow reduces (subsonic inlet), or a normal shock forms in the duct (supersonic inlet). The intersections of the Fanno and Rayleigh lines for the same G give the states on the two sides of a normal shock.

✓ Derivation checked step by step We checked the corrected pitot-pressure relation and the Fanno-line description.

↑ Back to the question list

Derive an equation for a Fanno flow. Give two examples of Fanno flow in thermal system. Show that the upper and lower branches of a Fanno curve represent subsonic and supersonic flows respectively.

2008 · Paper II · Q3a · 25 marks

Solution

Fanno equation (h–s form). Constant area, adiabatic, with friction:

  • Continuity: ρV = G = constant.
  • Energy: h + V²/2 = h₀ = constant.

So V = G/ρ and h=h0−G22ρ2=h0−G2v22.h=h_0-\frac{G^2}{2\rho^2}=h_0-\frac{G^2v^2}{2}. With the state relations s = s(h, v) for a perfect gas (s − s₁ = C_v ln(T/T₁) + R ln(v/v₁), h = C_pT), each value of v gives a point (h, s). The locus for given h₀ and G is the Fanno line.

Differential form (momentum with wall shear included, and the above), in terms of M: 4fdxD=(1−M2)γM4(1+γ−12M2)d(M2),\frac{4f\,dx}{D}=\frac{(1-M^2)}{\gamma M^4\left(1+\frac{\gamma-1}{2}M^2\right)}d(M^2), which integrates to 4fL*/D = (1 − M²)/(γM²) + [(γ + 1)/2γ] ln{(γ + 1)M²/[2 + (γ − 1)M²]}.

Examples: flow of natural gas or compressed air in long pipelines; flow in the exhaust pipes of engines and in steam/gas supply lines; flow in a nozzle followed by a long duct (supersonic wind tunnels, pneumatic conveying).

Upper branch subsonic, lower branch supersonic. From Tds = dh − v dp: at the point of maximum entropy, ds = 0 gives dh = v dp. Combining with dh = −V dV and continuity (dp = a² dρ, dρ/ρ = −dV/V) gives V² = a², i.e. M = 1 at the nose. Above the nose h is larger, so T is larger and V smaller (V² = 2(h₀ − h)), so M < 1: the upper branch is subsonic. Below the nose h is smaller, so V is larger and M > 1: the lower branch is supersonic. Since friction can only increase s, both branches move towards the nose (M → 1).

(See the Fanno–Rayleigh T–s diagram in the first solution on this page.)

✓ Derivation checked step by step We checked the Fanno equation and the branch argument.

↑ Back to the question list

Define Rayleigh flow and mention its governing relations. Using them, establish the expression for the flow in the form p+G2v=Const., where G is the mass flow rate per unit area. Show the plot of this equation on h-s and p-v planes. Show also that at maximum enthalpy state M=1γ.

2007 · Paper II · Q6a · 20 marks

Solution

Rayleigh flow: steady 1-D flow of a perfect gas in a constant-area duct, frictionless, with heat transfer (no work).

Governing relations:

  • Continuity: ρV = G = constant.
  • Momentum (no friction, constant area): p + ρV² = constant.
  • Energy: q = h₀₂ − h₀₁.
  • State: p = ρRT.

The Rayleigh line p + G²v = constant. With v = 1/ρ, V = Gv, so ρV² = G²v: p+ρV2=p+G2v=constant.p+\rho V^2=p+G^2v=\text{constant}. On the p–v plane this is a straight line of slope −G², through the inlet state.

On the h–s plane it is a nose-shaped curve (see figure, same shape on T–s). The upper branch is subsonic and the lower supersonic. Maximum entropy is at M = 1; maximum enthalpy is on the subsonic branch at M = 1/√γ.

Maximum enthalpy at M = 1/√γ. Along the line, dp = −G² dv. For a perfect gas h = C_pT = C_p pv/R, so dh=CpR(pdv+vdp)=CpR(p−G2v)dv.dh=\frac{C_p}{R}(p\,dv+v\,dp)=\frac{C_p}{R}(p-G^2v)\,dv. dh = 0 when p = G²v. Since G²v = ρV², this means p = ρV², so V² = p/ρ = RT = a²/γ: M2=1γ⇒M=1γ(=0.845 for air).◼M^2=\frac{1}{\gamma}\ \Rightarrow\ M=\frac{1}{\sqrt\gamma}\ (=0.845\text{ for air}).\qquad\blacksquare (Between M = 1/√γ and 1, heating the subsonic gas makes its temperature fall: the added heat and more go into kinetic energy.)

M = 1max T at M = 1/√γRayleighFannosubsonicsupersonicsT/T*
Fanno line (navy, adiabatic flow with friction) and Rayleigh line (teal, frictionless flow with heat transfer) for air, plotted as T/T* against (s − s*)/C_p for the same mass flux. Both reach maximum entropy at M = 1 (the nose). The upper branches are subsonic, the lower supersonic. The Rayleigh line has its maximum temperature at M = 1/√γ = 0.845. The two lines cross at the states on either side of a normal shock.

✓ Derivation checked step by step We checked the Rayleigh-line equations and the maximum-enthalpy condition.

↑ Back to the question list

Cover of the UPSC Mains Topic-wise and Year-wise PYQs book (2013–2026)

From the Optional Province team

Strengthen your GS papers

Our UPSC Mains Topic-wise & Year-wise PYQ Book (2013–2026) maps every GS question to the syllabus, so you know what UPSC asks and how often. Now available as a hard copy and an eBook.

Buy Hard Copy on AmazonBuy eBook (PDF)

Download a free sample

For the Rayleigh flow, establish the expression for T/T* terms of Mach number, M.

2007 · Paper II · Q6b · 20 marks

Solution

Momentum (frictionless, constant area): p + ρV² = const, and ρV² = γpM², so p(1+γM2)=p*(1+γ)⇒pp*=1+γ1+γM2.p(1+\gamma M^2)=p^*(1+\gamma)\ \Rightarrow\ \frac{p}{p^*}=\frac{1+\gamma}{1+\gamma M^2}. Continuity ρV = const with ρ = p/RT and V = M√(γRT): pMT=p*⋅1T*⇒TT*=M2(pp*)2.\frac{pM}{\sqrt T}=\frac{p^*\cdot1}{\sqrt{T^*}}\ \Rightarrow\ \frac{T}{T^*}=M^2\left(\frac{p}{p^*}\right)^2. Therefore TT*=(1+γ)2M2(1+γM2)2.\frac{T}{T^*}=\frac{(1+\gamma)^2M^2}{(1+\gamma M^2)^2}. Check at M = 2, γ = 1.4: 5.76 × 4/6.6² = 0.5289 ✓. (Similarly, T₀/T₀* = 2(γ + 1)M²[1 + ½(γ − 1)M²]/(1 + γM²)².)

✓ Derivation checked step by step We checked each step of the Rayleigh temperature ratio.

↑ Back to the question list

Air enters a 5 cm diameter frictionless duct with a Mach number 2. Its static temperature is 250 °C and stagnation pressure 6 bar. For increasing Mach number to 3, find the amount of heat to be transferred and change in static temperature. You may use the following table for air having γ=1.4:

M T/T* P/P* P0/P0* T0/T0*
2 0.5289 0.3636 1.503 0.7934
3 0.2803 0.1765 3.424 0.6534

Solution

T₁ = 523.15 K, M₁ = 2 → M₂ = 3 (heat must be removed to accelerate supersonic Rayleigh flow).

Static temperature: T*=523.150.5289=989.1K,T2=0.2803(989.1)=277.3K.T^*=\frac{523.15}{0.5289}=989.1\ \text{K},\qquad T_2=0.2803(989.1)=277.3\ \text{K}. ΔT=−245.9𝐊.\Delta T=\mathbf{-245.9\ K}. Heat transfer: T01=523.15(1.8)=941.7K,T0*=941.70.7934=1186.9K,T02=0.6534(1186.9)=775.5K.T_{01}=523.15(1.8)=941.7\ \text{K},\quad T_0^*=\frac{941.7}{0.7934}=1186.9\ \text{K},\quad T_{02}=0.6534(1186.9)=775.5\ \text{K}. q=Cp(T02−T01)=1.005(775.5−941.7)=−𝟏𝟔𝟕𝐤𝐉/𝐤𝐠(heat removed).q=C_p(T_{02}-T_{01})=1.005(775.5-941.7)=\mathbf{-167\ kJ/kg}\ (\text{heat removed}). Rate (for the 5 cm duct): p₁ = p₀₁(0.1278) = 0.767 bar, ρ₁ = 0.511 kg/m³, V₁ = 917 m/s ⇒ ṁ = 0.920 kg/s, so about 154 kW must be removed.

✓ Checked by computer We recomputed the Rayleigh states and heat in Python from the given table.

2007 · Paper II · Q6c · 20 marks

↑ Back to the question list

Define Rayleigh flow. Give one practical example of Rayleigh flow. Show that the Mach numbers at the maximum enthalpy and maximum entropy points on the Rayleigh line are 1ν and 1.0 respectively.

2006 · Paper II · Q7b · 20 marks

Solution

(The printed “1/ν” is 1/√γ.)

Rayleigh flow: frictionless flow of a perfect gas in a constant-area duct with heat transfer. Example: flow through a combustion chamber of a gas turbine or ramjet (heat release by combustion), or flow in a heated or cooled tube of a heat exchanger.

Relations: p(1 + γM²) = const and T/T* = M²(1 + γ)²/(1 + γM²)².

Maximum entropy. s − s* = C_p ln(T/T) − R ln(p/p). With p/p* = (1 + γ)/(1 + γM²): s−s*Cp=ln[M2(1+γ1+γM2)γ+1γ].\frac{s-s^*}{C_p}=\ln\left[M^2\left(\frac{1+\gamma}{1+\gamma M^2}\right)^{\frac{\gamma+1}{\gamma}}\right]. dd(M2)[lnM2−γ+1γln(1+γM2)]=1M2−γ+11+γM2=0⇒1+γM2=(γ+1)M2⇒M=1.\frac{d}{d(M^2)}\left[\ln M^2-\frac{\gamma+1}{\gamma}\ln(1+\gamma M^2)\right]=\frac{1}{M^2}-\frac{\gamma+1}{1+\gamma M^2}=0\ \Rightarrow\ 1+\gamma M^2=(\gamma+1)M^2\ \Rightarrow\ M=1. Maximum enthalpy (temperature). h ∝ T ∝ M²/(1 + γM²)²: dd(M2)[lnM2−2ln(1+γM2)]=1M2−2γ1+γM2=0⇒1+γM2=2γM2⇒M=1γ.◼\frac{d}{d(M^2)}\left[\ln M^2-2\ln(1+\gamma M^2)\right]=\frac{1}{M^2}-\frac{2\gamma}{1+\gamma M^2}=0\ \Rightarrow\ 1+\gamma M^2=2\gamma M^2\ \Rightarrow\ M=\frac{1}{\sqrt\gamma}.\qquad\blacksquare

(See the Fanno–Rayleigh T–s diagram in the first solution on this page.)

✓ Derivation checked step by step We checked both maximum conditions on the Rayleigh line.

↑ Back to the question list

Explain clearly what do you understand by Fanno flow. Show its plot on h-s diagram and give its characteristics. Air flows in an insulated duct with a Mach number of 0.2. The initial temperature and pressure are 290 K and 2.0 bar respectively. Determine: (i) the pressure and temperature at a section of the duct where the Mach number is 0.8. (ii) the distance between these two points if the duct diameter is 10 cm and friction factor is 0.004. (iii) what will be the maximum length of the duct to avoid choking?

Use the following table

M P/P* T/T* 4fLmax/D
0.2 5.455 1.19 14.533
0.8 1.289 1.064 0.073

Solution

Fanno flow: adiabatic flow with friction in a constant-area duct. T₀ is constant, entropy increases, and the Mach number moves towards 1 on both branches. On the h–s (or T–s) diagram it is a nose-shaped curve, with maximum entropy at M = 1, a subsonic upper branch and a supersonic lower branch (see figure). Characteristics: in subsonic flow, friction increases V and M and decreases p, T and ρ; in supersonic flow it decreases V and M and increases p, T and ρ. p₀ always decreases. A duct longer than L* chokes.

M = 1max T at M = 1/√γRayleighFannosubsonicsupersonicsT/T*
Fanno line (navy, adiabatic flow with friction) and Rayleigh line (teal, frictionless flow with heat transfer) for air, plotted as T/T* against (s − s*)/C_p for the same mass flux. Both reach maximum entropy at M = 1 (the nose). The upper branches are subsonic, the lower supersonic. The Rayleigh line has its maximum temperature at M = 1/√γ = 0.845. The two lines cross at the states on either side of a normal shock.

(i) At M = 0.8: p2=2.0×1.2895.455=0.473𝐛𝐚𝐫,T2=290×1.0641.19=259.3𝐊.p_2=2.0\times\frac{1.289}{5.455}=\mathbf{0.473\ bar},\qquad T_2=290\times\frac{1.064}{1.19}=\mathbf{259.3\ K}. (ii) Distance (D = 0.1 m, f = 0.004): L12=D4f[(4fLmaxD)0.2−(4fLmaxD)0.8]=0.10.016(14.533−0.073)=90.4𝐦.L_{12}=\frac{D}{4f}\left[\left(\frac{4fL_{max}}{D}\right)_{0.2}-\left(\frac{4fL_{max}}{D}\right)_{0.8}\right]=\frac{0.1}{0.016}(14.533-0.073)=\mathbf{90.4\ m}. (iii) Maximum length from M = 0.2 to avoid choking: Lmax=0.10.016(14.533)=90.8𝐦.L_{max}=\frac{0.1}{0.016}(14.533)=\mathbf{90.8\ m}. (The last 0.45 m takes the flow from M = 0.8 to 1.)

✓ Checked by computer We recomputed the pressures, temperatures and lengths from the given table.

2005 · Paper II · Q8b · 30 marks

↑ Back to the question list

What is Fanno flow? With the help of basic equations explain how Fanno line can be plotted on the h – s diagram. Give the effects of friction on various flow parameters and explain how choking occurs due to friction.

1999 · Paper II · Q1c · 20 marks · 200 words

Solution

Fanno flow: steady, one-dimensional, adiabatic flow of a gas with wall friction in a duct of constant area.

Plotting the Fanno line on h–s. For given inlet conditions:

  1. Continuity gives the constant mass flux G = ρV.
  2. Energy gives the constant stagnation enthalpy h₀ = h + V²/2.
  3. Choose a series of densities ρ (or velocities V). For each: V = G/ρ, h = h₀ − V²/2, T = h/C_p, p = ρRT.
  4. Compute s − s₁ = C_p ln(T/T₁) − R ln(p/p₁).
  5. Plot h against s. The points form the Fanno line, a curve with a nose (maximum s) at M = 1. The upper branch is subsonic, the lower supersonic. Different G give different (nested) Fanno lines for the same h₀.

Effects of friction (entropy must increase, so the state moves towards the nose):

Property Subsonic (M < 1) Supersonic (M > 1)
M, V Increase Decrease
p, T, ρ Decrease Increase
p₀ Decreases Decreases
T₀ Constant Constant
s Increases Increases

Friction choking. Friction can take the flow only up to M = 1 at the duct exit. That length is L, given by 4fL/D. If the actual duct is longer than L* for the given inlet Mach number:

  • subsonic inlet: the flow cannot be pushed past M = 1, so the inlet conditions adjust; the mass flow is reduced until the exit is just sonic (choked flow);
  • supersonic inlet: a normal shock forms inside the duct, making the flow subsonic, which then accelerates to M = 1 at exit. If the duct is very long, the shock moves into the nozzle and the flow becomes subsonic throughout.

So friction “chokes” the flow just as a throat does in a nozzle.

✓ Answer checked step by step We checked the explanation against Fanno-flow theory.

↑ Back to the question list

Air available at standard atmospheric conditions flows through a heated constant area pipe. If the flow is decelerated from Mach number 1.5 to Mach number 1.0 determine (i) the change in temperature (ii) the heat addition to air.

1997 · Paper II · Q7b · 40 marks

Solution

Standard atmosphere: T₁ = 288.15 K. Heat addition decelerates the supersonic flow from M₁ = 1.5 to M₂ = 1.

Rayleigh ratios at M = 1.5: T/T* = 0.7525, T₀/T₀* = 0.9093.

(i) Change in temperature: T2=T*=288.150.7525=382.9K,ΔT=+94.8𝐊.T_2=T^*=\frac{288.15}{0.7525}=382.9\ \text{K},\qquad \Delta T=\mathbf{+94.8\ K}. (ii) Heat added: T01=288.15(1+0.2×2.25)=417.8K,T02=T0*=417.80.9093=459.5K.T_{01}=288.15(1+0.2\times2.25)=417.8\ \text{K},\qquad T_{02}=T_0^*=\frac{417.8}{0.9093}=459.5\ \text{K}. q=Cp(T02−T01)=1.005(41.7)=41.9𝐤𝐉/𝐤𝐠.q=C_p(T_{02}-T_{01})=1.005(41.7)=\mathbf{41.9\ kJ/kg}. This is the maximum heat that can be added before the flow chokes.

✓ Checked by computer We recomputed the Rayleigh values in Python.

↑ Back to the question list

Heat is supplied to a perfect gas which is flowing through a parallel passage. Show that if friction is negligible p(1+γM2) is constant along the passage. Hence show that T01/2(1+γM2)M(1+γ−12M2)1/2 is also constant. Assume that the gas velocity is uniform over any cross-section.

1996 · Paper II · Q3a · 30 marks

Solution

Assumptions: constant area, no friction, uniform velocity, perfect gas, heat added.

(a) p(1 + γM²) is constant. Momentum on a control volume (no friction, no area change): pA+ṁV=const⇒p+ρV2=const.pA+\dot mV=\text{const}\ \Rightarrow\ p+\rho V^2=\text{const}. With ρV² = ρ(γRT)M² = γpM²: p+γpM2=p(1+γM2)=constant.◼p+\gamma pM^2=p(1+\gamma M^2)=\text{constant}.\qquad\blacksquare (b) Second invariant. Continuity ρV = const. With ρ = p/RT and V = M√(γRT): ρV=pRTMγRT=γRpMT=const⇒pMT=const.\rho V=\frac{p}{RT}M\sqrt{\gamma RT}=\sqrt{\frac{\gamma}{R}}\frac{pM}{\sqrt T}=\text{const}\ \Rightarrow\ \frac{pM}{\sqrt T}=\text{const}. Express T through T₀: T = T₀/[1 + ½(γ − 1)M²]: pM(1+γ−12M2)1/2T01/2=const.\frac{pM\left(1+\frac{\gamma-1}{2}M^2\right)^{1/2}}{T_0^{1/2}}=\text{const}. Divide the invariant p(1 + γM²) by this: T01/2(1+γM2)M(1+γ−12M2)1/2=constant along the passage.◼\frac{T_0^{1/2}(1+\gamma M^2)}{M\left(1+\frac{\gamma-1}{2}M^2\right)^{1/2}}=\text{constant along the passage}.\qquad\blacksquare This relation fixes the Mach number at any section once the local T₀ (i.e. the heat added) is known; it leads directly to T₀/T₀* = 2(γ + 1)M²[1 + ½(γ − 1)M²]/(1 + γM²)².

✓ Derivation checked step by step We checked both invariants step by step.

↑ Back to the question list

Sketch Rayleigh line on Pressure-Specific Volume diagram and on Enthalpy-Entropy diagram. Prove that for Rayleigh line conditions. V2V1=(1γM22)(1+γM22)M12 [?].

1996 · Paper II · Q3b · 30 marks

Solution

The printed ratio is garbled. The correct Rayleigh relation is V2V1=(1+γM12)M22(1+γM22)M12\dfrac{V_2}{V_1}=\dfrac{(1+\gamma M_1^2)\,M_2^2}{(1+\gamma M_2^2)\,M_1^2}.

Proof. Continuity: ρ₁V₁ = ρ₂V₂ ⇒ V₂/V₁ = ρ₁/ρ₂ = (p₁/p₂)(T₂/T₁).

  • Momentum: p₁(1 + γM₁²) = p₂(1 + γM₂²) ⇒ p₁/p₂ = (1 + γM₂²)/(1 + γM₁²).
  • From continuity written as pM/√T = const: T₂/T₁ = (p₂M₂/(p₁M₁))².

So V2V1=p1p2(p2p1)2M22M12=p2p1M22M12=(1+γM12)M22(1+γM22)M12.◼\frac{V_2}{V_1}=\frac{p_1}{p_2}\left(\frac{p_2}{p_1}\right)^2\frac{M_2^2}{M_1^2}=\frac{p_2}{p_1}\frac{M_2^2}{M_1^2}=\frac{(1+\gamma M_1^2)M_2^2}{(1+\gamma M_2^2)M_1^2}.\qquad\blacksquare Rayleigh line on the p–v diagram: a straight line p + G²v = constant, of negative slope −G², through the inlet state. Heating moves the state along it towards the M = 1 point, where the line is tangent to an isentrope.

On the h–s diagram: a nose-shaped curve (see figure). Maximum entropy at M = 1; maximum enthalpy on the subsonic branch at M = 1/√γ; subsonic branch above, supersonic below. Heating moves both branches towards M = 1; cooling moves away from it.

(See the Fanno–Rayleigh T–s diagram in the first solution on this page.)

✓ Derivation checked step by step We checked the corrected velocity ratio and described the diagrams.

↑ Back to the question list

Establish from first principles the Fanno equation and sketch. On T-s plane characteristic “Fanno Line” for a duct of constant cross-section. Mark the subsonic and supersonic parts and the sonic point.

1995 · Paper II · Q4a · 20 marks

Solution

From first principles (constant area, adiabatic, with friction, perfect gas):

  • Continuity: ρV = G ⇒ dρ/ρ = −dV/V.
  • Energy: C_pT + V²/2 = C_pT₀ (constant) ⇒ T = T₀ − G²/(2C_pρ²).
  • Entropy: s − s₁ = C_v ln(T/T₁) − R ln(ρ/ρ₁).

Eliminating ρ = G/V and T gives the Fanno equation s = s(T) for given T₀ and G: s−s1=CvlnTT1+R2lnT0−TT0−T1(using ρ∝1V∝1T0−T).s-s_1=C_v\ln\frac{T}{T_1}+\frac{R}{2}\ln\frac{T_0-T}{T_0-T_1}\quad\left(\text{using }\rho\propto\frac{1}{V}\propto\frac{1}{\sqrt{T_0-T}}\right). Sonic point: dsdT=CvT−R2(T0−T)=0⇒2Cv(T0−T)=RT⇒V2=2Cp(T0−T)=γRT=a2.\frac{ds}{dT}=\frac{C_v}{T}-\frac{R}{2(T_0-T)}=0\ \Rightarrow\ 2C_v(T_0-T)=RT\ \Rightarrow\ V^2=2C_p(T_0-T)=\gamma RT=a^2. So the maximum entropy point is at M = 1.

T–s sketch: see the figure. The Fanno line has the subsonic branch above the nose (T between T* and T₀) and the supersonic branch below it (T < T). The sonic point is at the nose, T = 2T₀/(γ + 1). Arrows on both branches point towards the nose (friction raises s).

(See the Fanno–Rayleigh T–s diagram in the first solution on this page.)

✓ Derivation checked step by step We checked the Fanno equation and the T–s sketch.

↑ Back to the question list

Show that in flow through a tube of constant cross- sectional area with heat addition, (i) the Mach number at the point of maximum temperature is equal to 1/γ [?] and (ii) the Mach number at the point of maximum entropy is equal to unity.

1995 · Paper II · Q4b · 20 marks

Solution

(The printed “1/γ” should read 1/√γ.)

For heat transfer in a constant-area, frictionless tube (Rayleigh flow), p(1 + γM²) = const and pM/√T = const, so TT*=(1+γ)2M2(1+γM2)2,pp*=1+γ1+γM2.\frac{T}{T^*}=\frac{(1+\gamma)^2M^2}{(1+\gamma M^2)^2},\qquad \frac{p}{p^*}=\frac{1+\gamma}{1+\gamma M^2}. (i) Maximum temperature. Maximise f = M²/(1 + γM²)² with x = M²: dfdx=(1+γx)−2γx(1+γx)3=0⇒γx=1⇒M=1γ.\frac{df}{dx}=\frac{(1+\gamma x)-2\gamma x}{(1+\gamma x)^3}=0\ \Rightarrow\ \gamma x=1\ \Rightarrow\ M=\frac{1}{\sqrt\gamma}. (ii) Maximum entropy. (s − s)/C_p = ln(T/T) − [(γ − 1)/γ] ln(p/p*) = ln[(1 + γ)^{(γ+1)/γ}M²/(1 + γM²)^{(γ+1)/γ}]. Differentiating in x = M²: 1x−(γ+1)1+γx=0⇒1+γx=(γ+1)x⇒x=1⇒M=1.◼\frac1x-\frac{(\gamma+1)}{1+\gamma x}=0\ \Rightarrow\ 1+\gamma x=(\gamma+1)x\ \Rightarrow\ x=1\ \Rightarrow\ M=1.\qquad\blacksquare Between M = 1/√γ and M = 1 on the subsonic branch, adding heat lowers the static temperature, since the heat and some of the gas’s enthalpy go into kinetic energy.

(See the Fanno–Rayleigh T–s diagram in the first solution on this page.)

✓ Derivation checked step by step We checked both maxima on the Rayleigh line.

↑ Back to the question list

More on Thermodynamics, Gas Dynamics and Turbine

Questions: UPSC Civil Services (Main) Examination, Mechanical Engineering Paper II, 1995–2026. Solutions: Optional Province. Found an error? Tell us.

Spotted an error? Tell us.

We classify every PYQ with care, but mistakes can slip in. If a question is in the wrong topic, has a typo, the wrong year, or is missing, let us know. We review every report and update the page.

Report an Error
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted