Module 8 · 13 min read · Free chapter
The first law for closed and open systems
The first law says energy is conserved: for a closed system, Q − W = ΔU. For steady flow devices the steady flow energy equation balances heat, shaft work, enthalpy, kinetic and potential energy. A throttle keeps enthalpy constant, a nozzle turns enthalpy into speed, and a turbine turns it into shaft work.
Start from zero: energy is never lost, only moved
Rub your palms together on a cold morning and they warm up. The work of your muscles became internal energy in your skin. Nothing was created and nothing was destroyed; energy only changed form and place.
That everyday fact is the first law of thermodynamics: energy is conserved. It is the energy version of a bank statement. Opening balance, plus money in, minus money out, equals the closing balance.
The law did not seem obvious in 1840. Many people still thought heat was a fluid called "caloric" that could not be made from work. James Joule's careful experiments in the 1840s showed that a fixed amount of work always produced the same heating, which ended the caloric idea and made heat and work two forms of one quantity.
This chapter states the law for a closed system, defines internal energy and enthalpy, and applies the law to common processes. It then extends the law to open systems, giving the steady-flow energy equation, which is the main tool for turbines, compressors, nozzles, boilers and valves.
Why it matters. Every power plant heat balance, every compressor rating and every nozzle design starts from the first law. Exams test it heavily: GATE ME asks numericals on SFEE almost every year, and JE papers ask which device has zero work or constant enthalpy.
The first law for a closed system
For a cycle. Joule turned a paddle wheel inside an insulated container of water using a falling weight. The water warmed up. He then let the container cool back to its starting temperature, so the system completed a cycle. Over many repeats, the work put in was always proportional to the heat given out, and in consistent units the two were equal:
∮δQ = ∮δW
For a process. Now suppose the system goes from state 1 to state 2 by path A and returns by path B. Applying the cycle rule to A + B and to C + B (another path C from 1 to 2) shows that Q − W is the same along A and along C. A quantity whose change does not depend on the path is a property. That property is the energy of the system, E:
E includes internal energy U, kinetic energy and potential energy. For most closed systems at rest, kinetic and potential changes are negligible, so:
, or in differential form
What internal energy is. U is the energy stored in the molecules: their motion, their rotation and vibration, and the forces between them. We cannot measure its absolute value, but the first law lets us measure its change exactly, which is all engineering needs.
Two impossibilities. A machine that delivers work forever with no energy input is a perpetual motion machine of the first kind (PMM1). The first law forbids it. Also, an isolated system has and , so its energy stays constant, whatever happens inside.
Enthalpy: why a new property was needed
Heat water in an open pan. The pressure stays at atmospheric while the water expands slightly. The first law gives . The combination U + pV keeps appearing, so it was given its own name, enthalpy:
, and per unit mass
Since U, p and V are all properties, H is also a property. Its value in a constant-pressure process is easy to read: the heat added equals the rise in enthalpy, . Most heating in industry, in boilers, heat exchangers and kitchens, happens at nearly constant pressure, so enthalpy is the natural measure of heat added.
For an ideal gas both u and h depend only on temperature: and . This holds for any process, not only constant volume or constant pressure, because u and h are functions of T alone.
Steam tables list h, not u, for a reason. Engineers mostly deal with flowing fluids, and for flowing fluids enthalpy is the quantity that enters every energy balance, as the next sections show.
The first law in common gas processes
For an ideal gas in a closed system, the first law with gives a complete table:
| Process | Work W | Change ΔU | Heat Q |
|---|---|---|---|
| Constant volume | 0 | m cᵥ ΔT | m cᵥ ΔT |
| Constant pressure | m cᵥ ΔT | m cₚ ΔT | |
| Isothermal | mRT ln(V₂/V₁) | 0 | = W |
| Reversible adiabatic | (p₁V₁ − p₂V₂)/(γ − 1) | = −W | 0 |
| Polytropic pVⁿ = C | (p₁V₁ − p₂V₂)/(n − 1) | m cᵥ ΔT | W (γ − n)/(γ − 1) |
The polytropic heat formula. Adding W and ΔU for the polytropic case and simplifying gives Q = W (γ − n)/(γ − 1). Writing defines a polytropic specific heat, cₙ = cᵥ (n − γ)/(n − 1).
This has a surprising meaning. For an expansion with , which is common in real engines, cₙ is negative. The gas receives heat yet its temperature falls, because it does more work than the heat it receives. In a compressor with , heat is rejected even as the temperature rises.
Worked example. 1 kg of air (cᵥ = 0.718, R = 0.287 kJ/(kg·K), ) expands from 600 K following until its temperature is 450 K. Work kJ. kJ. So kJ, and the check Q = W (γ − n)/(γ − 1) = 143.5 × 0.1/0.4 = 35.9 kJ agrees.
Open systems and the steady-flow energy equation
In a turbine, steam enters, does work and leaves, hour after hour. Nothing inside changes with time, so this is steady flow. To apply the first law, we fix a control volume around the turbine and count energy carried in and out by the moving fluid.
Mass balance. In steady flow, the mass flow rate in equals the mass flow rate out:
ṁ = ρ₁A₁ A₂V₂
Flow work. To push a small parcel of fluid of volume v into the control volume against pressure p, the fluid behind it must do work pv per unit mass. This flow work is energy carried across the boundary with the fluid. The fluid entering therefore brings u + pv + V²/2 + gz per unit mass, and u + pv is the enthalpy h. This is the real reason enthalpy, not internal energy, appears for flowing fluids.
The steady-flow energy equation (SFEE), per unit mass of fluid:
Multiplying by ṁ gives the rate form: Q̇ − Ẇ = ṁ[(h₂ − h₁) + (V₂² − V₁²)/2 + g(z₂ − z₁)].
Units matter. Enthalpy is in kJ/kg, but V²/2 in m²/s² equals J/kg, so divide by 1000. A velocity of 100 m/s carries only 5 kJ/kg of kinetic energy. That is why kinetic energy is small in turbines and boilers but dominant in nozzles and jets.
SFEE at work: nozzles, turbines, compressors, boilers and valves
The power of the SFEE is that each device lets us cross out most terms. Learn which terms vanish and the numericals become two-line answers.
| Device | Assumptions | SFEE reduces to |
|---|---|---|
| Nozzle | q = 0, w = 0, Δz = 0 | |
| Diffuser | q = 0, w = 0 | |
| Turbine | adiabatic, small ΔKE, ΔPE | |
| Compressor or pump | adiabatic | |
| Boiler, condenser, heat exchanger | w = 0, small ΔKE | |
| Throttling valve | q = 0, w = 0, small ΔKE |
Nozzle example. Steam enters a nozzle at low speed with kJ/kg and leaves at kJ/kg. Then m/s. A drop of only 200 kJ/kg makes a jet faster than a bullet, which is how steam turbines get their high blade speeds.
Turbine example. Steam flows at 5 kg/s through a turbine from kJ/kg to kJ/kg, losing 20 kJ/s of heat. Power = ṁ(h₁ − h₂) − heat loss = 5 × 700 − 20 = 3,480 kW, or about 3.5 MW.
Throttling. When a fluid passes through a partly closed valve or a porous plug, its pressure drops with no work and almost no heat transfer, so enthalpy stays the same. For an ideal gas, constant h means constant temperature. For real fluids the temperature usually falls, which is how the expansion valve of a refrigerator makes the refrigerant cold. The rate of this change, at constant h, is the Joule-Thomson coefficient.
Unsteady flow and flow work in reversible processes
Filling a tank. A rigid, empty, insulated tank is connected to a supply line carrying air at temperature T_line. The valve opens and air rushes in until the pressures are equal. No work is done and no heat crosses, but mass enters carrying enthalpy h_line. The energy balance for this unsteady process is , and since :
, so and
Air from a line at 300 K ends up at about 420 K in the tank. The extra heat comes from the flow work done by the line pushing the air in. This explains why a cylinder warms up during fast filling at a gas station.
Emptying a tank is the reverse: the gas left behind expands and cools, which is why a spray can gets cold.
Shaft work in reversible steady flow. For a reversible steady-flow process with negligible kinetic and potential changes, the work per unit mass is:
w = −∫ v dp
On a p–v chart, this is the area to the left of the curve, not the area under it. Compare it with closed-system work ∫p dv.
For a liquid, v is nearly constant, so pump work is simply . Pumping 1 kg of water from 0.1 bar to 100 bar needs only about 0.001 × 9,990 ≈ 10 kJ, while compressing the same mass of vapour over that range takes far more. This is why steam plants pump liquid water, not steam, back to the boiler.
Descriptive lens: how this topic is asked in written papers
Written papers test the first law in four ways:
- State and prove: the first law for a cycle and a process; that internal energy is a property; that enthalpy is the heat in a constant-pressure process.
- Derive: the SFEE from the first law and mass balance; for a polytropic process; for charging a tank.
- Compute: nozzle exit velocity, turbine and compressor power, heat in a boiler or condenser, and work and heat in gas processes.
- Explain: why throttling is isenthalpic but irreversible; why liquid is pumped instead of vapour; why PMM1 is impossible.
Practice questions (our own, not previous-year questions).
- Show from the first law for a cycle that the energy of a system is a property. Explain why heat and work are not properties although their difference is. (10 marks)
- Derive the steady-flow energy equation for a single-stream control volume and reduce it for a nozzle, a turbine and a throttling valve. (15 marks)
- Air enters a compressor at 1 bar, 300 K and 20 m/s and leaves at 6 bar, 500 K and 80 m/s, at 2 kg/s. Heat lost to the surroundings is 15 kW. Find the power needed. Take kJ/(kg·K). (12 marks)
Answer plan for question 3.
- SFEE rate form: Q̇ − Ẇ = ṁ[cₚ(T₂ − T₁) + (V₂² − V₁²)/2000].
- Enthalpy rise: 1.005 × 200 = 201 kJ/kg. Kinetic energy rise: kJ/kg.
- With Q̇ = −15 kW: −15 − Ẇ = 2 × (201 + 3) = 408, so Ẇ = −423 kW.
- State the result: the compressor needs about 423 kW of power input; the negative sign confirms work is done on the air.
Quick revision
- For a cycle ∮δQ = ∮δW, and for a process Q − W = ΔE (≈ ΔU for a closed system at rest).
- Internal energy is a property, and a PMM1 is impossible.
- Enthalpy is , so at constant pressure and at constant volume.
- For an ideal gas, and in any process.
- In a polytropic process , and cₙ is negative when .
- The SFEE is , and kinetic energy in kJ/kg is V²/2000.
- A nozzle gives , a turbine gives , and a boiler gives .
- Throttling keeps h constant, is irreversible, and leaves an ideal gas at the same temperature.
- Charging an empty tank gives , and reversible steady-flow work is −∫v dp.