Thermodynamics

Thermodynamics is the science of energy and its transformations: how heat moves, how work is done, and which changes are possible and which are not.

12 frameworks, from 1750 to today · Mechanical Engineering · Engineering

still a working view ended · each leads to its entry below

Overview

Thermodynamics is the science of energy and its transformations: how heat moves, how work is done, and which changes are possible and which are not1. It matters because it sets the rules for every engine, power plant, refrigerator, and chemical process humans build. Its two central laws say that energy is conserved and that some of it always becomes unavailable for useful work—a constraint no clever design can escape12. This article follows how that science was made, from practical steam engines to the modern computational tools engineers use today.

Heat as a Substance: Caloric Theory

Before thermodynamics was a science, engineers had a working theory of heat. In the late 1700s, most natural philosophers treated heat as a weightless, self-repelling fluid called caloric. Objects were thought to contain a certain amount of it; hot bodies held more, and heat flowed from hot to cold like water downhill3. Caloric could be squeezed out of materials by friction or compression, which explained why rubbing or hammering things warmed them.

The theory was useful. It explained thermal expansion, why mixing hot and cold water gives an intermediate temperature, and why heat seemed to be conserved in simple processes. It also supported the early quantitative study of heat: Joseph Black in Scotland distinguished latent heat (the heat absorbed in melting or boiling without changing temperature) from sensible heat (heat that raises temperature), and his work underpinned the design of steam engines and calorimeters.

But caloric had a fatal problem. If heat is a conserved fluid, friction should not be able to produce unlimited heat. Count Rumford's boring experiments in the 1790s, where drilling cannon barrels generated heat seemingly without limit, pointed toward heat as motion rather than substance4. The decisive blow came from the mechanical equivalent of heat.

The First Law and the Mechanical Equivalent of Heat

The first law of thermodynamics states that energy is conserved: heat added to a system and work done on it both increase its internal energy, and energy cannot be created or destroyed15. The key step was showing that heat and mechanical work are interchangeable forms of the same thing.

In the 1840s, James Prescott Joule, a British brewer and amateur scientist, ran a series of careful experiments. In his best-known, a falling weight turned a paddle inside an insulated barrel of water, and he measured the tiny temperature rise. By comparing the work done with the heat produced, he estimated the mechanical equivalent of heat—the number of units of work needed to raise a given mass of water by one degree4. His value was close to the modern one, and his persistence convinced skeptics that heat is energy in transit, not a substance.

Independently, in 1842, Julius Robert von Mayer had reasoned from the relation between heat and work in gases to a similar equivalence, though his work was initially ignored. By mid-century, the first law was established: in any process, energy is conserved. This immediately reframed the steam engine: it does not create energy but converts heat into work, and the question became how efficiently that conversion could be done.

The Carnot Cycle and the Second Law

The second law answers a question the first law cannot: why can't we convert all the heat from a fire into work? In 1824, Sadi Carnot, a French engineer, published a short book asking how efficient a heat engine could possibly be1627. He imagined an ideal engine operating in a cycle between a hot reservoir and a cold reservoir, with the working substance undergoing reversible processes—no friction, no heat loss6. He showed that the maximum efficiency depends only on the temperatures of the two reservoirs, not on the working fluid7. This Carnot efficiency is the ceiling no real engine can beat.

Carnot worked within caloric theory, but his result survived its collapse2. In the 1850s, Rudolf Clausius and William Thomson (later Lord Kelvin) reformulated the second law in terms of energy. Clausius introduced entropy, a measure of how energy spreads out and becomes unavailable for work; in any real (irreversible) process, the total entropy of an isolated system increases. Kelvin expressed the same idea as the impossibility of a cyclic engine that extracts heat from a single reservoir and converts it entirely to work2. Together these statements define the direction of time for energy processes: heat flows spontaneously from hot to cold, and useful work always leaves some energy degraded.

The second law made thermodynamics a predictive science. It told engineers the best possible performance of a power plant or refrigerator before any design was drawn, and it explained why perpetual motion machines of the second kind—devices that would convert ambient heat entirely to work—are impossible.

Statistical Mechanics: Explaining the Laws from Atoms

Classical thermodynamics treated its laws as empirical axioms. In the late 1800s, a different approach asked why those laws hold at all. Statistical mechanics derives thermodynamic behavior from the mechanics of enormous numbers of atoms and molecules18.

