3.2 First Law Analysis for Open & Closed Thermal Systems

Key Takeaways

  • The First Law of Thermodynamics expresses energy conservation: net energy transfer as heat and work equals the change in total system energy (Q - W = ΔE).
  • Quasi-equilibrium boundary work (PdV work) depends on the process path: isobaric (PΔV), isochoric (0), isothermal (P1 V1 ln(V2/V1)), and polytropic/isentropic ((P1 V1 - P2 V2)/(n - 1)).
  • For ideal gases, internal energy change is dU = m c_v dT and enthalpy change is dH = m c_p dT, governed by Mayer's relation c_p - c_v = R.
  • The Steady-Flow Energy Equation (SFEE) accounts for mass flow, enthalpy, kinetic energy, and potential energy across open system control volumes.
  • Engineering thermal devices streamline SFEE: nozzles convert enthalpy to kinetic energy, turbines extract shaft work, compressors consume work to boost pressure, and throttling valves preserve enthalpy (h1 = h2).
Last updated: July 2026

3.2 First Law Analysis for Open & Closed Thermal Systems

The First Law of Thermodynamics is the statement of the principle of conservation of energy. It states that energy can neither be created nor destroyed during a process; it can only change forms. For mechanical engineers analyzing power generation systems, HVAC units, internal combustion engines, and industrial fluid networks, mastering first-law energy balances for closed systems and open control volumes is fundamental.


1. First Law Formulation for Closed Systems

A closed system (or control mass) consists of a fixed amount of mass, and no mass can cross its boundary. Energy can cross the boundary in two forms: Heat ($Q$) and Work ($W$).

The general First Law balance over a time interval or process from state 1 to state 2 is:

Qnet,inWnet,out=ΔEsystemQ_{\text{net,in}} - W_{\text{net,out}} = \Delta E_{\text{system}}

ΔEsystem=ΔU+ΔKE+ΔPE\Delta E_{\text{system}} = \Delta U + \Delta KE + \Delta PE

where:

  • $\Delta U = m(u_2 - u_1)$ = Change in internal energy
  • $\Delta KE = \frac{1}{2} m (\mathbf{V}_2^2 - \mathbf{V}_1^2)$ = Change in kinetic energy
  • $\Delta PE = m g (z_2 - z_1)$ = Change in potential energy

For a stationary closed system, changes in kinetic and potential energy are negligible ($\Delta KE = 0, \Delta PE = 0$). Thus, the energy balance simplifies to:

QW=ΔU=m(u2u1)Q - W = \Delta U = m (u_2 - u_1)

Sign Conventions (Standard Engineering Convention):

  • Heat added to the system: $Q > 0$ (+)
  • Heat rejected from the system: $Q < 0$ (-)
  • Work done by the system: $W > 0$ (+)
  • Work done on the system: $W < 0$ (-)

2. Boundary Work ($P dV$ Work) for Closed System Processes

Boundary work ($W_b$) is the energy transferred when the boundary of a closed system moves during a quasi-equilibrium expansion or compression process:

Wb=12PdVW_b = \int_1^2 P \, dV

On a $P-V$ diagram, boundary work equals the area under the process curve.

   P ^
     |   1 (P1, V1)
     |    \   P V^n = C
     |     \  [Work = Area under curve]
     |------\-------> 2 (P2, V2)
     +------------------------> V

Fundamental Process Work Equations for Ideal Gases ($P V = m R T$)

1. Isobaric Process ($P = \text{constant}$)

Wb=P12dV=P(V2V1)=mR(T2T1)W_b = P \int_1^2 dV = P(V_2 - V_1) = m R (T_2 - T_1) Q=ΔU+Wb=mcv(T2T1)+mR(T2T1)=mcp(T2T1)=ΔHQ = \Delta U + W_b = m c_v (T_2 - T_1) + m R (T_2 - T_1) = m c_p (T_2 - T_1) = \Delta H

