Skip to thermodynamics guides

Thermodynamics

Thermodynamics studies how energy is stored and how it moves as heat and work. It explains how an engine turns some of its heat input into shaft work, and why a refrigerator needs power to move heat from cold to hot.

Where does an engine’s heat go?
Energy flow through a heat engine Per cycle, 100 kilojoules of heat enter. The engine delivers 35 kilojoules of net work and rejects 65 kilojoules of heat. Heat in100 kJEngine35 kJ work out65 kJ heat out

One complete cycle between reservoirs at 600 K and 300 K.

35% thermal efficiency · 50% reversible limit

Understand the four laws →

Start with temperature and energy conservation, then learn what limits an engine’s efficiency.

Set up an energy balance →

Decide what crosses the boundary before choosing a closed-system or steady-flow equation.

Compare engineering cycles →

Trace heat and work through a power plant, a refrigerator, or a heat pump.

Thermodynamics topic directory

Laws and properties

Systems and boundaries

  • Open Systems

    Draw a boundary that admits mass, as in a compressor or turbine.

  • Closed Systems

    Follow a fixed amount of matter through heating, cooling, or expansion.

  • Isolated Systems

    Identify a boundary across which neither mass nor energy passes.

  • Control Volumes

    Choose inlets, outlets, and surfaces for mass and energy balances.

  • Steady Flow Process

    Balance mass and energy when conditions at each location stay constant with time.

  • Unsteady Flow Process

    Include accumulation when filling, emptying, or heating a tank over time.

  • Thermodynamic Equilibrium

    Identify the conditions that let one pressure and temperature describe a uniform system.

Gas laws and processes

  • Gas Laws

    Relate pressure, volume, and temperature when one property is held fixed.

  • Ideal Gas Law

    Use absolute pressure and temperature to relate a gas state to its amount of substance.

  • Isothermal Process

    Follow a constant-temperature path and determine the heat exchanged during expansion.

  • Adiabatic Process

    Analyze a compression or expansion with zero heat transfer.

  • Reversible and Irreversible Processes

    Distinguish an ideal limiting path from a real process that generates entropy.

  • Cyclic Process

    Use the return to the initial state to simplify a full-cycle energy balance.

Cycles and equipment

  • Thermodynamic Cycles

    Compare the sequences of processes used to produce work or move heat.

  • Heat Engines

    Calculate the fraction of absorbed heat converted to net work.

  • Carnot Cycle

    Find the reversible efficiency limit between two reservoir temperatures.

  • Refrigeration Cycles

    Relate cooling duty to the work needed to lift heat to a warmer sink.

  • Vapor Compression Cycle

    Follow refrigerant through the evaporator, compressor, condenser, and expansion valve.

  • Heat Transfer

    Identify conduction, convection, and radiation and what controls their rates.

  • Heat Exchangers

    Balance energy between hot and cold streams separated by a wall.

The four laws of thermodynamics

The first law tells you how much energy to account for. The second law tells you whether the proposed transfer is possible. The zeroth and third laws establish reference points for temperature and entropy.

Zeroth law
If two systems are each in thermal equilibrium with a third, they are in thermal equilibrium with each other. That is why the same thermometer can be used to compare two temperatures.
First law
Energy is conserved. For a closed system, heat added minus work done by the system equals the change in its total energy. If speed and elevation stay fixed, that change is in internal energy.
Second law
Entropy generation is zero for a reversible process and positive for a real, irreversible one. A cyclic engine operating between two reservoirs must reject some heat to the colder reservoir.
Third law
The entropy of a perfect crystal with a unique ground state approaches zero as its temperature approaches absolute zero. This gives absolute entropy values a reference.

For the engine above, the highest possible efficiency is 1 − 300/600 = 50%. At 100 kJ of heat input, even a reversible engine must reject 50 kJ. A real engine rejecting 65 kJ delivers 35 kJ of work. Explore the Carnot limit.

Choose the system before the equation

Draw a boundary around the matter or device you want to analyze. A sealed cylinder, a running turbine, and an ideal isolated enclosure each need a different balance.

What can cross the boundary?
SystemMassEnergyExample
OpenYesHeat, work, and energy carried by massSteam flowing through a turbine
ClosedNoHeat and workGas inside a sealed piston–cylinder
IsolatedNoNo exchangeIdeal sealed, rigid, insulated tank with no work inputs

System or process? “Closed” describes the boundary. “Isothermal” describes a path with constant temperature. “Adiabatic” describes a path with zero heat transfer. An insulated gas can get hotter when you compress it because work enters through the piston.

Worked example: a gas pushes a piston

A sealed gas absorbs 80 kJ of heat and does 30 kJ of work as the piston rises. Take heat into the gas and work done by the gas as positive. Neglect changes in kinetic and potential energy.

Change in internal energyΔU = Q − W = 80 − 30 = +50 kJ

The final state contains 50 kJ more internal energy. If the piston were locked and the gas received the same heat with no other work, the full 80 kJ would increase its internal energy.

Study the first-law balance · Switch to a steady-flow device

Thermodynamics equations and calculators

  • Ideal gas law calculator

    Solve for pressure, volume, amount, or temperature. Use absolute pressure and temperature with a consistent gas constant.

  • Ideal gas law equation

    Check the assumptions behind PV = nRT before using it near condensation or at high density.

  • Engineering equations

    Look up the relationship, variable definitions, and units behind a calculation.

  • Engineering calculators

    Find numerical tools for related flow, fluid, and mechanical problems.

Thermodynamics questions

What is the difference between heat and temperature?

Temperature tells you which way heat will flow when two bodies are in thermal contact. Heat is energy crossing a boundary because of a temperature difference. A large warm tank can release more energy than a small, hotter cup as both cool to room temperature.

How do enthalpy and entropy differ?

Enthalpy combines internal energy and the pressure–volume term. Its change is especially useful for flowing steam or refrigerant. Entropy helps describe the direction of a process and the effects of irreversibility. Compare Enthalpy and Entropy.

When do I use a property table instead of the ideal gas law?

Use a real-fluid property table or model for saturated steam, liquid–vapor mixtures, and refrigerant near a phase change. In a saturated mixture, pressure and temperature are linked. An additional property such as vapor quality is needed to determine the state.

What is the difference between thermodynamics and heat transfer?

A thermodynamic balance tells you how much energy a hot stream must lose to reach a target outlet temperature. Heat transfer tells you how fast that energy can move and helps determine the exchanger area required.

Can a refrigerator have a coefficient of performance greater than one?

Yes. Cooling COP is heat removed from the cold space divided by work input. A refrigerator that removes 3 kJ for every 1 kJ of work rejects 4 kJ on the warm side. Follow the four devices in the vapor-compression cycle.

Further reading: OpenStax on the first law · NASA Glenn on entropy

Scroll to Top