Study guide

8.2 Unsteady-State Mass Balances

NCEES Fundamentals of Engineering FE

Track your progress as you read

Finished sections get a check mark.

1 Chapter 1: Mathematics

1.1 Analytic Geometry, Algebra, and Trigonometry 1.2 Calculus and Differential Equations 1.3 Numerical Methods and Measurement Error

2 Chapter 2: Probability and Statistics

2.1 Probability Distributions, Central Tendency, and Regression 2.2 Hypothesis Testing, ANOVA, and Statistical Quality Control

3 Chapter 3: Engineering Sciences

3.1 Mechanics and Dynamics 3.2 Electrical Circuits and Laws

4 Chapter 4: Materials Science

4.1 Material Properties and Compatibilities 4.2 Corrosion, Polymers, Ceramics, and Composites

5 Chapter 5: Chemistry and Biology

5.1 Stoichiometry, Analytical Chemistry, and Chemical Equilibrium 5.2 Organic Chemistry and Nomenclature 5.3 Biological Systems and Kinetics

6 Chapter 6: Fluid Mechanics and Dynamics

6.1 Fluid Properties, Dimensionless Numbers, and Flow Regimes 6.2 Bernoulli Equation and Mechanical Energy Balances 6.3 Flow Measurement and Fluid Machinery 6.4 Compressible and Non-Newtonian Flows

7 Chapter 7: Thermodynamics

7.1 Thermodynamic Properties, Ideal Gas, and State Equations 7.2 Laws of Thermodynamics and Cyclic Processes 7.3 Vapor-Liquid Equilibrium (VLE) and Phase Equilibrium 7.4 Chemical Equilibrium, Heats of Reaction, and Mixing

8 Chapter 8: Material and Energy Balances

8.1 Steady-State Material Balances 8.2 Unsteady-State Mass Balances 8.3 Steady-State Energy Balances 8.4 Unsteady-State Energy Balances

9 Chapter 9: Heat Transfer

9.1 Conduction, Convection, and Radiation Fundamentals 9.2 Heat Transfer Coefficients, Fouling, and Overall U 9.3 Heat Exchanger Design

10 Chapter 10: Mass Transfer and Separation

10.1 Diffusion Fundamentals 10.2 Gas Absorption, Stripping, and Liquid-Liquid Extraction 10.3 Distillation and McCabe-Thiele Method 10.4 Continuous Contact Methods, Membrane Separations, and Evaporative Operations

11 Chapter 11: Solids Handling

11.1 Particle Properties and Solid Processing 11.2 Solids Transportation and Storage

12 Chapter 12: Chemical Reaction Engineering

12.1 Reaction Kinetics and Performance Metrics 12.2 Ideal Reactor Design 12.3 Multiple Reactions, Catalysis, and Heterogeneous Kinetics

13 Chapter 13: Economics

13.1 Time Value of Money and Project Selection 13.2 Profitability Analysis, Depreciation, and Break-Even

14 Chapter 14: Process Design

14.1 Process Flowsheets and Instrumentation 14.2 Equipment Selection, Sizing, and Cost Estimation 14.3 Process Optimization, Sustainability, and Inherently Safer Design

15 Chapter 15: Process Control

15.1 Process Dynamics and Transfer Functions 15.2 Feedback Control Loops, PID Tuning, and Control Hardware

16 Chapter 16: Safety, Health, and Environment

16.1 Flammability, Toxicity, and Industrial Hygiene 16.2 Hazard Identification and Risk Analysis 16.3 Overpressure Relief, Reactivity Hazards, and Waste Regulations

17 Chapter 17: Ethics and Professional Practice

17.1 Professional Codes of Ethics and Public Welfare 17.2 Intellectual Property, Contracts, and Professional Liability

8.2 Unsteady-State Mass Balances

Key Takeaways Explain This Topic AI

Unsteady-state mass balances retain the time-dependent accumulation term, dm/dt = sum(m_in) - sum(m_out), which must be integrated over a defined time interval.

When modeling liquid volume changes in a vessel, the rate of change of liquid height is governed by the volumetric balance A dh/dt = F_in - F_out, assuming constant fluid density.

Gravity-draining or leaking tanks follow Torricelli's law, where the outlet flow rate varies with the square root of the liquid height (F_out = C_d * A_o * sqrt(2g*h)), leading to a non-linear first-order differential equation.

In well-mixed dilution vessels (dynamic concentration modeling), both mass and species balances must be solved simultaneously using separation of variables or integrating factors.

For variable-volume systems (e.g., where inlet and outlet volumetric flow rates differ), the volume term inside the differential d(VC)/dt must be expanded as V dC/dt + C dV/dt.

Last updated: July 2026

The Nature of Transient Systems