2. Isochoric (Isovolumetric) Process ($V = \text{constant}$)

Wb=0W_b = 0 Q=ΔU=mcv(T2T1)Q = \Delta U = m c_v (T_2 - T_1)

3. Isothermal Process ($T = \text{constant}$)

For an ideal gas, $P V = C \implies P = C/V$: Wb=12CVdV=P1V1ln(V2V1)=mRTln(P1P2)W_b = \int_1^2 \frac{C}{V} \, dV = P_1 V_1 \ln\left(\frac{V_2}{V_1}\right) = m R T \ln\left(\frac{P_1}{P_2}\right) Since $T = \text{constant}$, $\Delta U = 0$; thus $Q = W_b$.

4. Polytropic Process ($P V^n = C$, $n \ne 1$)

Wb=12CVndV=P2V2P1V11n=P1V1P2V2n1=mR(T1T2)n1W_b = \int_1^2 C V^{-n} \, dV = \frac{P_2 V_2 - P_1 V_1}{1 - n} = \frac{P_1 V_1 - P_2 V_2}{n - 1} = \frac{m R (T_1 - T_2)}{n - 1}

5. Isentropic (Reversible Adiabatic) Process ($P V^k = C$, $n = k = c_p/c_v$)

Wb=P1V1P2V2k1=mR(T1T2)k1W_b = \frac{P_1 V_1 - P_2 V_2}{k - 1} = \frac{m R (T_1 - T_2)}{k - 1} Since $Q = 0$, $W_b = -\Delta U = m c_v (T_1 - T_2)$.

Process TypeGoverning RelationBoundary Work $W_b$ FormulaHeat Transfer $Q$ Formula
Isobaric$P = C$$P(V_2 - V_1)$$m c_p (T_2 - T_1)$
Isochoric$V = C$$0$$m c_v (T_2 - T_1)$
Isothermal$T = C$$P_1 V_1 \ln(V_2 / V_1)$$W_b$
Polytropic$P V^n = C$$\frac{P_1 V_1 - P_2 V_2}{n - 1}$$m c_v (T_2 - T_1) + W_b$
Isentropic$P V^k = C$$\frac{P_1 V_1 - P_2 V_2}{k - 1}$$0$

3. Specific Heats, Internal Energy & Enthalpy

Specific heats relate temperature changes to energy changes:

  • Constant-volume specific heat: $c_v = \left(\frac{\partial u}{\partial T}\right)_v \implies du = c_v dT$
  • Constant-pressure specific heat: $c_p = \left(\frac{\partial h}{\partial T}\right)_P \implies dh = c_p dT$

