PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

Related simulators

Continue with similar topics in this category — or all 46 in Thermodynamics.

View category →
NewSchool

Gas Mixing & Entropy

Launch Simulator

Two species separated then mixed; ΔS = 2nR ln 2 for equal volumes and moles.

NewSchool

Stirling Cycle

Launch Simulator

PV: two isotherms and two isochores; ideal η equals Carnot with a perfect regenerator.

NewUniversity / research

Maxwell’s Demon (Toy)

Launch Simulator

2D billiards + gate: fast |v| crosses; ⟨|v|⟩ left/right + Landauer note.

NewSchool

Joule–Thomson Throttling

Launch Simulator

Isenthalpic expansion: ideal gas ΔT = 0; toy μ_JT inversion for real gases.

School

Carnot Engine

Launch Simulator

PV diagram animation with cycle steps and efficiency.

NewSchool

Otto Cycle

Launch Simulator

PV diagram: adiabatic compression/expansion and isochoric heat; η = 1 − r^{1−γ}.

PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Thermodynamics/Joule Expansion

Joule Expansion

Ideal gas into vacuum: Q = W = ΔU = 0; ΔS = nR ln 2 when volume doubles.

Thought experiment

Ideal gas into vacuum: no work, no heat exchange with surroundings for the gas ⇒ ΔU = 0 ⇒ temperature unchanged. Entropy increases because the accessible volume doubles: ΔS = nR ln(V_f/V_i) = nR ln 2 for this geometry (1 mol shown in SI).

Measured values

Q0
W0
ΔU (ideal)0
ΔS (1 mol)5.76 J/K

About this model

Joule expansion, also known as free expansion, is a fundamental thought experiment in thermodynamics where an ideal gas expands into an evacuated chamber without performing work or exchanging heat with its surroundings. This simulator visualizes that process, starting with gas particles confined to one half of a rigid, insulated container, separated from an empty vacuum by a partition. Upon removal of the partition, the gas expands freely to fill the entire volume. The core physics is governed by the First Law of Thermodynamics, ΔU = Q - W. Since the expansion is against a vacuum (no opposing pressure), no work is done (W = 0). The container is also thermally insulated, so no heat is transferred (Q = 0). Consequently, the internal energy of an ideal gas, which depends solely on temperature, remains constant (ΔU = 0), meaning the temperature before and after expansion is identical. The profound lesson, however, lies in the Second Law. While macroscopic thermodynamic properties like T and U are unchanged, the process is irreversible and involves a significant increase in entropy. For a volume doubling, the change in entropy is ΔS = nR ln(V_final / V_initial) = nR ln 2. This entropy increase reflects the increased microscopic disorder and the number of accessible microstates for the gas molecules. The simulator simplifies reality by assuming an ideal gas, perfectly rigid and adiabatic walls, instantaneous partition removal, and non-interacting point particles. By interacting with it, students can visualize the irreversible nature of the expansion, connect the microscopic particle motion to macroscopic state variables, and verify the constancy of temperature (via average kinetic energy) alongside the irreversible increase in entropy.

Who it's for: Undergraduate students in introductory physics or thermodynamics courses learning about the First and Second Laws, entropy, and irreversible processes.

Key terms

  • Joule Expansion
  • Free Expansion
  • First Law of Thermodynamics
  • Entropy
  • Ideal Gas
  • Irreversible Process
  • Internal Energy
  • Statistical Mechanics

How it works

A microscopic cartoon of irreversible free expansion: same mean kinetic energy, larger positional disorder, and positive entropy change.

Frequently asked questions

If the temperature doesn't change, why is the expansion irreversible? Doesn't reversibility require no net change?
Irreversibility is not about changes in state functions like temperature, but about the path and the entropy of the universe. While the gas itself returns to its initial temperature, its entropy has permanently increased (ΔS > 0). To compress the gas back to its original volume reversibly, we would have to do work on it and transfer heat out, increasing the entropy of the surroundings. The combined entropy of the system and surroundings would still be greater than zero, making the original free expansion irreversible.
Is any real-world process a true Joule expansion?
A perfect Joule expansion with absolutely no heat transfer or work is an idealization. However, a very rapid expansion of a gas into a well-evacuated chamber through a porous plug (in the Joule-Thomson experiment) is a close approximation where enthalpy, not internal energy, is constant. The simple free expansion model is crucial for understanding the conceptual foundations of entropy and irreversibility.
Why is the work done equal to zero? The gas is expanding, so isn't it pushing on something?
Work in thermodynamics is defined as energy transfer due to organized, macroscopic motion against an opposing force. In free expansion, the gas expands into a vacuum where the opposing pressure is zero. While individual molecules collide with the moving boundary, these collisions are disordered and not against a net opposing force. Therefore, there is no macroscopic, pressure-volume work (W = ∫ P_external dV = 0).
How does the entropy increase if no heat is transferred (since dS = dQ_rev/T)?
The formula dS = dQ_rev / T applies only to reversible heat transfers. For an irreversible process like free expansion, we must calculate entropy change using a reversible path connecting the same initial and final states. For an ideal gas at constant temperature, that reversible path is an isothermal expansion, which does involve heat transfer. The calculated ΔS = nR ln(V2/V1) is the same for both the reversible and irreversible paths between those states, highlighting that entropy is a state function.