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
Differentiate between Fanno and Rayleigh flows.
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 |
✓ Answer checked step by step We checked the comparison against Fanno and Rayleigh flow theory.
Compressed air is transported in an industrial pipeline of 50 mm internal diameter. The stagnation conditions at the inlet are bar and K. The average Fanning friction factor . 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 and 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, )”; the isentropic flow table on page 19 is also referred to.]
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: (ii) Exit velocity (M = 1, T = T₀/1.2 = 333.3 K): (iii) Change in stagnation temperature: zero (adiabatic): T₀ = 400 K throughout.
(iv) Change in stagnation pressure. At M = 3, p₀/p₀* = 4.2346: (v) Entropy change: (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:
✓ Checked by computer We recomputed the Fanno and isentropic values in Python (the tables give the same).
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.
Solution
Inlet Mach number: 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): This gives M₂ = 0.266. Using the Fanno ratios T/T* and p/p* at M₁ and M₂: 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.
Air enters a constant-area duct at kPa, m/s and °C. It is then cooled with negligible friction until it exists at kPa. Estimate: (i) (ii) 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, , , , , , for Ma = 0.0 to about 2.8 in steps of 0.02 (standard printed table, not transcribed)]
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): (ii) Exit temperature (T/T* ratio): (iii) Heat removed. T₀₁ = T₁ + V₁²/(2C_p) = 965.7 K; T₀₂ = 477.0 K (T₀/T₀* ratio).
✓ Checked by computer We recomputed the Rayleigh solution in Python (table values agree).
Explain what you mean by Fanno flow. Clearly mention the assumptions made and governing equations involved in the Fanno flow.
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 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.
A stream of air flows in an insulated tube of constant cross-sectional area of 0.9 . At a section 1, the pressure is 0.6 bar, temperature is 22°C and mass velocity is 150 . 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 Fanno line (Adiabatic constant area flow with friction) table
| M | ||||||
| 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. 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): (iii) Axial force on the tube. Momentum on the gas between section 1 and the exit (impulse function I = pA + ṁV = pA(1 + γM²)): 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).
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.
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: (ii) Change in kinetic energy: (Δh + ΔKE = 88.5 kJ/kg = heat added ✓.)
(iii) Static pressure: 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.
(i) For normal shock wave derive the following expression: 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.
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: 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)]: So (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.
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.
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 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: 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.
Define Rayleigh flow and mention its governing relations. Using them, establish the expression for the flow in the form , 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 .
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: 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 = 0 when p = G²v. Since G²v = ρV², this means p = ρV², so V² = p/ρ = RT = a²/γ: (Between M = 1/√γ and 1, heating the subsonic gas makes its temperature fall: the added heat and more go into kinetic energy.)
✓ Derivation checked step by step We checked the Rayleigh-line equations and the maximum-enthalpy condition.
For the Rayleigh flow, establish the expression for terms of Mach number, M.
Solution
Momentum (frictionless, constant area): p + ρV² = const, and ρV² = γpM², so Continuity ρV = const with ρ = p/RT and V = M√(γRT): Therefore 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.
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 :
| M | ||||
| 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: Heat transfer: 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.
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 and 1.0 respectively.
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²): Maximum enthalpy (temperature). h ∝ T ∝ M²/(1 + γM²)²:
(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.
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 | |||
| 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.
(i) At M = 0.8: (ii) Distance (D = 0.1 m, f = 0.004): (iii) Maximum length from M = 0.2 to avoid choking: (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.
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.
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:
- Continuity gives the constant mass flux G = ρV.
- Energy gives the constant stagnation enthalpy h₀ = h + V²/2.
- Choose a series of densities ρ (or velocities V). For each: V = G/ρ, h = h₀ − V²/2, T = h/C_p, p = ρRT.
- Compute s − s₁ = C_p ln(T/T₁) − R ln(p/p₁).
- 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.
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.
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: (ii) Heat added: This is the maximum heat that can be added before the flow chokes.
✓ Checked by computer We recomputed the Rayleigh values in Python.
Heat is supplied to a perfect gas which is flowing through a parallel passage. Show that if friction is negligible is constant along the passage. Hence show that is also constant. Assume that the gas velocity is uniform over any cross-section.
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): With ρV² = ρ(γRT)M² = γpM²: (b) Second invariant. Continuity ρV = const. With ρ = p/RT and V = M√(γRT): Express T through T₀: T = T₀/[1 + ½(γ − 1)M²]: Divide the invariant p(1 + γM²) by this: 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.
Sketch Rayleigh line on Pressure-Specific Volume diagram and on Enthalpy-Entropy diagram. Prove that for Rayleigh line conditions. [?].
Solution
The printed ratio is garbled. The correct Rayleigh relation is .
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 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.
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.
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: Sonic point: 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.
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 [?] and (ii) the Mach number at the point of maximum entropy is equal to unity.
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 (i) Maximum temperature. Maximise f = M²/(1 + γM²)² with x = M²: (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²: 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.
More on Thermodynamics, Gas Dynamics and Turbine
- All Mechanical Engineering PYQ solutions, topic by topic
- Thermodynamics, Gas Dynamics and Turbine topic-wise PYQs (questions only, for practice)
- Mechanical Engineering PYQ analysis: which units carry the marks year by year
- Year-wise question papers
- Mechanical Engineering booklist
Questions: UPSC Civil Services (Main) Examination, Mechanical Engineering Paper II, 1995–2026. Solutions: Optional Province. Found an error? Tell us.