In contrast to steady-state operations, unsteady-state (or transient) systems exhibit process variables that change with time. Transient conditions are typical in batch processes, during startup and shutdown sequences, and when responding to process upsets or setpoint changes. For transient systems, the accumulation term in the general material balance equation cannot be neglected, meaning the rate of accumulation of mass within the system boundary is equal to the net rate of mass entering and leaving the system plus generation minus consumption. For a non-reactive system, this transient mass balance is written as: d m s y s d t = ∑ m ˙ i n − ∑ m ˙ o u t \frac{dm_{sys}}{dt} = \sum \dot{m}_{in} - \sum \dot{m}_{out} d t d m sys ​ ​ = ∑ m ˙ in ​ − ∑ m ˙ o u t ​

where m s y s m_{sys} m sys ​ is the total mass within the system boundary at any time t t t , and m ˙ i n \dot{m}_{in} m ˙ in ​ and m ˙ o u t \dot{m}_{out} m ˙ o u t ​ are the mass flow rates entering and leaving the system, respectively. If the system contains multiple components, a transient balance must be written for each individual species. For a component i i i with mass fraction w i w_i w i ​ , the transient species balance is: d ( m s y s w i ) d t = ∑ m ˙ i n w i , i n − ∑ m ˙ o u t w i , o u t \frac{d(m_{sys} w_i)}{dt} = \sum \dot{m}_{in} w_{i,in} - \sum \dot{m}_{out} w_{i,out} d t d ( m sys ​ w i ​ ) ​ = ∑ m ˙ in ​ w i , in ​ − ∑ m ˙ o u t ​ w i , o u t ​

To solve unsteady-state material balances, you must formulate the differential equation, separate the variables, and integrate over the specified time interval using the initial conditions of the system.

Liquid Level in Draining and Leaking Tanks

A classic FE Chemical exam problem involves modeling the liquid level in a storage vessel as it fills, drains, or leaks. Consider a tank with a constant cross-sectional area A A A containing a liquid of constant density ρ \rho ρ . The volume of liquid in the tank is V ( t ) = A h ( t ) V(t) = A h(t) V ( t ) = A h ( t ) , where h ( t ) h(t) h ( t ) is the liquid height. The mass of liquid is m s y s = ρ A h m_{sys} = \rho A h m sys ​ = ρ A h .

Substituting this into the transient mass balance gives: d ( ρ A h ) d t = ρ F i n − ρ F o u t \frac{d(\rho A h)}{dt} = \rho F_{in} - \rho F_{out} d t d ( ρ A h ) ​ = ρ F in ​ − ρ F o u t ​

where F i n F_{in} F in ​ and F o u t F_{out} F o u t ​ are the volumetric flow rates entering and leaving the tank, respectively. Since density ρ \rho ρ and area A A A are constant, we can simplify this to a volumetric balance: A d h d t = F i n − F o u t A \frac{dh}{dt} = F_{in} - F_{out} A d t d h ​ = F in ​ − F o u t ​

If the tank is draining under the force of gravity through a leak or an orifice at the bottom, the outlet velocity is described by Torricelli's Law, which is derived from the Bernoulli equation. The outlet volumetric flow rate F o u t F_{out} F o u t ​ is: F o u t = C d A o 2 g h F_{out} = C_d A_o \sqrt{2gh} F o u t ​ = C d ​ A o ​ 2 g h ​

where C d C_d C d ​ is the discharge coefficient (typically between 0.60 and 0.98), A o A_o A o ​ is the cross-sectional area of the orifice, and g g g is the acceleration due to gravity. The governing differential equation for the liquid height becomes: A d h d t = F i n − C d A o 2 g h A \frac{dh}{dt} = F_{in} - C_d A_o \sqrt{2gh} A d t d h ​ = F in ​ − C d ​ A o ​ 2 g h ​

This is a non-linear first-order ordinary differential equation. If there is no inlet flow ( F i n = 0 F_{in} = 0 F in ​ = 0 ), the equation is separable and can be integrated directly to find the time required to drain the tank from an initial height h 0 h_0 h 0 ​ to a final height h f h_f h f ​ : ∫ h 0 h f d h h = − C d A o 2 g A ∫ 0 t d t \int_{h_0}^{h_f} \frac{dh}{\sqrt{h}} = -\frac{C_d A_o \sqrt{2g}}{A} \int_0^t dt ∫ h 0 ​ h f ​ ​ h ​ d h ​ = − A C d ​ A o ​ 2 g ​ ​ ∫ 0 t ​ d t 2 ( h f − h 0 ) = − C d A o 2 g A t 2(\sqrt{h_f} - \sqrt{h_0}) = -\frac{C_d A_o \sqrt{2g}}{A} t 2 ( h f ​ ​ − h 0 ​ ​ ) = − A C d ​ A o ​ 2 g ​ ​ t