James Clerk Maxwell and Ludwig Boltzmann were the central figures18. Maxwell showed that gas molecules have a spread of speeds—the Maxwell distribution—and Boltzmann generalized this to the Boltzmann distribution, which gives the probability that a system occupies a state with a given energy. Entropy, in Boltzmann's interpretation, is a measure of the number of microscopic arrangements consistent with a given macroscopic state: $S = k$ log W, where k is Boltzmann's constant and W the number of microstates910. The second law then becomes statistical: entropy increases because there are vastly more disordered arrangements than ordered ones, so a system evolves toward the most probable state.

This was controversial. Boltzmann's atomic picture was resisted by some contemporaries who doubted atoms were real, and the debate contributed to his personal difficulties. But statistical mechanics eventually gave thermodynamics a microscopic foundation and became indispensable for understanding gases, solids, and chemical equilibrium.

Potentials and Chemical Thermodynamics

As thermodynamics matured, its practitioners developed a set of thermodynamic potentials—functions whose change tells you what a system will do under particular constraints. Internal energy, enthalpy (useful for processes at constant pressure, like most chemical reactions and flow devices), Helmholtz free energy, and Gibbs free energy each measure the energy available to do work under different conditions. The Gibbs free energy in particular became the central tool of chemistry: a reaction proceeds spontaneously when its Gibbs free energy decreases.

Josiah Willard Gibbs, an American mathematical physicist, published his monumental work on heterogeneous equilibrium in the 1870s, laying out the phase rule and the thermodynamics of mixtures. His work was initially more appreciated in Europe than at home, but it became foundational. In the early 1900s, Gilbert N. Lewis and others built chemical thermodynamics into a practical discipline, with concepts like activity and fugacity and systematic tables of formation energies. This made it possible to predict whether a reaction would occur, how much heat it would release, and how equilibria shift with temperature and pressure—essential for the chemical industry.

Engineering Cycle Analysis

For mechanical engineers, thermodynamics became a design tool through cycle analysis: breaking an engine into a sequence of processes (compression, heating, expansion, rejection) and computing work and efficiency for each. The Carnot cycle is the ideal; real engines are compared against it and against other ideal cycles.

The Rankine cycle models steam power plants, with boiler, turbine, condenser, and pump. The Brayton cycle models gas turbines. The Otto cycle and Diesel cycle model reciprocating internal-combustion engines1112. Each idealization assumes reversible processes and lets engineers calculate the best possible performance, then account for irreversibilities—friction, finite temperature differences, heat loss—to predict real behavior. This framework, developed through the late 1800s and 1900s, remains the backbone of power and propulsion engineering. It also drove the development of steam tables and later property software, so that engineers could look up enthalpy and entropy for water and other working fluids at any state.

Exergy and Second-Law Analysis

In the twentieth century, engineers pushed the second law beyond simple efficiency ratios. Exergy (also called availability) measures the maximum useful work that can be extracted from a system as it comes into equilibrium with its environment13. Unlike energy, exergy is not conserved: every real process destroys some of it. Second-law analysis or exergy analysis locates where that destruction happens in a plant, guiding improvements that first-law accounting alone would miss.

The concept has roots in the work of Gibbs and others, but it was developed into an engineering method in the mid-twentieth century, notably by Zoran Rant, who coined the term exergy in the 1950s, and by researchers in Europe and North America. Today exergy analysis is standard in the design of power plants, refrigeration systems, and chemical processes, and it underpins the broader field of energy systems engineering.

Equations of State and Computational Thermodynamics

To calculate anything, engineers need equations of state: mathematical relations between pressure, volume, and temperature for a substance. The ideal gas law is the simplest; real fluids require more elaborate models. Johannes Diderik van der Waals proposed in 1873 an equation that accounted for molecular size and attraction, and it predicted the existence of a critical point where liquid and gas become indistinguishable. Later cubic equations of state, such as the Redlich–Kwong and Peng–Robinson equations, became workhorses for process design.

In the late twentieth century, computational thermodynamics transformed the field. CALPHAD (Calculation of Phase Diagrams) methods, developed from the 1970s onward, combine thermodynamic models with experimental data to compute phase equilibria in multicomponent alloys and materials. Software packages now let engineers predict which phases form, at what temperatures, and with what compositions—essential for designing steels, superalloys, and ceramics. Molecular simulation, from Monte Carlo methods to molecular dynamics, provides another route, computing thermodynamic properties from atomic interactions.

Stochastic and Finite-Time Thermodynamics

Classical thermodynamics describes systems at or near equilibrium and cycles run infinitely slowly. Two modern developments relax those assumptions. Finite-time thermodynamics, developed from the 1970s, asks how much power a real engine can produce when it must run in finite time, with finite heat-transfer rates. It shows that maximum power and maximum efficiency are different goals, and it gives realistic bounds for real machines.

