PracticeVideosBlogFlashcards

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 (QQ) and Work (WW).

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

Qnet,in−Wnet,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:

  • ΔU=m(u2−u1)\Delta U = m(u_2 - u_1) = Change in internal energy
  • ΔKE=12m(V22−V12)\Delta KE = \frac{1}{2} m (\mathbf{V}_2^2 - \mathbf{V}_1^2) = Change in kinetic energy
  • ΔPE=mg(z2−z1)\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 (ΔKE=0,ΔPE=0\Delta KE = 0, \Delta PE = 0). Thus, the energy balance simplifies to:

Q−W=ΔU=m(u2−u1)Q - W = \Delta U = m (u_2 - u_1)

Sign Conventions (Standard Engineering Convention):

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

2. Boundary Work (PdVP dV Work) for Closed System Processes

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

Wb=∫12P dVW_b = \int_1^2 P \, dV

On a P−VP-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 (PV=mRTP V = m R T)

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

Wb=P∫12dV=P(V2−V1)=mR(T2−T1)W_b = P \int_1^2 dV = P(V_2 - V_1) = m R (T_2 - T_1) Q=ΔU+Wb=mcv(T2−T1)+mR(T2−T1)=mcp(T2−T1)=Δ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=constantV = \text{constant})

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

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

For an ideal gas, PV=C  ⟹  P=C/VP V = C \implies P = C/V:

Wb=∫12CV dV=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=constantT = \text{constant}, ΔU=0\Delta U = 0; thus Q=WbQ = W_b.

4. Polytropic Process (PVn=CP V^n = C, n≠1n \ne 1)

Wb=∫12CV−n dV=P2V2−P1V11−n=P1V1−P2V2n−1=mR(T1−T2)n−1W_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 (PVk=CP V^k = C, n=k=cp/cvn = k = c_p/c_v)

Wb=P1V1−P2V2k−1=mR(T1−T2)k−1W_b = \frac{P_1 V_1 - P_2 V_2}{k - 1} = \frac{m R (T_1 - T_2)}{k - 1}

Since Q=0Q = 0, Wb=−ΔU=mcv(T1−T2)W_b = -\Delta U = m c_v (T_1 - T_2).

Process TypeGoverning RelationBoundary Work WbW_b FormulaHeat Transfer QQ Formula
IsobaricP=CP = CP(V2−V1)P(V_2 - V_1)mcp(T2−T1)m c_p (T_2 - T_1)
IsochoricV=CV = C00mcv(T2−T1)m c_v (T_2 - T_1)
IsothermalT=CT = CP1V1ln⁡(V2/V1)P_1 V_1 \ln(V_2 / V_1)WbW_b
PolytropicPVn=CP V^n = CP1V1−P2V2n−1\frac{P_1 V_1 - P_2 V_2}{n - 1}mcv(T2−T1)+Wbm c_v (T_2 - T_1) + W_b
IsentropicPVk=CP V^k = CP1V1−P2V2k−1\frac{P_1 V_1 - P_2 V_2}{k - 1}00

3. Specific Heats, Internal Energy & Enthalpy

Specific heats relate temperature changes to energy changes:

  • Constant-volume specific heat: cv=(∂u∂T)v  ⟹  du=cvdTc_v = \left(\frac{\partial u}{\partial T}\right)_v \implies du = c_v dT
  • Constant-pressure specific heat: cp=(∂h∂T)P  ⟹  dh=cpdTc_p = \left(\frac{\partial h}{\partial T}\right)_P \implies dh = c_p dT

