Thermodynamics

Thermodynamics is the branch of physics that studies energy transformations and the laws governing them. It describes macroscopic systems using thermodynamic variables such as temperature, pressure, volume and internal energy.

Core ideas include internal energy, entropy, heat, work and thermodynamic potentials. They are linked by the fundamental laws that govern physical and chemical processes.

Thermodynamics is essential for heat engines, refrigeration, chemical processes and many natural and technological phenomena involving energy transfer and conversion.

Fundamental thermodynamic processes

Thermodynamics studies energy transformations and the laws governing them. Key concepts are temperature, pressure, volume, internal energy and entropy.

A thermodynamic system is described by state variables such as pressure (p), volume (V), temperature (T) and particle number (N). They are related by equations of state that describe each substance.

Processes may be reversible or irreversible, isothermal, isobaric, isochoric or adiabatic — each with specific equations reflecting energy conservation and entropy increase.

Thermodynamics simulation screenshot

Essential thermodynamics formulas:

1. First law of thermodynamics:

ΔU=Q−L

2. Ideal gas equation of state:

pV=nRT

3. Entropy (Boltzmann definition):

S=kBln⁡Ω

4. Second law of thermodynamics:

ΔS≥QT

5. Internal energy of an ideal gas:

U=f2nRT

6. Work in reversible processes:

L=∫V1V2pdV

7. Heat capacity at constant volume:

CV=(∂U∂T)V

8. Heat capacity at constant pressure:

CP=(∂H∂T)P

9. Enthalpy:

H=U+pV

10. Helmholtz free energy:

F=U−TS

11. Gibbs free energy:

G=H−TS

12. Isothermal compressibility:

κ=−1V(∂V∂p)T

13. Thermal expansion coefficient:

α=1V(∂V∂T)p

14. Carnot engine efficiency:

η=1−TCTH

where: U internal energy, Q heat, L work, p pressure, V volume, n moles, R gas constant, T temperature, S entropy, k_B Boltzmann constant, Ω number of microstates, f degrees of freedom, H enthalpy, F Helmholtz free energy, G Gibbs free energy, κ isothermal compressibility, α thermal expansion coefficient, η efficiency, T_C cold reservoir temperature, T_H hot reservoir temperature.

Heat engines

Heat engines convert thermal energy (heat) from a hot reservoir into useful mechanical work, rejecting part of the energy to a cold reservoir. Examples include internal combustion engines (Otto, Diesel), gas and steam turbines, and the idealised Carnot engine.

The heat-engine simulator lets you visualise thermodynamic cycles on p–V and T–s diagrams, compare efficiencies and understand each phase: compression, heating/combustion, expansion and exhaust.

Heat engine simulation screenshot

Key heat-engine formulas:

1. Thermal engine efficiency:

η=LutilQH=1−QCQH

2. Ideal (Carnot) efficiency:

ηCarnot=1−TCTH

3. Work in a thermodynamic cycle:

L=∮pdV

4. Heat exchanged in an isobaric process:

Qp=nCPΔT

where: η is efficiency, L_{util} useful mechanical work per cycle, Q_H heat absorbed from the hot reservoir, Q_C heat rejected to the cold reservoir, T_H and T_C absolute temperatures of the hot and cold reservoirs; the contour integral ∮pdV is the p–V cycle area (net work per cycle).

Internal combustion engines

Internal combustion engines convert the energy released when fuel burns into mechanical work through piston motion. The best-known types are four-stroke engines (Otto petrol and Diesel) and two-stroke engines.

The animated simulator shows the four phases — intake, compression, power/expansion and exhaust — on a 4-stroke engine, compares petrol, diesel and 2-stroke cycles, and links piston motion to the p–V diagram: the enclosed area is the mechanical work produced in one complete cycle.

Internal combustion engine simulator screenshot

Useful formulas for internal combustion engines:

1. Displacement volume of one cylinder:

V=π4d2s

2. Adiabatic compression (approximation):

pVγ=constant

3. Thermal efficiency of the engine:

η=LutilQardere

4. Mechanical work on the p–V diagram:

L=∮pdV

where: V is the displacement volume of one cylinder, d the bore (diameter), s the piston stroke, γ the adiabatic exponent (~1.4 for air), η thermal efficiency, L_{util} useful work per cycle, Q_{combustion} heat released during combustion; the contour integral ∮pdV is the cycle area on the p–V diagram.

Periodic table (useful quantities for problems)

The periodic table gives element symbols, atomic number Z and — especially — molar mass M for mole, particle and concentration calculations. These quantities appear often in gases, mixtures, calorimetry and the ideal gas law.

Periodic table simulation screenshot

Useful relations:

1. Atomic number Z equals number of protons:

Z=p

2. Mass number A:

A=Z+N

3. Number of neutrons N:

N=A−Z

4. Amount of substance (moles):

n=mM

5. Mass from amount of substance:

m=nM

6. Number of particles:

N=nNA

7. Avogadro constant:

NA≈6,022×1023mol−1

8. Molar concentration:

c=nV

where: Z proton count, A mass number, N neutron count, n amount of substance (moles), m mass, M molar mass, N_A Avogadro constant, c molar concentration, V volume.

Professor Whiz