Thermodynamics

Learning Objectives

  • Differentiate between temperature, heat, and internal energy.
  • Calculate thermal expansion and heat required for temperature changes and phase changes.
  • Explain the three mechanisms of heat transfer: conduction, convection, and radiation.
  • Understand and apply the laws of thermodynamics (Zeroth, First, Second, and Third).
  • Analyze thermodynamic processes and calculate the efficiency of heat engines.
  • Relate macroscopic gas properties to microscopic behavior using the Ideal Gas Law and Kinetic Theory.
Thermodynamics is the branch of physics that deals with heat, work, and temperature, and their relation to energy, radiation, and physical properties of matter. It is fundamental in designing engines, HVAC systems, and power plants.

Temperature and Heat

Temperature and Heat Concepts

In everyday language, "heat" and "temperature" are often used interchangeably. In physics, they have very precise and distinct meanings.

Temperature (TT)

A thermodynamic state variable that determines the direction of spontaneous heat transfer when systems are placed in thermal contact. In the ideal-gas kinetic model, temperature is directly related to average molecular kinetic energy; that microscopic interpretation should not be generalized to every material without qualification. The SI unit is the kelvin (K), while Celsius (∘^\circC) is also widely used in engineering.

Kelvin–Celsius Conversion

Converts Celsius temperature to absolute temperature in kelvins.

TK=TC+273.15T_K = T_C + 273.15

Variables

SymbolDescriptionUnit
TKT_KAbsolute temperatureK
TCT_CCelsius temperature°C

Heat (QQ)

The transfer of energy between a system and its environment due solely to a temperature difference. Heat always flows spontaneously from an object at higher temperature to one at lower temperature. The SI unit is the Joule (J).

Heat vs. Internal Energy

A system has state properties such as temperature and internal energy. Heat is not a stored property; it is energy transferred across a system boundary because of a temperature difference.

Thermal State, Heating, Phase Change, and Expansion

The panels distinguish state variables from energy transfer, show sensible versus latent heating, and connect temperature change with thermal expansion.

Multi-panel diagram distinguishing temperature internal energy and heat transfer, a phase-change heating curve, and thermal expansion.

Thermal Expansion and Heat Capacity

Thermal Expansion and Heat Capacity Concepts

Most materials expand when heated and contract when cooled. For solids and liquids, this expansion is typically proportional to the temperature change.

Linear Thermal Expansion

Calculates the change in length of a solid due to a change in temperature.

ΔL=αL0ΔT\Delta L = \alpha L_0 \Delta T

Variables

SymbolDescriptionUnit
ΔL\Delta LChange in lengthm
α\alphaCoefficient of linear expansionK−1K^{-1}
L0L_0Initial lengthm
ΔT\Delta TChange in temperatureK

Volume Thermal Expansion

Calculates the change in volume of a substance due to a change in temperature.

ΔV=βV0ΔT\Delta V = \beta V_0 \Delta T

Variables

SymbolDescriptionUnit
ΔV\Delta VChange in volumem3m^3
β\betaCoefficient of volume expansionK−1K^{-1}
V0V_0Initial volumem3m^3
ΔT\Delta TChange in temperatureK

Specific Heat Capacity (cc)

Specific Heat Capacity (cc) Concepts

The amount of heat (QQ) required to change the temperature of a substance depends on its mass (mm) and a material property called specific heat capacity.

Specific Heat Equation

Calculates the heat required to change the temperature of a mass.

Q=mcΔTQ = mc\Delta T

Variables

SymbolDescriptionUnit
QQHeat added or removedJ
mmMasskg
ccSpecific heat capacityJ/(kg⋅K)J/(kg \cdot K)
ΔT\Delta TChange in temperatureK

Specific Heat Capacity

Water has a very high specific heat (4186 J/kg⋅K4186 \text{ J/kg}\cdot\text{K}), meaning it takes a lot of energy to change its temperature.

Latent Heat (LL)

Latent Heat (LL) Concepts

When a substance undergoes a phase change (like melting or boiling), heat is added or removed without any change in temperature. The energy goes into breaking or forming intermolecular bonds.

Latent Heat

Calculates the heat required to change the phase of a substance without changing its temperature.

Q=mLQ = mL

Variables

SymbolDescriptionUnit
QQHeat added or removedJ
mmMass of the substancekg
LLLatent heat of fusion or vaporizationJ/kg

Mechanisms of Heat Transfer

Mechanisms of Heat Transfer Concepts