For ideal gases, uu and hh depend only on temperature TT (Joule's Law). Hence:

Δu=u2−u1=cv(T2−T1),Δh=h2−h1=cp(T2−T1)\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

cp−cv=R,k=cpcvc_p - c_v = R, \quad k = \frac{c_p}{c_v} cv=Rk−1,cp=kRk−1c_v = \frac{R}{k - 1}, \quad c_p = \frac{k R}{k - 1}

For Air (R=0.2870 kJ/kg⋅K,k=1.4R = 0.2870\text{ kJ/kg}\cdot\text{K}, k = 1.4):

cv=0.718 kJ/kg⋅K,cp=1.005 kJ/kg⋅Kc_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 ( dmcv/dt=0\,d m_{\text{cv}}/dt = 0) and total energy inside remains constant ( dEcv/dt=0\,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)

q−w=(h2−h1)+V22−V122000+g(z2−z1)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˙[(h2−h1)+V22−V122000+g(z2−z1)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 V\mathbf{V} is fluid velocity (m/s), zz is elevation (m), g=9.81 m/s2g = 9.81\text{ m/s}^2, Q˙\dot{Q} is heat transfer rate (kW), and W˙\dot{W} is power output/input (kW).

SFEE Applications to Engineering Control Volume Devices

  1. Nozzles & Diffusers:

    • Devices that accelerate or decelerate a fluid. W˙=0\dot{W} = 0, Q˙≈0\dot{Q} \approx 0, ΔPE=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. Q˙≈0\dot{Q} \approx 0, ΔKE≈0\Delta KE \approx 0, ΔPE≈0\Delta PE \approx 0.
    wout=h1−h2  ⟹  W˙out=m˙(h1−h2)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. Q˙≈0\dot{Q} \approx 0, ΔKE≈0\Delta KE \approx 0, ΔPE≈0\Delta PE \approx 0.
    win=h2−h1  ⟹  W˙in=m˙(h2−h1)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. W˙=0\dot{W} = 0, Q˙≈0\dot{Q} \approx 0, ΔKE≈0\Delta KE \approx 0, ΔPE=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. W˙=0\dot{W} = 0, ΔKE≈0\Delta KE \approx 0, ΔPE≈0\Delta PE \approx 0.
    m˙A(hA,1−hA,2)=m˙B(hB,2−hB,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 P1=3.0 MPaP_1 = 3.0\text{ MPa} and T1=400.0∘CT_1 = 400.0^\circ\text{C} with an inlet enthalpy of h1=3230.9 kJ/kgh_1 = 3230.9\text{ kJ/kg} and an inlet velocity of V1=50.0 m/s\mathbf{V}_1 = 50.0\text{ m/s}. The steam exits the turbine at P2=30.0 kPaP_2 = 30.0\text{ kPa} with a quality of x2=0.920x_2 = 0.920 and an exit velocity of V2=180.0 m/s\mathbf{V}_2 = 180.0\text{ m/s}. The mass flow rate of steam is m˙=12.0 kg/s\dot{m} = 12.0\text{ kg/s}. Potential energy change is negligible.

Saturated steam data at P2=30.0 kPaP_2 = 30.0\text{ kPa}:

  • hf=289.23 kJ/kgh_f = 289.23\text{ kJ/kg}
  • hfg=2336.1 kJ/kgh_{fg} = 2336.1\text{ kJ/kg}

Calculate:

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

Step-by-Step Solution

Step 1: Calculate exit enthalpy (h2h_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 (Δke\Delta ke)

Δke=V22−V122000=(180.0)2−(50.0)22000=32400−25002000=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 (woutw_{\text{out}}) For an adiabatic turbine (Q˙=0\dot{Q} = 0) with negligible potential energy change (Δpe=0\Delta pe = 0):

q−wout=(h2−h1)+Δkeq - w_{\text{out}} = (h_2 - h_1) + \Delta ke 0−wout=(2438.44−3230.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 (W˙out\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 h2=2438.44 kJ/kgh_2 = 2438.44\text{ kJ/kg}
  • Kinetic energy change Δke=+14.95 kJ/kg\Delta ke = +14.95\text{ kJ/kg}
  • Work per unit mass wout=777.51 kJ/kgw_{\text{out}} = 777.51\text{ kJ/kg}
  • Turbine Power Output W˙out=9.330 MW\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

-33.33 kJ (Work done BY gas)

B

-25.00 kJ (Work done BY gas)

C

5.00 kJ (Work done ON gas)

D

16.67 kJ (Work done ON gas)

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

774.9 m/s

B

547.7 m/s

C

300.0 m/s

D

244.9 m/s

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

Temperature

B

Enthalpy

C

Entropy

D

Internal Energy

Sections you finish are checked off in the contents.