Rearranging this expression allows you to calculate the elapsed time t t t : t = 2 A C d A o 2 g ( h 0 − h f ) t = \frac{2A}{C_d A_o \sqrt{2g}} (\sqrt{h_0} - \sqrt{h_f}) t = C d ​ A o ​ 2 g ​ 2 A ​ ( h 0 ​ ​ − h f ​ ​ )

Concentration Dynamics in Well-Mixed Dilution Vessels

Another high-yield transient problem is the dilution or mixing tank. Consider a well-mixed vessel of constant volume V V V containing a solute of concentration C ( t ) C(t) C ( t ) . A liquid stream enters the vessel at a volumetric flow rate F F F and solute concentration C i n C_{in} C in ​ , and an outlet stream leaves at the same flow rate F F F to maintain constant volume ( F i n = F o u t = F F_{in} = F_{out} = F F in ​ = F o u t ​ = F ).

Because the vessel is well-mixed, the solute concentration in the outlet stream is equal to the concentration inside the tank ( C o u t = C C_{out} = C C o u t ​ = C ). The species balance for the solute is: d ( V C ) d t = F C i n − F C \frac{d(V C)}{dt} = F C_{in} - F C d t d ( V C ) ​ = F C in ​ − FC

Since V V V is constant, this simplifies to: V d C d t = F ( C i n − C ) ⟹ d C d t + F V C = F V C i n V \frac{dC}{dt} = F (C_{in} - C) \implies \frac{dC}{dt} + \frac{F}{V} C = \frac{F}{V} C_{in} V d t d C ​ = F ( C in ​ − C ) ⟹ d t d C ​ + V F ​ C = V F ​ C in ​

This is a first-order linear ordinary differential equation. Defining the residence time or space time as τ = V / F \tau = V/F τ = V / F , we can write: d C d t + 1 τ C = 1 τ C i n \frac{dC}{dt} + \frac{1}{\tau} C = \frac{1}{\tau} C_{in} d t d C ​ + τ 1 ​ C = τ 1 ​ C in ​

Integrating this equation from an initial concentration C ( 0 ) = C 0 C(0) = C_0 C ( 0 ) = C 0 ​ yields the concentration as a function of time: C ( t ) = C i n + ( C 0 − C i n ) e − t / τ C(t) = C_{in} + (C_0 - C_{in}) e^{-t/\tau} C ( t ) = C in ​ + ( C 0 ​ − C in ​ ) e − t / τ

This equation shows that as t → ∞ t \to \infty t → ∞ , the concentration exponentially approaches the inlet concentration C i n C_{in} C in ​ . The quantity e − t / τ e^{-t/\tau} e − t / τ represents the fraction of the initial fluid remaining in the vessel at time t t t .

For systems where the inlet and outlet flow rates are different ( F i n ≠ F o u t F_{in} \neq F_{out} F in ​  = F o u t ​ ), the volume is also a function of time: V ( t ) = V 0 + ( F i n − F o u t ) t V(t) = V_0 + (F_{in} - F_{out})t V ( t ) = V 0 ​ + ( F in ​ − F o u t ​ ) t . In this case, the product rule must be used to expand the accumulation term: d ( V C ) d t = V d C d t + C d V d t = F i n C i n − F o u t C \frac{d(V C)}{dt} = V \frac{dC}{dt} + C \frac{dV}{dt} = F_{in} C_{in} - F_{out} C d t d ( V C ) ​ = V d t d C ​ + C d t d V ​ = F in ​ C in ​ − F o u t ​ C

Substitute d V d t = F i n − F o u t \frac{dV}{dt} = F_{in} - F_{out} d t d V ​ = F in ​ − F o u t ​ into the equation and rearrange to isolate d C d t \frac{dC}{dt} d t d C ​ : V d C d t + C ( F i n − F o u t ) = F i n C i n − F o u t C ⟹ V ( t ) d C d t = F i n ( C i n − C ) V \frac{dC}{dt} + C(F_{in} - F_{out}) = F_{in} C_{in} - F_{out} C \implies V(t) \frac{dC}{dt} = F_{in}(C_{in} - C) V d t d C ​ + C ( F in ​ − F o u t ​ ) = F in ​ C in ​ − F o u t ​ C ⟹ V ( t ) d t d C ​ = F in ​ ( C in ​ − C )

This must be solved by separating variables and integrating using the time-dependent volume function V ( t ) V(t) V ( t ) .

The table below compares the concentration dynamics equations for constant-volume and variable-volume well-mixed vessels:

Parameter Constant-Volume Vessel Variable-Volume Vessel