There are three fundamental mechanisms by which heat is transferred:

  • Conduction: Heat transfer through stationary matter by physical contact (e.g., a metal spoon getting hot in soup).
  • Convection: Heat transfer by the macroscopic movement of a fluid (e.g., hot air rising, water circulating in a pot). Natural convection is driven by buoyant forces, while forced convection uses pumps or fans.
  • Radiation: Heat transfer by electromagnetic waves (e.g., feeling the heat from the sun or a fire). Does not require a medium.

Fourier's Law of Heat Conduction

Calculates the rate of heat transfer through a material via conduction.

P=Qt=kAΔTLP = \frac{Q}{t} = kA \frac{\Delta T}{L}

Variables

SymbolDescriptionUnit
PPRate of heat transfer (Power)W
kkThermal conductivity of the materialW/(m⋅K)W/(m\cdot K)
AACross-sectional aream2m^2
ΔT\Delta TTemperature difference across the materialK or ∘CK \text{ or } ^\circ\text{C}
LLThickness of the materialm

Stefan-Boltzmann Law of Radiation

Calculates the thermal-radiation power emitted by a diffuse gray surface.

P=σeAT4P = \sigma e A T^4

Variables

SymbolDescriptionUnit
PPRadiated powerW
σ\sigmaStefan-Boltzmann constant5.67×10−8 W/(m2⋅K4)5.67 \times 10^{-8} \text{ W}/(\text{m}^2\cdot\text{K}^4)
eeEmissivity of the objectdimensionless(0 to 1)dimensionless (0 \text{ to } 1)
AASurface aream2m^2
TTAbsolute temperatureK

Net Radiation Exchange

The expression above is emitted power. For a small gray surface exchanging radiation with large surroundings at temperature TsurT_{sur}, a common net model is Pnet=ϵσA(T4−Tsur4)P_{net}=\epsilon\sigma A(T^4-T_{sur}^4). Geometry and view factors are required for more general radiative exchange.

Civil Engineering Applications of Heat Transfer

Conduction, Convection, and Radiation

The three panels distinguish transfer through matter, bulk fluid motion, and electromagnetic radiation; real systems can involve all three at once.

Conduction through a wall, convection circulation in a fluid, and thermal radiation from a surface with directional energy-transfer arrows.

The Laws of Thermodynamics

The Laws of Thermodynamics Concepts

These four empirical laws govern all macroscopic interactions involving energy and temperature.

The Zeroth Law: Thermal Equilibrium

The Zeroth Law: Thermal Equilibrium Concepts

If system A is in thermal equilibrium with system C, and system B is also in thermal equilibrium with system C, then system A and system B must be in thermal equilibrium with each other.

This law defines temperature: two systems in thermal equilibrium have the same temperature.

The First Law: Conservation of Energy

The First Law: Conservation of Energy Concepts

The First Law is the principle of conservation of energy applied to thermal systems. It states that the change in a system's internal energy (ΔU\Delta U) is equal to the net heat added to the system (QQ) minus the net work done by the system on its surroundings (WW).

The First Law of Thermodynamics

Conservation of energy applied to thermal systems.

ΔU=Q−W\Delta U = Q - W

Variables

SymbolDescriptionUnit
ΔU\Delta UChange in internal energy of the systemJ
QQNet heat added to the systemJ
WWNet work done by the systemJ

Sign Conventions for the First Law

Sign conventions are critical here:

  • +Q+Q: Heat is added to the system.
  • −Q-Q: Heat is removed from the system.
  • +W+W: Work is done by the system (it expands).
  • −W-W: Work is done on the system (it is compressed).

Work Done by a Gas

Calculates the work done by a gas expanding or compressing against a pressure.

W=∫ViVfP dVW = \int_{V_i}^{V_f} P \, dV

Variables

SymbolDescriptionUnit
WWWork done by the gasJ
PPPressure of the gasPa
Vi,VfV_i, V_fInitial and final volumesm3m^3

Work Done on a P-V Diagram

For a quasistatic process, the boundary work done by the gas is the signed area under the process path on a pressure–volume diagram: expansion gives positive work with the sign convention used here, while compression gives negative work.

First Law, P–V Work, and Process Comparison

Heat into the system is positive, work by the system is positive, P–V area is boundary work, and the idealized process paths show their distinct constraints.

Multi-panel first-law sign convention, shaded pressure-volume work area, and isochoric isobaric isothermal and reversible adiabatic process paths.

Thermodynamic Processes

Thermodynamic Processes Concepts

