19. Unsteady Control Volume Analysis (Part 2: Tank Discharging and Transient Vessels)
Term: Spring 2026
Instructor: Mukhamad Suhermanto
Primary References:
- Moran, Shapiro, Boettner, and Bailey, Fundamentals of Engineering Thermodynamics, 8th Ed. (Moran et al. 2014)
- Carl Wassgren, Notes on Thermodynamics, Fluid Mechanics, and Gas Dynamics (Wassgren 2025)
- Claire Yu Yan, Introduction to Engineering Thermodynamics (Yan 2022)
- Waitz & Spakovszky, 16.Unified: Thermodynamics and Propulsion (Waitz and Spakovszky 2008)
Learning Objectives:
- Model unsteady tank discharging and blowdown processes using differential mass and energy balances.
- Derive and explain why gas remaining inside an insulated tank during blowdown undergoes a reversible adiabatic (isentropic) expansion.
- Formulate and solve USUF mass and energy balances for constant-pressure two-phase vessels with relief valves.
- Analyze transient steam accumulators and pressure vessels across changing liquid-vapor phases.
19.1 Unsteady Tank Discharging (Gas Blowdown)
In industrial processing, gas turbines, and aerospace propulsion, pressurized storage bottles are frequently discharged (blown down) into a lower-pressure environment through a nozzle, valve, or orifice (Moran et al. 2014), (Wassgren 2025).
19.1.1 Differential Balances for an Adiabatic Vessel
Consider an insulated, rigid tank containing a high-pressure gas that discharges through a single exit port (\(e\)). The instantaneous conservation equations are (Yan 2022):
\[ \frac{dm}{dt} = -\dot{m}_e \tag{19.1} \]
\[ \frac{d(m u)}{dt} = -\dot{m}_e h_e \tag{19.2} \]
Expanding the left side of Eq. (19.2) by the product rule:
\[ m \frac{du}{dt} + u \frac{dm}{dt} = -\dot{m}_e h_e \tag{19.3} \]
Since \(-\dot{m}_e = dm/dt\) and the fluid leaving the exit plane has the instantaneous bulk state of the tank (\(h_e = h = u + Pv\)):
\[ m \frac{du}{dt} + u \frac{dm}{dt} = \frac{dm}{dt} (u + Pv) \implies m \frac{du}{dt} = Pv \frac{dm}{dt} \tag{19.4} \]
19.1.2 Ideal Gas with Constant Specific Heats: The Isentropic Link
For an ideal gas, \(du = c_v dT\) and \(Pv = RT\):
\[ m c_v \frac{dT}{dt} = RT \frac{dm}{dt} \implies \frac{dT}{T} = \frac{R}{c_v} \frac{dm}{m} \tag{19.5} \]
Recall that \(R = c_p - c_v\), which gives \(R/c_v = (c_p/c_v) - 1 = k - 1\). Integrating from initial state \(1\) to final state \(2\):
\[ \int_{T_1}^{T_2} \frac{dT}{T} = (k - 1) \int_{m_1}^{m_2} \frac{dm}{m} \implies \frac{T_2}{T_1} = \left( \frac{m_2}{m_1} \right)^{k - 1} \tag{19.6} \]
Because the tank volume \(V\) is constant, the specific volume is \(v = V/m\), meaning \(m_2/m_1 = v_1/v_2\). Substituting yields:
\[ \frac{T_2}{T_1} = \left( \frac{v_1}{v_2} \right)^{k - 1} \iff T_1 v_1^{k-1} = T_2 v_2^{k-1} \tag{19.7} \]
Furthermore, relating pressure and temperature via the ideal gas law:
\[ \frac{P_2}{P_1} = \left( \frac{m_2}{m_1} \right)^k = \left( \frac{T_2}{T_1} \right)^{\frac{k}{k-1}} \tag{19.8} \]
Key Idea: Why Does the Remaining Gas Expand Isentropically?
Notice that Eq. (19.7) is the exact relation for a reversible adiabatic (isentropic) process (\(s_2 = s_1\))! While the gas passing through the valve undergoes severe throttling and generates entropy, the gas that remains inside the vessel expands adiabatically against the fluid ahead of it. The remaining gas performs boundary work on the departing fluid, causing its internal energy and temperature to plunge isentropically!
# High-Pressure Gas Tank Blowdown Analysis using kilojoule
import kilojoule.idealgas as idealgas
from kilojoule.units import Quantity
air = idealgas.Properties('Air')
# Initial state in rigid storage bottle
V_tank = Quantity(2.0, 'm^3')
P1 = Quantity(3.0, 'MPa') # 30 bar initial pressure
T1 = Quantity(350.0, 'K') # 77 °C
# Blowdown condition: valve remains open until 60% of gas mass is discharged (m2 = 0.40 * m1)
mass_fraction_remaining = 0.40
k = 1.40
# 1. Initial mass
R_air = air.R
m1 = (P1 * V_tank) / (R_air * T1)
m2 = mass_fraction_remaining * m1
m_vented = m1 - m2
# 2. Isentropic expansion of remaining gas
# T2 / T1 = (m2 / m1)^(k - 1)
T2 = T1 * (mass_fraction_remaining)**(k - 1)
# P2 / P1 = (m2 / m1)^k
P2 = P1 * (mass_fraction_remaining)**k
print(f"Initial State 1: P1 = {P1.to('bar'):.1f}, T1 = {T1.to('K'):.1f} ({T1.to('degC'):.1f}), m1 = {m1.to('kg'):.2f}")
print(f"Mass Discharged: m_vent = {m_vented.to('kg'):.2f} ({(m_vented/m1)*100:.1f}% vented)")
print(f"Final State 2: P2 = {P2.to('bar'):.2f}, T2 = {T2.to('K'):.1f} ({T2.to('degC'):.1f}), m2 = {m2.to('kg'):.2f}")
print(f"Temperature Drop: Delta_T = {(T2 - T1).to('delta_degC'):.1f} (Significant chilling!)")Initial State 1: P1 = 30.0 bar, T1 = 350.0 K (76.9 °C), m1 = 59.72 kg
Mass Discharged: m_vent = 35.83 kg (60.0% vented)
Final State 2: P2 = 8.20 bar, T2 = 242.2 K (-31.0 °C), m2 = 23.89 kg
Temperature Drop: Delta_T = -107.8 Δ°C (Significant chilling!)
19.2 Constant-Pressure Two-Phase Vessels with Relief Valves
In boiler drums, pressure cookers, and liquefied gas storage tanks, a pressure relief valve maintains a constant vessel pressure (\(P = P_{\text{sat}}\)) by venting saturated vapor whenever heat is added (Moran et al. 2014), (Wassgren 2025).
19.2.1 Derivation of the Relief Valve Energy Balance
Consider a rigid container of volume \(V\) initially containing a two-phase liquid-vapor mixture at State \(1\) (\(P_1 = P_{\text{sat}}, T_1 = T_{\text{sat}}\)). Heat is transferred into the vessel (\(Q_{\text{in}} > 0\)). As the mixture boils, the relief valve opens to vent dry saturated vapor (\(h_e = h_g\) at \(P_{\text{sat}}\)) to maintain constant tank pressure (\(P_2 = P_1\)).
Applying the USUF mass and energy conservation balances:
\[ m_2 - m_1 = -m_e \implies m_e = m_1 - m_2 \tag{19.9} \]
\[ m_2 u_2 - m_1 u_1 = Q_{\text{in}} - W_{\text{cv}} - m_e h_e \tag{19.10} \]
Since the tank boundary is rigid, \(W_{\text{cv}} = 0\). Because only dry saturated vapor passes through the relief valve, \(h_e = h_g(P_1)\). Substituting Eq. (19.9) into Eq. (19.10):
\[ m_2 u_2 - m_1 u_1 = Q_{\text{in}} - (m_1 - m_2) h_g \tag{19.11} \]
Solving for the total heat transfer required:
\[ Q_{\text{in}} = m_2 u_2 - m_1 u_1 + (m_1 - m_2) h_g \tag{19.12} \]
Alternatively, grouping terms by initial and final states:
\[ Q_{\text{in}} = m_2 (u_2 - h_g) - m_1 (u_1 - h_g) \tag{19.13} \]
Example 19.1: Boiling in a Pressure Relief Vessel (COE unsteady cv03)
A rigid \(0.10\text{ m}^3\) pressure cooker initially contains liquid water and steam at \(1.0\text{ MPa}\) (\(179.9^\circ\text{C}\)) with an initial liquid volume fraction of \(20\%\) (\(V_{f,1} = 0.02\text{ m}^3, V_{g,1} = 0.08\text{ m}^3\)). Heat is supplied until all the liquid is completely evaporated, leaving only saturated vapor in the container at \(1.0\text{ MPa}\). Determine the mass of steam vented and the total heat transfer required.
# Two-Phase Vessel with Relief Valve (COE unsteady cv03) using kilojoule
import kilojoule.realfluid as realfluid
from kilojoule.units import Quantity
water = realfluid.Properties('Water')
# Tank parameters
V_total = Quantity(0.10, 'm^3') # 100 liters
P = Quantity(1.0, 'MPa') # 10 bar constant relief pressure
# Saturated properties at 1.0 MPa
vf = water.v(p=P, x=Quantity(0.0, ''))
vg = water.v(p=P, x=Quantity(1.0, ''))
uf = water.u(p=P, x=Quantity(0.0, ''))
ug = water.u(p=P, x=Quantity(1.0, ''))
hg = water.h(p=P, x=Quantity(1.0, ''))
# State 1: 20% liquid volume fraction, 80% vapor volume fraction
V_f1 = 0.20 * V_total
V_g1 = 0.80 * V_total
m_f1 = V_f1 / vf
m_g1 = V_g1 / vg
m1 = m_f1 + m_g1
u1 = (m_f1 * uf + m_g1 * ug) / m1
# State 2: Entire tank filled with dry saturated vapor (x2 = 1.0)
m2 = V_total / vg
u2 = ug
# Mass vented and heat transfer
m_vented = m1 - m2
Q_in = m2 * u2 - m1 * u1 + m_vented * hg
print(f"Initial State 1: m1 = {m1.to('kg'):.3f} kg (Liquid: {m_f1.to('kg'):.2f} kg, Vapor: {m_g1.to('kg'):.3f} kg)")
print(f"Final State 2: m2 = {m2.to('kg'):.3f} kg (100% Saturated Vapor)")
print(f"Steam Vented: m_vent = {m_vented.to('kg'):.3f} kg")
print(f"Total Heat Input: Q_in = {Q_in.to('kJ'):.1f} kJ ({Q_in.to('MJ'):.2f} MJ)")Initial State 1: m1 = 18.007 kg (Liquid: 17.70 kg, Vapor: 0.305 kg)
Final State 2: m2 = 0.381 kg (100% Saturated Vapor)
Steam Vented: m_vent = 17.626 kg
Total Heat Input: Q_in = 46278.4 kJ (46.28 MJ)
Engineering Practice Problems (Self-Study Exercises)
Try each problem on paper first using the principles from this chapter, then expand the step-by-step solution to check your derivation.
Practice Problem 1 — Constant-Pressure Vapor Venting from a Heated Boiler Drum
A rigid boiler drum (\(V = 0.35\text{ m}^3\)) contains saturated liquid-vapor water at \(P_1 = 1.20\text{ MPa}\) with initial quality \(x_1 = 0.60\) (\(v_f = 0.001139\), \(v_g = 0.16326\text{ m}^3/\text{kg}\); \(u_f = 797.0\), \(u_g = 2587.8\text{ kJ/kg}\); \(h_g = 2783.7\text{ kJ/kg}\)). Saturated vapor (\(h_e = h_g\)) is bled slowly from the top port while burners supply just enough heat \(Q\) to hold pressure constant at \(1.20\text{ MPa}\) until the last drop of liquid evaporates (\(x_2 = 1.0\)). Compute the vented mass \(m_{\text{out}}\) and total heat input \(Q\).
🔍 Click to View Complete Step-by-Step Solution
Initial and Final Masses Inside the Boiler Drum: \[v_1 = 0.001139 + 0.60(0.16326 - 0.001139) = 0.09841\text{ m}^3/\text{kg} \implies m_1 = \frac{0.35}{0.09841} = 3.556\text{ kg}\] \[m_2 = \frac{V}{v_g} = \frac{0.35}{0.16326} = 2.144\text{ kg}, \qquad m_{\text{out}} = m_1 - m_2 = 1.413\text{ kg}\]
Initial Specific Internal Energy & Unsteady USUF Energy Balance: Here \(u_2 = u_g = 2587.8\text{ kJ/kg}\) and exit stream has fixed \(h_e = h_g\): \[u_1 = 797.0 + 0.60(2587.8 - 797.0) = 1871.5\text{ kJ/kg}\] \[Q - m_{\text{out}} h_g = m_2 u_2 - m_1 u_1\]
Solve for Required Burner Heat \(Q\): \[Q = (2.144)(2587.8) - (3.556)(1871.5) + (1.413)(2783.7) = 2824.4\text{ kJ}\] Final Result: \(m_{\text{out}} = 1.413\text{ kg}\), \(Q = 2824.4\text{ kJ}\).
Practice Problem 2 — Adiabatic Blowdown of a Pressurized Air Accumulator
A well-insulated \(V = 0.80\text{ m}^3\) wind-tunnel accumulator stores air (\(k = 1.40\), \(R = 0.287\), \(c_v = 0.718\text{ kJ}/(\text{kg}\cdot\text{K})\)) at \(P_1 = 1.00\text{ MPa}\) and \(T_1 = 320\text{ K}\). The discharge valve opens, exhausting air rapidly until tank pressure falls to \(P_2 = 250\text{ kPa}\). Modeling the air remaining inside the tank as undergoing a reversible adiabatic expansion (\(T_2/T_1 = (P_2/P_1)^{(k-1)/k}\)), compute: (a) final tank temperature \(T_2\), (b) mass discharged \(m_{\text{out}}\), and (c) total enthalpy energy carried out through the valve \(H_{\text{out}}\).
🔍 Click to View Complete Step-by-Step Solution
Remaining-Gas Final Temperature (Adiabatic Blowdown): \[T_2 = T_1 \left(\frac{P_2}{P_1}\right)^{(k-1)/k} = 320\left(\frac{250}{1000}\right)^{0.2857} = 215.34\text{ K}\]
Initial, Final, and Discharged Air Mass: \[m_1 = \frac{(1000)(0.80)}{(0.287)(320)} = 8.711\text{ kg}, \qquad m_2 = \frac{(250)(0.80)}{(0.287)(215.34)} = 3.236\text{ kg}\] \[m_{\text{out}} = m_1 - m_2 = 8.711 - 3.236 = 5.475\text{ kg}\]
Enthalpy Carried Out by Exhaust (\(Q = 0, W = 0 \implies H_{\text{out}} = m_1 u_1 - m_2 u_2\)): \[H_{\text{out}} = m_1 c_v T_1 - m_2 c_v T_2 = 0.718\left[(8.711)(320) - (3.236)(215.34)\right] = 1501.0\text{ kJ}\] Final Result: \(T_2 = 215.34\text{ K}\), \(m_{\text{out}} = 5.475\text{ kg}\), \(H_{\text{out}} = 1501.0\text{ kJ}\).
Practice Problem 3 — Heat Input Required for Isothermal Discharging of a Compressed-Gas Cylinder
An uninsulated \(V = 0.80\text{ m}^3\) nitrogen-equivalent air vessel (\(R = 0.287\), \(c_v = 0.718\), \(c_p = 1.005\text{ kJ}/(\text{kg}\cdot\text{K})\)) vents slowly from \(P_1 = 1.00\text{ MPa}\) down to \(P_2 = 250\text{ kPa}\) while ambient heat transfer holds gas temperature constant at \(T = 295\text{ K}\) throughout the cylinder and exit port. Derive a simplified closed-form expression for the required heat input \(Q\), and evaluate both \(m_{\text{out}}\) and \(Q\).
🔍 Click to View Complete Step-by-Step Solution
Mass Discharged at Constant \(T = 295\text{ K}\): \[m_1 = \frac{(1000)(0.80)}{(0.287)(295)} = 9.449\text{ kg}, \qquad m_2 = \frac{(250)(0.80)}{(0.287)(295)} = 2.362\text{ kg} \implies m_{\text{out}} = 7.087\text{ kg}\]
Unsteady Energy Balance Simplification: Since \(T_e = T_1 = T_2 = T\), \(h_e = c_p T\) and \(u_1 = u_2 = c_v T\): \[Q - m_{\text{out}}(c_p T) = (m_2 - m_1)(c_v T) = -m_{\text{out}}(c_v T)\] \[\implies Q = m_{\text{out}}(c_p - c_v) T = m_{\text{out}} R T\]
Compute Total Heat Absorbed from Ambient: Notice \(m_{\text{out}} R T = (P_1 - P_2) V\) directly! \[Q = (7.087)(0.287)(295) = (1000 - 250)(0.80) = +600.0\text{ kJ}\] Final Result: \(m_{\text{out}} = 7.087\text{ kg}\), \(Q = +600.0\text{ kJ}\).
Practice Problem 4 — Adiabatic Charging of an Expanding Constant-Pressure Piston-Cylinder
A frictionless weighted piston-cylinder holding air (\(P = 300\text{ kPa}\)) initially has volume \(V_1 = 0.050\text{ m}^3\) at \(T_1 = 300\text{ K}\). An insulated valve connects it to an air supply header at \(P_i = 300\text{ kPa}\) and \(T_i = 450\text{ K}\). The valve opens slowly until the piston rises to five times its initial volume (\(V_2 = 0.250\text{ m}^3\)) at constant \(P = 300\text{ kPa}\), then closes (\(R = 0.287\), \(c_p = 1.005\text{ kJ}/(\text{kg}\cdot\text{K})\)). Accounting for the moving boundary work \(W_b = P(V_2 - V_1)\), determine the mass admitted \(m_{\text{in}}\), boundary work \(W_b\), and final air temperature \(T_2\).
🔍 Click to View Complete Step-by-Step Solution
Unsteady Energy Balance Combining \(W_b = P(V_2 - V_1)\) and Internal Energy: \[m_{\text{in}} h_i - P(V_2 - V_1) = U_2 - U_1 \implies m_{\text{in}} h_i = (U_2 + P V_2) - (U_1 + P V_1) = H_2 - H_1\]
Solve Directly for \(m_{\text{in}}\) via \(H = m c_p T = c_p (P V / R)\): \[m_{\text{in}} c_p T_i = \frac{c_p P (V_2 - V_1)}{R} \implies m_{\text{in}} = \frac{P (V_2 - V_1)}{R T_i} = \frac{(300)(0.250 - 0.050)}{(0.287)(450)} = 0.4646\text{ kg}\]
Initial Mass, Final Mass, Boundary Work, and Final Temperature: \[m_1 = \frac{(300)(0.050)}{(0.287)(300)} = 0.1742\text{ kg} \implies m_2 = m_1 + m_{\text{in}} = 0.6388\text{ kg}\] \[W_b = (300)(0.250 - 0.050) = 60.0\text{ kJ}, \qquad T_2 = \frac{P V_2}{m_2 R} = \frac{(300)(0.250)}{0.6388(0.287)} = 409.09\text{ K}\] Final Result: \(m_{\text{in}} = 0.4646\text{ kg}\), \(W_b = 60.0\text{ kJ}\), \(T_2 = 409.09\text{ K}\).
Summary & Key Takeaways
- In transient gas blowdown from an insulated rigid tank, the gas remaining inside expands adiabatically against the departing fluid, behaving isentropically (\(T v^{k-1} = \text{const}\)).
- Discharging an ideal gas results in a sharp drop in both temperature and pressure according to \((T_2/T_1) = (m_2/m_1)^{k-1}\).
- For constant-pressure two-phase vessels with relief valves, the escaping stream carries the enthalpy of dry saturated vapor (\(h_e = h_g\)).
- The integrated USUF energy balance for a boiling relief vessel is \(Q_{\text{in}} = m_2 u_2 - m_1 u_1 + (m_1 - m_2) h_g\).
References, Suggested Reading & Video Lectures
- Moran & Shapiro (8th Ed.): Chapter 4, Section 4.12 (Transient Control Volume Analysis) (Moran et al. 2014)
- Wassgren Notes: Chapter 4.6 (Unsteady Open Control Volume Analysis) (Wassgren 2025)
- Claire Yu Yan: Chapter 5.2 (Unsteady Flow Control Volume Analysis) (Yan 2022)
- YouTube Video Lectures (
@cw2306):- Video 90: Transient Analysis Introduction
(
1-rN6tUmCYM) (Wassgren 2021) - Video 91: Transient Analysis Example 1: Tank Charging
(
COE unsteady cv01) (Wassgren 2021) - Video 92: Transient Analysis Example 2: Tank Discharging
(
COE unsteady cv02) (Wassgren 2021) - Video 93: Transient Analysis Example 3: Two-Phase Vessel with
Relief Valve (
COE unsteady cv03) (Wassgren 2021)
- Video 90: Transient Analysis Introduction
(