13. Conservation of Mass for Control Volumes (Open Systems)
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), (Wassgren 2021)
- Claire Yu Yan, Introduction to Engineering Thermodynamics (Yan 2022)
- Waitz & Spakovszky, 16.Unified: Thermodynamics and Propulsion (Waitz and Spakovszky 2008)
Learning Objectives:
- Distinguish between closed systems (control mass) and open systems (control volume, CV) bounded by a control surface (CS).
- Formulate the Reynolds Transport Theorem (RTT) applied to mass, deriving the rate equation for control volume mass conservation.
- Relate mass flow rate \(\dot{m}\) to velocity profiles through area integration \(\dot{m} = \int_A \rho (\vec{\mathcal{V}} \cdot \hat{n}) dA\) and average velocity \(\dot{m} = \rho \mathcal{V}_{\text{avg}} A = \mathcal{V}_{\text{avg}} A / v\).
- Apply conservation of mass to steady single-inlet/single-outlet and multi-stream devices.
- Model unsteady filling and draining processes governed by ordinary differential equations (COM 09, COM 16, COM 20, COM 22).
13.1 System vs.Β Control Volume and the Reynolds Transport Theorem
A closed system (or control mass) contains a fixed identity of matter across whose boundary no mass may cross. An open system (or control volume, CV) is a specified region in space through which fluid flows (Moran et al. 2014), (Wassgren 2025). The boundary of the control volume is termed the control surface (CS).
To translate physical conservation laws from a moving system of fixed identity to a geometric control volume, we apply the Reynolds Transport Theorem (RTT):
\[ \left. \frac{d B_{\text{sys}}}{dt} \right|_{t=t_0} = \frac{d}{dt} \int_{\text{CV}} \rho b \, dV + \int_{\text{CS}} \rho b (\vec{\mathcal{V}}_{\text{rel}} \cdot \hat{n}) \, dA \tag{13.1} \]
where \(B\) is any extensive property, \(b = B/m\) is its intensive counterpart, \(\vec{\mathcal{V}}_{\text{rel}}\) is the fluid velocity relative to the control surface, and \(\hat{n}\) is the outward unit normal vector.
For mass conservation, \(B = m\) and \(b = 1\). Since the mass of a closed system is strictly conserved (\(dm_{\text{sys}}/dt = 0\)):
\[ 0 = \frac{d}{dt} \int_{\text{CV}} \rho \, dV + \int_{\text{CS}} \rho (\vec{\mathcal{V}}_{\text{rel}} \cdot \hat{n}) \, dA \tag{13.2} \]
Defining the instantaneous control volume mass \(m_{\text{CV}} = \int_{\text{CV}} \rho \, dV\) and separating inflows (\(\vec{\mathcal{V}} \cdot \hat{n} < 0\)) from outflows (\(\vec{\mathcal{V}} \cdot \hat{n} > 0\)):
\[ \frac{dm_{\text{CV}}}{dt} = \sum_{\text{in}} \dot{m}_i - \sum_{\text{out}} \dot{m}_e \tag{13.3} \]
Key Idea: Conservation of Mass Rate Equation
The time rate of change of mass contained within a control volume equals the total rate of mass inflow minus the total rate of mass outflow: \(\frac{dm_{\text{CV}}}{dt} = \sum \dot{m}_{\text{in}} - \sum \dot{m}_{\text{out}}\).
13.2 Mass Flow Rate and Velocity Profiles
The differential mass flow rate through an infinitesimal area element \(dA\) on the control surface is \(d\dot{m} = \rho (\vec{\mathcal{V}} \cdot \hat{n}) dA\). Integrating over the entire flow cross-sectional area \(A\) (Moran et al. 2014), (Yan 2022):
\[ \dot{m} = \int_A \rho (\vec{\mathcal{V}} \cdot \hat{n}) \, dA \tag{13.4} \]
13.2.1 One-Dimensional Flow Approximation
When fluid density \(\rho\) and normal velocity \(\mathcal{V}\) are uniform across cross-section \(A\), or when using the area-averaged velocity \(\mathcal{V}_{\text{avg}}\):
\[ \dot{m} = \rho \mathcal{V}_{\text{avg}} A = \frac{\mathcal{V}_{\text{avg}} A}{v} \tag{13.5} \]
where \(v = 1/\rho\) is the specific volume. The volumetric flow rate \(\dot{V}\) (or \(Q\)) is:
\[ \dot{V} = \mathcal{V}_{\text{avg}} A \quad \implies \quad \dot{m} = \rho \dot{V} = \frac{\dot{V}}{v} \tag{13.6} \]
13.2.2 Integration of Laminar Parabolic Velocity Profile (COM 09 / COM 16)
In laminar pipe flow through a tube of radius \(R\), fluid friction creates a parabolic velocity profile:
\[ \mathcal{V}(r) = \mathcal{V}_{\max} \left( 1 - \frac{r^2}{R^2} \right) \tag{13.7} \]
The total mass flow rate for constant density is obtained by integrating over annular rings \(dA = 2\pi r dr\):
\[ \dot{m} = \int_0^R \rho \mathcal{V}(r) (2\pi r \, dr) = 2\pi \rho \mathcal{V}_{\max} \int_0^R \left( r - \frac{r^3}{R^2} \right) dr = 2\pi \rho \mathcal{V}_{\max} \left[ \frac{R^2}{2} - \frac{R^2}{4} \right] = \rho \left( \frac{\mathcal{V}_{\max}}{2} \right) (\pi R^2) \tag{13.8} \]
Hence, the average velocity in laminar pipe flow is exactly half the centerline maximum velocity:
\[ \mathcal{V}_{\text{avg}} = \frac{1}{2} \mathcal{V}_{\max} \tag{13.9} \]
import numpy as np
from kilojoule.units import Quantity
# Laminar pipe flow of liquid water
R = Quantity(0.05, 'm') # 5 cm radius
A = np.pi * R**2
rho = Quantity(998.0, 'kg/m^3')
V_max = Quantity(2.0, 'm/s')
# Numerical integration over 1000 concentric rings
r = np.linspace(0, R.magnitude, 1000)
dr = r[1] - r[0]
V_r = V_max.magnitude * (1 - (r / R.magnitude)**2)
dA = 2 * np.pi * r * dr
m_dot_num = np.sum(rho.magnitude * V_r * dA)
# Analytical formula
V_avg = 0.5 * V_max
m_dot_analytical = (rho * V_avg * A).to('kg/s')
V_dot = (V_avg * A).to('m^3/s')
print(f"--- COM 09 Laminar Velocity Profile Integration ---")
print(f"Pipe Cross-Sectional Area A : {A.to('m^2'):.5f}")
print(f"Average Velocity V_avg : {V_avg:.2f}")
print(f"Volumetric Flow Rate V_dot : {V_dot:.5f}")
print(f"Analytical Mass Flow Rate : {m_dot_analytical:.3f}")
print(f"Numerical Integral m_dot : {m_dot_num:.3f} kg/s")--- COM 09 Laminar Velocity Profile Integration ---
Pipe Cross-Sectional Area A : 0.00785 m^2
Average Velocity V_avg : 1.00 m / s
Volumetric Flow Rate V_dot : 0.00785 m^3 / s
Analytical Mass Flow Rate : 7.838 kg / s
Numerical Integral m_dot : 7.838 kg/s
13.3 Steady-State Form of Mass Conservation
For a control volume operating at steady state, thermodynamic properties and mass inside the control volume do not change with time: \(\frac{dm_{\text{CV}}}{dt} = 0\). Eq. (13.3) reduces to (Moran et al. 2014), (Wassgren 2025):
\[ \sum_{\text{in}} \dot{m}_i = \sum_{\text{out}} \dot{m}_e \tag{13.10} \]
For a single-inlet, single-outlet device:
\[ \dot{m}_1 = \dot{m}_2 \quad \iff \quad \rho_1 \mathcal{V}_1 A_1 = \rho_2 \mathcal{V}_2 A_2 \quad \iff \quad \frac{\mathcal{V}_1 A_1}{v_1} = \frac{\mathcal{V}_2 A_2}{v_2} \tag{13.11} \]
Caution: Mass is Conserved, NOT Volume
Volumetric flow rate is conserved (\(\sum \dot{V}_{\text{in}} = \sum \dot{V}_{\text{out}}\)) only if the fluid is incompressible (\(\rho = \text{const}\)). For compressible gases or boiling/condensing liquids, specific volume \(v\) changes drastically, so \(\dot{V}_1 \ne \dot{V}_2\).
13.4 Worked Example: Unsteady Tank Draining (COM 20 / COM 22)
Example 13.1: Draining of a Cylindrical Water Tank (COM 20)
A cylindrical water tank of cross-sectional area \(A_{\text{tank}} = 1.5 \text{ m}^2\) initially contains water at depth \(h_0 = 3.0 \text{ m}\). A drain hole at the bottom has an area \(A_{\text{orifice}} = 0.005 \text{ m}^2\). The discharge velocity from the orifice is given by Torricelliβs law: \(\mathcal{V}_{\text{out}}(t) = \sqrt{2 g h(t)}\). Assuming water is incompressible (\(\rho = 1000 \text{ kg/m}^3\)):
- Set up the differential equation for water level \(h(t)\).
- Analytically integrate to find the time \(t_{\text{drain}}\) required to completely empty the tank.
- Verify the solution with numerical integration in Python.
Solution / Analysis
Mass in CV: \(m_{\text{CV}}(t) = \rho A_{\text{tank}} h(t)\). Mass conservation: \(\frac{dm_{\text{CV}}}{dt} = - \dot{m}_{\text{out}}(t) = - \rho A_{\text{orifice}} \sqrt{2 g h(t)}\). Cancelling \(\rho\): \(\displaystyle A_{\text{tank}} \frac{dh}{dt} = - A_{\text{orifice}} \sqrt{2g} h^{1/2}\) Separating variables: \(\displaystyle h^{-1/2} dh = - \frac{A_{\text{orifice}}}{A_{\text{tank}}} \sqrt{2g} \, dt\) Integrating from \(h = h_0\) at \(t = 0\) to \(h = 0\) at \(t = t_{\text{drain}}\): \(\displaystyle [2 h^{1/2}]_{h_0}^0 = - \frac{A_{\text{orifice}}}{A_{\text{tank}}} \sqrt{2g} \, t_{\text{drain}} \implies t_{\text{drain}} = \frac{2 A_{\text{tank}} \sqrt{h_0}}{A_{\text{orifice}} \sqrt{2g}} = \frac{A_{\text{tank}}}{A_{\text{orifice}}} \sqrt{\frac{2 h_0}{g}}\)
import math
from kilojoule.units import Quantity
A_tank = Quantity(1.5, 'm^2')
A_orif = Quantity(0.005, 'm^2')
h0 = Quantity(3.0, 'm')
g = Quantity(9.80665, 'm/s^2')
# Analytical drain time
t_drain = (A_tank / A_orif * math.sqrt(2 * h0.magnitude / g.magnitude))
# Numerical Euler integration
dt = 0.1 # seconds
h = h0.magnitude
t = 0.0
while h > 0.0001:
v_out = math.sqrt(2 * g.magnitude * h)
dh_dt = - (A_orif.magnitude / A_tank.magnitude) * v_out
h += dh_dt * dt
t += dt
print(f"--- COM 20 Unsteady Tank Drain Results ---")
print(f"Analytical Drain Time : {t_drain:.2f} seconds ({t_drain/60:.2f} minutes)")
print(f"Numerical Drain Time : {t:.2f} seconds ({t/60:.2f} minutes)")
print(f"Error : {abs(t - t_drain):.3f} seconds")--- COM 20 Unsteady Tank Drain Results ---
Analytical Drain Time : 234.62 seconds (3.91 minutes)
Numerical Drain Time : 234.70 seconds (3.91 minutes)
Error : 0.082 seconds
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 β Compressible Density Drop & Exit Velocity in a Steady Heated Gas Duct
Air enters a constant-diameter (\(D = 16.0\text{ cm}\)) combustor preheater tube at \(P_1 = 150\text{ kPa}\), \(T_1 = 290\text{ K}\), and average axial velocity \(\mathcal{V}_1 = 22.0\text{ m/s}\) (\(R = 0.287\text{ kJ}/(\text{kg}\cdot\text{K})\)). Due to heating and slight frictional drop, air exits at \(P_2 = 142\text{ kPa}\) and \(T_2 = 640\text{ K}\). Find: (a) the steady mass flow rate \(\dot{m}\) in \(\text{kg/s}\), (b) the exit volumetric flow rate \(\dot{V}_2\) in \(\text{m}^3/\text{s}\), and (c) the exit gas velocity \(\mathcal{V}_2\) in \(\text{m/s}\).
π Click to View Complete Step-by-Step Solution
Inlet Density & Mass Flow Rate: Compute \(A = \pi D^2/4 = 0.02011\text{ m}^2\) and ideal-gas density \(\rho = P/(RT)\): \[\rho_1 = \frac{150}{(0.287)(290)} = 1.8022\text{ kg/m}^3 \implies \dot{m} = \rho_1 A \mathcal{V}_1 = (1.8022)(0.02011)(22.0) = 0.7972\text{ kg/s}\]
Exit Density & Continuity (\(\dot{m}_2 = \dot{m}_1\)): \[\rho_2 = \frac{142}{(0.287)(640)} = 0.7731\text{ kg/m}^3\] \[\dot{V}_2 = \frac{\dot{m}}{\rho_2} = \frac{0.7972}{0.7731} = 1.0312\text{ m}^3/\text{s}\]
Exit Velocity: \[\mathcal{V}_2 = \frac{\dot{V}_2}{A} = \frac{1.0312}{0.02011} = 51.29\text{ m/s}\] Notice thermal expansion more than doubles velocity even though area is constant! Final Result: \(\dot{m} = 0.7972\text{ kg/s}\), \(\dot{V}_2 = 1.0312\text{ m}^3/\text{s}\), \(\mathcal{V}_2 = 51.29\text{ m/s}\).
Practice Problem 2 β Multi-Port Steady Mixing Manifold for Desalination Brine Blending
A steady-flow mixing header receives two liquid water streams (\(\rho = 990\text{ kg/m}^3\)) at \(\dot{m}_1 = 3.2\text{ kg/s}\) and \(\dot{m}_2 = 1.8\text{ kg/s}\), and discharges through two outlet branches (Ports 3 and 4). Port 3 carries \(65\%\) of the total mass flow at an average velocity of \(\mathcal{V}_3 = 4.5\text{ m/s}\), while Port 4 exits through a circular pipe of diameter \(D_4 = 4.0\text{ cm}\). Calculate the mass flow rates \(\dot{m}_3, \dot{m}_4\), required circular diameter \(D_3\) in \(\text{cm}\), and exit velocity \(\mathcal{V}_4\) in \(\text{m/s}\).
π Click to View Complete Step-by-Step Solution
Steady Mass Conservation (\(\sum \dot{m}_{\text{in}} = \sum \dot{m}_{\text{out}}\)): Total mass flow is \(\dot{m}_{\text{tot}} = 3.2 + 1.8 = 5.0\text{ kg/s}\): \[\dot{m}_3 = 0.65(5.0) = 3.25\text{ kg/s}, \qquad \dot{m}_4 = 0.35(5.0) = 1.75\text{ kg/s}\]
Size Pipe Diameter \(D_3\): \[A_3 = \frac{\dot{m}_3}{\rho \mathcal{V}_3} = \frac{3.25}{(990)(4.5)} = 7.295174e-04\text{ m}^2 \implies D_3 = \sqrt{\frac{4 A_3}{\pi}} = 3.05\text{ cm}\]
Find Port 4 Velocity: With \(A_4 = \pi (0.040)^2 / 4 = 1.256637e-03\text{ m}^2\): \[\mathcal{V}_4 = \frac{\dot{m}_4}{\rho A_4} = \frac{1.75}{(990)(1.256637e-03)} = 1.41\text{ m/s}\] Final Result: \(\dot{m}_3 = 3.25\text{ kg/s}\), \(\dot{m}_4 = 1.75\text{ kg/s}\), \(D_3 = 3.05\text{ cm}\), \(\mathcal{V}_4 = 1.41\text{ m/s}\).
Practice Problem 3 β Unsteady Level Rise in a Fuel Depot Storage Tank
A vertical cylindrical tank of diameter \(D = 1.80\text{ m}\) and height \(H_{\max} = 3.00\text{ m}\) contains diesel fuel (\(\rho = 850\text{ kg/m}^3\)) at an initial depth of \(h_0 = 1.20\text{ m}\). A transfer pump feeds fuel in at \(\dot{m}_{\text{in}} = 14.5\text{ kg/s}\) while a generator manifold draws fuel out at \(\dot{m}_{\text{out}} = 6.2\text{ kg/s}\). Determine: (a) the rate of mass accumulation \(dm_{\text{cv}}/dt\), (b) the fuel surface rise speed \(dh/dt\) in \(\text{mm/s}\), and (c) how many minutes it takes to reach \(H_{\max} = 3.00\text{ m}\) before high-level shutoff.
π Click to View Complete Step-by-Step Solution
Unsteady Control Volume Mass Balance: \[\frac{dm_{\text{cv}}}{dt} = \dot{m}_{\text{in}} - \dot{m}_{\text{out}} = 14.5 - 6.2 = +8.3\text{ kg/s}\]
Surface Rise Speed (\(m_{\text{cv}} = \rho A_{\text{tank}} h\)): With \(A_{\text{tank}} = \pi(1.80)^2/4 = 2.5447\text{ m}^2\): \[\frac{dh}{dt} = \frac{dm_{\text{cv}}/dt}{\rho A_{\text{tank}}} = \frac{8.3}{(850)(2.5447)} = 0.003837\text{ m/s} = 3.84\text{ mm/s}\]
Time to Reach \(H_{\max} = 3.00\text{ m}\): \[\Delta t = \frac{3.00 - 1.20}{0.003837} = 469.1\text{ s} = 7.82\text{ min}\] Final Result: \(dm_{\text{cv}}/dt = +8.3\text{ kg/s}\), \(dh/dt = 3.84\text{ mm/s}\), \(\Delta t = 7.82\text{ min}\).
Practice Problem 4 β Transient Mass Depletion and Average Bleed Rate from an Air Receiver
A pneumatic wind-tunnel blowdown vessel (\(V = 2.40\text{ m}^3\)) holds air initially at \(P_1 = 1.20\text{ MPa}\) and \(T_1 = 300\text{ K}\). After a \(90\text{-s}\) test run with no inflow, tank instruments measure \(P_2 = 450\text{ kPa}\) and \(T_2 = 275\text{ K}\). Using \(R = 0.287\text{ kJ}/(\text{kg}\cdot\text{K})\), compute the mass discharged \(\Delta m_{\text{out}}\) and the time-averaged discharge mass flow rate \(\dot{m}_{\text{avg}}\).
π Click to View Complete Step-by-Step Solution
Initial and Final Control-Volume Air Masses: \[m_1 = \frac{(1200)(2.40)}{(0.287)(300)} = 33.45\text{ kg}, \qquad m_2 = \frac{(450)(2.40)}{(0.287)(275)} = 13.68\text{ kg}\]
Control Volume Continuity (\(\dot{m}_{\text{in}} = 0\)): Integrating \(\frac{dm_{\text{cv}}}{dt} = -\dot{m}_{\text{out}}\) over \(\Delta t = 90\text{ s}\): \[m_{\text{out}} = m_1 - m_2 = 33.45 - 13.68 = 19.77\text{ kg}\]
Time-Averaged Discharge Mass Flow Rate: \[\dot{m}_{\text{avg}} = \frac{m_{\text{out}}}{\Delta t} = \frac{19.77}{90} = 0.2196\text{ kg/s}\] Final Result: \(m_{\text{out}} = 19.77\text{ kg}\), \(\dot{m}_{\text{avg}} = 0.2196\text{ kg/s}\).
Summary & Key Takeaways
- A control volume (open system) is a designated volume in space bounded by a control surface through which mass flows.
- The general mass conservation equation is \(\frac{dm_{\text{CV}}}{dt} = \sum_{\text{in}} \dot{m}_i - \sum_{\text{out}} \dot{m}_e\).
- Mass flow rate is the area integral \(\dot{m} = \int_A \rho (\vec{\mathcal{V}} \cdot \hat{n}) dA = \rho \mathcal{V}_{\text{avg}} A = \mathcal{V}_{\text{avg}} A / v\).
- For steady state, mass inflow equals mass outflow (\(\sum \dot{m}_i = \sum \dot{m}_e\)). Volumetric flow is conserved ONLY for incompressible fluids.
- Unsteady mass accumulation relates rate of mass change to geometry and flow equations, yielding differential equations for liquid level or gas pressure.
References, Suggested Reading & Video Lectures
- Moran & Shapiro (8th ed.): Sections 4.1β4.3 (Conservation of Mass for a Control Volume).
- Wassgren Notes: Chapter 4, Sections 4.1β4.3 (Control Volume Mass Conservation).
- Claire Yu Yan: Chapter 5, Section 5.2 (Control Volume Mass Analysis).
- Prof.Β Carl Wassgren YouTube Playlist
(
@cw2306):- Video 66: Conservation of Mass
(
E1BFzwXI134) - Video 67: COM 28 - Mixing Chamber Mass Balance
- Video 68: COM 04 - Multiple Inlets and Outlets
- Video 69: COM 05 - Compressible Gas Flow Through Nozzle
- Video 70: COM 09 - Laminar Pipe Flow Profile Integration
- Video 71: COM 16 - Velocity Profile Integration
- Video 72: COM 20 - Unsteady Tank Draining
- Video 73: COM 22 - Tank Level ODE
- Video 66: Conservation of Mass
(