When a gas changes state (pressure, volume, temperature), it follows a specific process. The First Law applies to all of them, but simplifies uniquely for each:

  • Isothermal Process (Constant Temperature): ΔT=0\Delta T = 0, so ΔU=0\Delta U = 0 (for an ideal gas). Therefore, Q=WQ = W. Heat added is entirely converted to work done by the gas.
  • Isobaric Process (Constant Pressure): W=PΔVW = P \Delta V. Heat added changes both internal energy and does work.
  • Isochoric (Isovolumetric) Process (Constant Volume): ΔV=0\Delta V = 0, so W=0W = 0. Therefore, ΔU=Q\Delta U = Q. All heat added goes into increasing the internal energy.
  • Adiabatic Process (No Heat Transfer): Q=0Q = 0. Therefore, ΔU=−W\Delta U = -W. If the gas expands and does work, its internal energy (and thus temperature) must decrease.

Interactive Simulation

Select Carnot, Otto, or Brayton. Every state label, P–V coordinate, heat/work value, animation point, and efficiency comes from one canonical ideal-gas state model for the selected cycle.

Canonical Thermodynamic Cycle Model

Concept and model scope

One canonical state model drives calculations, P–V coordinates, animation, labels, heat/work values, and efficiency for Carnot, Otto, and Brayton cycles.

Model scope: One mole of ideal gas with constant γ. Carnot ratio is V2/V1 on the hot isotherm; Otto uses V1/V2; Brayton uses P2/P1.

Hot-isotherm volume ratio V2/V1

Hot-isotherm volume ratio V2/V1

Hot-isotherm volume ratio V2/V1 is an adjustable engineering parameter. The displayed result and geometry should update directly from this value.

Range: 1.5–6.0. Step: 0.5.

4.0
Hot temperature TH

Hot temperature TH

Hot temperature TH is an adjustable engineering parameter. The displayed result and geometry should update directly from this value.

Range: 800–2200 K. Step: 25 K.

1200 K
Cold temperature TC

Cold temperature TC

Cold temperature TC is an adjustable engineering parameter. The displayed result and geometry should update directly from this value.

Range: 220–400 K. Step: 10 K.

300 K
Heat-capacity ratio γ

Heat-capacity ratio γ

Heat-capacity ratio γ is an adjustable engineering parameter. The displayed result and geometry should update directly from this value.

Range: 1.20–1.60. Step: 0.02.

1.40
η=1−TC/TH\eta=1-T_C/T_H
1→2 isothermal expansion
Q=13,831.6 J; W=13,831.6 J
Heat input
13,831.6 J
Heat rejected
3,457.9 J
Net work
10,373.7 J
Efficiency
75.0 %
Active P
997.7 kPa
Active V
10.00 L
Active T
1,200.0 K

The Second Law: Entropy and Direction

The Second Law: Entropy and Direction Concepts

The First Law says energy is conserved, but it doesn't restrict the direction of energy transfer. The Second Law dictates that direction. There are several equivalent statements of the Second Law:

  • Clausius Statement: Heat can never pass spontaneously from a colder body to a warmer body.
  • Kelvin-Planck Statement: It is impossible to construct a heat engine that, operating in a cycle, extracts heat from a single reservoir and converts it entirely into work. Some heat must be expelled to a colder sink. (No engine is 100% efficient).
  • Entropy Statement: The total entropy (SS) of an isolated system can never decrease over time. ΔStotal≥0\Delta S_{total} \ge 0.

Entropy (SS)

A thermodynamic state function related statistically to the number of microscopic configurations compatible with a macroscopic state. For a reversible transfer, dS=δQrev/TdS=\delta Q_{rev}/T; for an isolated system, the Second Law requires total entropy not to decrease.

Heat Engines and Efficiency

Heat Engines and Efficiency Concepts

A heat engine is a device that extracts heat (QHQ_H) from a hot reservoir, uses some of it to do useful work (WW), and exhausts the remaining waste heat (QCQ_C) to a cold reservoir.

By the First Law, W=QH−∣QC∣W = Q_H - |Q_C|.

The thermal efficiency (ee) is the ratio of what you get to what you pay for:

Thermal Efficiency of a Heat Engine

Calculates the efficiency of a heat engine based on work output and heat input.

e=WQH=1−∣QC∣QHe = \frac{W}{Q_H} = 1 - \frac{|Q_C|}{Q_H}

Variables

SymbolDescriptionUnit
eeThermal efficiencydimensionless
WWUseful work done by the engineJ
QHQ_HHeat extracted from the hot reservoirJ
QCQ_CHeat exhausted to the cold reservoirJ

Heat Engines and Efficiency Concepts