Stochastic thermodynamics extends thermodynamics to small systems—single molecules, nanoscale devices—where fluctuations are large and the smooth averages of classical theory break down. Work by researchers from the 1990s onward produced fluctuation theorems and the Jarzynski equality, relating the work done in irreversible processes to free-energy differences. These ideas are now central to biophysics and nanotechnology, where molecular motors and nanoscale heat engines are studied.

Thermodynamics Today

Modern thermodynamics in mechanical engineering is a blend of these strands. Cycle analysis and exergy methods remain core design tools, now embedded in sophisticated simulation software. Computational thermodynamics and equations of state allow accurate property prediction for complex fluids and materials. Statistical mechanics and molecular simulation connect engineering models to atomic-scale reality. Finite-time and stochastic thermodynamics push the boundaries toward real, small, and fast systems.

Open questions remain: how to design systems that are efficient not just in steady operation but under transient and fluctuating conditions; how to model complex materials where phase behavior is poorly understood; and how to apply thermodynamic reasoning to systems far from equilibrium, from turbulent combustion to living cells. The field that began with questions about steam engines now reaches from power plants to nanotechnology, still governed by the same two laws.

References

  1. Thermodynamics (introduction, Introduction, First law, Second law, History, Statistical mechanics), Wikipedia
  2. Second law of thermodynamics (introduction, History), Wikipedia
  3. Caloric theory, Wikipedia
  4. Mechanical equivalent of heat (History and priority dispute), Wikipedia
  5. First law of thermodynamics, Wikipedia
  6. Carnot cycle, Wikipedia
  7. Carnot heat engine (introduction, History and context), Wikipedia
  8. Statistical mechanics (introduction, History), Wikipedia
  9. Entropy, Wikipedia
  10. Third law of thermodynamics (History), Wikipedia
  11. Otto cycle, Wikipedia
  12. Diesel cycle, Wikipedia
  13. Exergy, Wikipedia

The frameworks of Thermodynamics

Each framework is a way of working the field has used: when it held, and the question it answers.

  1. 1750-1850

    Caloric Theory

    What is heat and how does it flow?

    Fly to its tower in Nousfarer

  2. 1824-Present
  3. 1840-1900
  4. 1850-Present

    Classical Thermodynamics

    What laws govern energy and its transformations?

    Fly to its tower in Nousfarer

  5. 1870-Present

    Engineering Cycle Analysis

    How do real engines perform against the ideal?

    Fly to its tower in Nousfarer

  6. 1870-Present

    Statistical Mechanics

    Why do thermodynamic laws hold at all?

    Fly to its tower in Nousfarer

  7. 1873-Present

    Equation of state

    How do pressure, volume and temperature relate?

    Fly to its tower in Nousfarer

  8. 1875-Present

    Chemical Thermodynamics

    Which chemical reactions occur and how far?

    Fly to its tower in Nousfarer

  9. 1950-Present

    Exergy

    Where is useful work lost in a process?

    Fly to its tower in Nousfarer

  10. 1970-Present

    Computational Thermodynamics

    How can we compute thermodynamic properties reliably?

    Fly to its tower in Nousfarer

  11. 1975-Present

    Finite-Time Thermodynamics

    What is the best power from a real engine?

    Fly to its tower in Nousfarer

  12. 1990-Present

    Stochastic Thermodynamics

    How does thermodynamics work for tiny systems?

    Fly to its tower in Nousfarer

How the ideas connect

Each arrow runs from an earlier idea to the later one it shaped. The list below says what passed between them.

Caloric TheoryCarnot Cycle and Second LawMechanical Theory of HeatClassical ThermodynamicsEngineering Cycle AnalysisStatistical MechanicsEquation of stateChemical ThermodynamicsExergyComputational ThermodynamicsFinite-Time ThermodynamicsStochastic Thermodynamics

Beyond the field

Where Thermodynamics's ideas came from in other fields, and what they led to there: the strongest 12 of 127 links.

A city in Nousfarer: a red-carpeted stair climbing terraces to a crowned tower on an acropolis, more towers round it, forest and snowy mountains beyond.
A city in Nousfarer, the game played in the browser.

Thermodynamics is a planet in Nousfarer

Its city has a tower for each of these 12 frameworks. Land, walk in, and climb one concept at a time.

Land on Thermodynamics

Related fields

Fields its ideas are linked to

More in Mechanical Engineering

See where Thermodynamics sits on the Map of Human Knowledge