Volume V ( t ) V(t) V ( t ) Constant ( V = V 0 V = V_0 V = V 0 ​ ) Time-dependent ( V ( t ) = V 0 + ( F i n − F o u t ) t V(t) = V_0 + (F_{in} - F_{out})t V ( t ) = V 0 ​ + ( F in ​ − F o u t ​ ) t )

Species Balance V d C d t = F ( C i n − C ) V \frac{dC}{dt} = F(C_{in} - C) V d t d C ​ = F ( C in ​ − C ) V d C d t = F i n ( C i n − C ) V \frac{dC}{dt} = F_{in}(C_{in} - C) V d t d C ​ = F in ​ ( C in ​ − C )

Solute Concentration C ( t ) = C i n + ( C 0 − C i n ) e − t / τ C(t) = C_{in} + (C_0 - C_{in}) e^{-t/\tau} C ( t ) = C in ​ + ( C 0 ​ − C in ​ ) e − t / τ Solved by separating variables with V ( t ) V(t) V ( t )

Worked Example: Emptying a Leaking Storage Tank

A cylindrical storage tank with a diameter of 2.0 m 2.0 \text{ m} 2.0 m (cross-sectional area A = 3.1416 m 2 A = 3.1416 \text{ m}^2 A = 3.1416 m 2 ) is initially filled with water to a height of 4.0 m 4.0 \text{ m} 4.0 m . A drain hole with a diameter of 0.05 m 0.05 \text{ m} 0.05 m ( A o = 0.001963 m 2 A_o = 0.001963 \text{ m}^2 A o ​ = 0.001963 m 2 ) at the bottom of the tank is opened. Assuming the discharge coefficient is C d = 0.60 C_d = 0.60 C d ​ = 0.60 and the acceleration due to gravity is g = 9.81 m/s 2 g = 9.81 \text{ m/s}^2 g = 9.81 m/s 2 , calculate the time (in minutes) required for the water level to drop from 4.0 m 4.0 \text{ m} 4.0 m to 1.0 m 1.0 \text{ m} 1.0 m .

Solution:

We start with the derived integration formula for a draining tank with no inlet flow: t = 2 A C d A o 2 g ( h 0 − h f ) t = \frac{2A}{C_d A_o \sqrt{2g}} (\sqrt{h_0} - \sqrt{h_f}) t = C d ​ A o ​ 2 g ​ 2 A ​ ( h 0 ​ ​ − h f ​ ​ )

First, calculate the constant coefficient: Coefficient = 2 ( 3.1416 ) ( 0.60 ) ( 0.001963 ) 2 ( 9.81 ) = 6.2832 ( 0.001178 ) ( 4.4294 ) = 6.2832 0.005218 = 1 , 204.1 s/m 1 / 2 \text{Coefficient} = \frac{2(3.1416)}{(0.60)(0.001963) \sqrt{2(9.81)}} = \frac{6.2832}{(0.001178) (4.4294)} = \frac{6.2832}{0.005218} = 1,204.1 \text{ s/m}^{1/2} Coefficient = ( 0.60 ) ( 0.001963 ) 2 ( 9.81 ) ​ 2 ( 3.1416 ) ​ = ( 0.001178 ) ( 4.4294 ) 6.2832 ​ = 0.005218 6.2832 ​ = 1 , 204.1 s/m 1/2

Next, substitute the initial and final heights: h 0 − h f = 4.0 − 1.0 = 2.0 − 1.0 = 1.0 m 1 / 2 \sqrt{h_0} - \sqrt{h_f} = \sqrt{4.0} - \sqrt{1.0} = 2.0 - 1.0 = 1.0 \text{ m}^{1/2} h 0 ​ ​ − h f ​ ​ = 4.0 ​ − 1.0 ​ = 2.0 − 1.0 = 1.0 m 1/2

Multiply the coefficient by the height difference: t = 1 , 204.1 s/m 1 / 2 × 1.0 m 1 / 2 = 1 , 204.1 seconds t = 1,204.1 \text{ s/m}^{1/2} \times 1.0 \text{ m}^{1/2} = 1,204.1 \text{ seconds} t = 1 , 204.1 s/m 1/2 × 1.0 m 1/2 = 1 , 204.1 seconds

Convert the time into minutes: t = 1 , 204.1 seconds 60 seconds/minute = 20.1 minutes t = \frac{1,204.1 \text{ seconds}}{60 \text{ seconds/minute}} = 20.1 \text{ minutes} t = 60 seconds/minute 1 , 204.1 seconds ​ = 20.1 minutes

Therefore, it will take approximately 20.1 20.1 20.1 minutes for the liquid level in the tank to drop from 4.0 m 4.0 \text{ m} 4.0 m to 1.0 m 1.0 \text{ m} 1.0 m .