For ideal gases, $u$ and $h$ depend only on temperature $T$ (Joule's Law). Hence:

Δu=u2u1=cv(T2T1),Δh=h2h1=cp(T2T1)\Delta u = u_2 - u_1 = c_v (T_2 - T_1), \quad \Delta h = h_2 - h_1 = c_p (T_2 - T_1)

Mayer's Relation & Specific Heat Ratio

cpcv=R,k=cpcvc_p - c_v = R, \quad k = \frac{c_p}{c_v}

cv=Rk1,cp=kRk1c_v = \frac{R}{k - 1}, \quad c_p = \frac{k R}{k - 1}

For Air ($R = 0.2870\text{ kJ/kg}\cdot\text{K}, k = 1.4$): cv=0.718 kJ/kgK,cp=1.005 kJ/kgKc_v = 0.718\text{ kJ/kg}\cdot\text{K}, \quad c_p = 1.005\text{ kJ/kg}\cdot\text{K}


4. First Law for Open Systems: Steady-Flow Energy Equation (SFEE)

An open system (control volume) involves mass flow across its boundary. Under steady-state steady-flow (SSSF) conditions, mass inside the control volume remains constant ($,d m_{\text{cv}}/dt = 0$) and total energy inside remains constant ($,d E_{\text{cv}}/dt = 0$).

Conservation of Mass

m˙1=m˙2=m˙=A1V1v1=A2V2v2\dot{m}_1 = \dot{m}_2 = \dot{m} = \frac{A_1 \mathbf{V}_1}{v_1} = \frac{A_2 \mathbf{V}_2}{v_2}

Steady-Flow Energy Equation (SFEE) per unit mass (kJ/kg)

qw=(h2h1)+V22V122000+g(z2z1)1000q - w = (h_2 - h_1) + \frac{\mathbf{V}_2^2 - \mathbf{V}_1^2}{2000} + \frac{g(z_2 - z_1)}{1000}

Rate Form of SFEE (kW or MW)

Q˙W˙=m˙[(h2h1)+V22V122000+g(z2z1)1000]\dot{Q} - \dot{W} = \dot{m} \left[ (h_2 - h_1) + \frac{\mathbf{V}_2^2 - \mathbf{V}_1^2}{2000} + \frac{g(z_2 - z_1)}{1000} \right]

where $\mathbf{V}$ is fluid velocity (m/s), $z$ is elevation (m), $g = 9.81\text{ m/s}^2$, $\dot{Q}$ is heat transfer rate (kW), and $\dot{W}$ is power output/input (kW).

SFEE Applications to Engineering Control Volume Devices

  1. Nozzles & Diffusers:

    • Devices that accelerate or decelerate a fluid. $\dot{W} = 0$, $\dot{Q} \approx 0$, $\Delta PE = 0$. h1+V122000=h2+V222000h_1 + \frac{\mathbf{V}_1^2}{2000} = h_2 + \frac{\mathbf{V}_2^2}{2000}
  2. Turbines (Steam / Gas / Hydraulic):

    • Devices that produce shaft power. $\dot{Q} \approx 0$, $\Delta KE \approx 0$, $\Delta PE \approx 0$. wout=h1h2    W˙out=m˙(h1h2)w_{\text{out}} = h_1 - h_2 \implies \dot{W}_{\text{out}} = \dot{m} (h_1 - h_2)
  3. Compressors, Pumps & Fans:

    • Devices that increase pressure using shaft work. $\dot{Q} \approx 0$, $\Delta KE \approx 0$, $\Delta PE \approx 0$. win=h2h1    W˙in=m˙(h2h1)w_{\text{in}} = h_2 - h_1 \implies \dot{W}_{\text{in}} = \dot{m} (h_2 - h_1)
  4. Throttling Valves & Expansion Tubes:

    • Flow-restricting devices causing a large pressure drop. $\dot{W} = 0$, $\dot{Q} \approx 0$, $\Delta KE \approx 0$, $\Delta PE = 0$. h1=h2(Isenthalpic Process)h_1 = h_2 \quad (\text{Isenthalpic Process})
  5. Heat Exchangers & Condensers:

    • Devices transferring thermal energy between fluid streams without work. $\dot{W} = 0$, $\Delta KE \approx 0$, $\Delta PE \approx 0$. m˙A(hA,1hA,2)=m˙B(hB,2hB,1)\dot{m}_A (h_{A,1} - h_{A,2}) = \dot{m}_B (h_{B,2} - h_{B,1})

5. Step-by-Step Worked Numerical Calculation

Problem Statement

Steam enters an adiabatic steam turbine operating at steady state at $P_1 = 3.0\text{ MPa}$ and $T_1 = 400.0^\circ\text{C}$ with an inlet enthalpy of $h_1 = 3230.9\text{ kJ/kg}$ and an inlet velocity of $\mathbf{V}_1 = 50.0\text{ m/s}$. The steam exits the turbine at $P_2 = 30.0\text{ kPa}$ with a quality of $x_2 = 0.920$ and an exit velocity of $\mathbf{V}_2 = 180.0\text{ m/s}$. The mass flow rate of steam is $\dot{m} = 12.0\text{ kg/s}$. Potential energy change is negligible.

Saturated steam data at $P_2 = 30.0\text{ kPa}$:

  • $h_f = 289.23\text{ kJ/kg}$
  • $h_{fg} = 2336.1\text{ kJ/kg}$

Calculate:

  1. The exit enthalpy $h_2$ of steam in kJ/kg.
  2. The change in kinetic energy $\Delta ke$ per unit mass in kJ/kg.
  3. The work produced per unit mass $w_{\text{out}}$ in kJ/kg.
  4. The total shaft power output $\dot{W}_{\text{out}}$ of the turbine in Megawatts (MW).

Step-by-Step Solution

Step 1: Calculate exit enthalpy ($h_2$) h2=hf+x2hfg=289.23+(0.920×2336.1)=289.23+2149.21=2438.44 kJ/kgh_2 = h_f + x_2 h_{fg} = 289.23 + (0.920 \times 2336.1) = 289.23 + 2149.21 = 2438.44\text{ kJ/kg}

Step 2: Calculate change in kinetic energy ($\Delta ke$) Δke=V22V122000=(180.0)2(50.0)22000=3240025002000=299002000=14.95 kJ/kg\Delta ke = \frac{\mathbf{V}_2^2 - \mathbf{V}_1^2}{2000} = \frac{(180.0)^2 - (50.0)^2}{2000} = \frac{32400 - 2500}{2000} = \frac{29900}{2000} = 14.95\text{ kJ/kg}

Step 3: Apply SFEE to calculate work output per unit mass ($w_{\text{out}}$) For an adiabatic turbine ($\dot{Q} = 0$) with negligible potential energy change ($\Delta pe = 0$): qwout=(h2h1)+Δkeq - w_{\text{out}} = (h_2 - h_1) + \Delta ke 0wout=(2438.443230.9)+14.950 - w_{\text{out}} = (2438.44 - 3230.9) + 14.95 wout=792.46+14.95=777.51 kJ/kg-w_{\text{out}} = -792.46 + 14.95 = -777.51\text{ kJ/kg} wout=777.51 kJ/kgw_{\text{out}} = 777.51\text{ kJ/kg}

Step 4: Calculate total turbine power output ($\dot{W}_{\text{out}}$) W˙out=m˙wout=12.0 kg/s×777.51 kJ/kg=9330.12 kW\dot{W}_{\text{out}} = \dot{m} w_{\text{out}} = 12.0\text{ kg/s} \times 777.51\text{ kJ/kg} = 9330.12\text{ kW}

Convert to Megawatts (MW): W˙out=9330.12 kW1000 kW/MW=9.330 MW\dot{W}_{\text{out}} = \frac{9330.12\text{ kW}}{1000\text{ kW/MW}} = 9.330\text{ MW}

Final Summary of Results:

  • Exit enthalpy $h_2 = 2438.44\text{ kJ/kg}$
  • Kinetic energy change $\Delta ke = +14.95\text{ kJ/kg}$
  • Work per unit mass $w_{\text{out}} = 777.51\text{ kJ/kg}$
  • Turbine Power Output $\dot{W}_{\text{out}} = 9.330\text{ MW}$
Loading diagram...
Steady-Flow Energy Equation (SFEE) Equipment Applications
Test Your Knowledge

Air undergoes a polytropic compression process inside a cylinder from P1 = 100 kPa, V1 = 0.10 m³ to P2 = 500 kPa, V2 = 0.03 m³. If the polytropic index is n = 1.30, how much boundary work is performed ON the air?

A
B
C
D
Test Your Knowledge

Steam enters an adiabatic nozzle at h1 = 3200 kJ/kg with an initial velocity of V1 = 20 m/s. It expands through the nozzle to an exit state where enthalpy is h2 = 2900 kJ/kg. What is the exit velocity V2 of the steam?

A
B
C
D
Test Your Knowledge

When an ideal gas or liquid undergoes an ideal throttling process across a partially closed valve, which thermodynamic property remains strictly constant between the inlet and outlet?

A
B
C
D