The Carnot Engine is an idealized, reversible engine that sets the maximum possible theoretical efficiency between two temperatures:

Carnot Efficiency

Sets the maximum theoretical efficiency for any heat engine operating between two temperatures.

eCarnot=1−TCTHe_{Carnot} = 1 - \frac{T_C}{T_H}

Variables

SymbolDescriptionUnit
eCarnote_{Carnot}Maximum theoretical efficiencydimensionless
TCT_CAbsolute temperature of the cold reservoirK
THT_HAbsolute temperature of the hot reservoirK
Heat Engines, Entropy, and the Ideal-Gas Model

The panels show required heat rejection, the nonnegative isolated-system entropy balance, and the distinction between the ideal-gas equation of state and a schematic particle interpretation.

Multi-panel heat engine between hot and cold reservoirs, isolated-system entropy balance, and piston-cylinder linking PVnRT state variables to illustrative molecular motion.

The Third Law: Absolute Zero

The Third Law: Absolute Zero Concepts

For a perfect crystal with a unique ground state, entropy approaches zero as temperature approaches absolute zero. A related unattainability statement is that absolute zero cannot be reached by a finite sequence of thermodynamic operations.

The Ideal Gas Law and Kinetic Theory

Macroscopic vs. Microscopic

The Ideal Gas Law (PV=nRTPV = nRT) relates the macroscopic properties of a gas: pressure, volume, temperature, and amount of substance.

The Kinetic Theory of Gases provides the microscopic explanation for these macroscopic properties. It models a gas as a large number of tiny, rapidly moving particles in random, continuous motion, colliding elastically with each other and the container walls. The pressure exerted by a gas is the macroscopic result of billions of microscopic particle collisions against the container.

The Ideal Gas Law

The equation of state for a hypothetical ideal gas.

PV=nRT=NkBTPV = nRT = N k_B T

Variables

SymbolDescriptionUnit
PPAbsolute pressurePa
VVVolumem3m^3
nnNumber of molesmol
RRUniversal gas constant8.314J/(mol⋅K)8.314 J/(mol \cdot K)
TTAbsolute temperatureK
NNNumber of moleculesdimensionless count
kBk_BBoltzmann constantJ/K

Interactive Simulation

Change amount, absolute temperature, volume, and gas species. Pressure follows PV=nRTPV=nRT exactly. Particle motion is a deterministic illustration whose speed scale follows the ideal-gas rms trend; it is not a molecular-dynamics solver.

Ideal-Gas State and Kinetic Illustration

Concept and model scope

Pressure is calculated exactly from PV=nRT. Particle motion is deterministic and follows the ideal-gas rms-speed trend √(T/M), but it is not molecular dynamics.

Model scope: Ideal gas equation of state; schematic particles do not generate the pressure by collision counting.

Amount n

Amount n

Amount n is an adjustable engineering parameter. The displayed result and geometry should update directly from this value.

Range: 0.2–4.0 mol. Step: 0.1 mol.

1.0 mol
Absolute temperature T

Absolute temperature T

Absolute temperature T is an adjustable engineering parameter. The displayed result and geometry should update directly from this value.

Range: 200–700 K. Step: 10 K.

300 K
Volume V

Volume V

Volume V is an adjustable engineering parameter. The displayed result and geometry should update directly from this value.

Range: 0.005–0.200 m³. Step: 0.005 m³.

0.025 m³
PV=nRT,vrms=3RT/MPV=nRT,\qquad v_{\mathrm{rms}}=\sqrt{3RT/M}
Ideal-gas piston with illustrative particle motionIllustrative particles; pressure is from PV=nRT.
Pressure
99.77 kPa
Density
1.121 kg/m³
v rms
517 m/s
Gas
Nitrogen
Key Takeaways
  • Temperature (TT) is a thermodynamic state variable; in the ideal-gas kinetic model it is related to average molecular kinetic energy. Heat (QQ) is energy transferred because of a temperature difference.
  • Heat transfer mechanisms are Conduction (contact), Convection (fluid motion), and Radiation (electromagnetic waves).
  • Specific heat (cc) relates QQ to ΔT\Delta T; Latent heat (LL) relates QQ to phase changes without ΔT\Delta T.
  • Zeroth Law: Defines temperature via thermal equilibrium.
  • First Law: Conservation of energy (ΔU=Q−W\Delta U = Q - W).
  • Second Law: Dictates the direction of processes (heat flows hot to cold) and introduces Entropy; the total entropy of an isolated system cannot decrease. A cyclic heat engine cannot convert all absorbed heat into work.