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

More from Thermodynamics

Other simulators in this category — or see all 40.

View category →
NewSchool

Hopfield Associative Memory

10×10 binary Hopfield network: Hebbian pattern storage, energy E = −½ Σ w_ij S_i S_j, and random asynchronous updates that flow downhill to fixed-point recall after noisy cues.

Launch Simulator
NewUniversity / research

Bose–Einstein vs Fermi–Dirac

Grand-canonical occupation f(E) at the same T and μ: FD, BE, and classical Maxwell–Boltzmann comparison.

Launch Simulator
FeaturedSchool

Ideal Gas Simulator

Bouncing particles in a box. See PV=nRT in action.

Launch Simulator
School

Gas Laws Interactive

Boyle's, Charles's, Gay-Lussac's laws with interactive piston.

Launch Simulator
School

Heat Transfer

Conduction, convection, and radiation with temperature gradients.

Launch Simulator
School

Phase Diagram

Temperature-pressure diagram with phase transitions.

Launch Simulator
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/Ising 2D: Wolff Cluster Updates

Ising 2D: Wolff Cluster Updates

The Wolff (single-cluster) algorithm is a Swendsen–Wang–type cluster Monte Carlo move for the 2D ferromagnetic Ising model with periodic boundaries and h = 0. Parallel neighboring spins are frozen into the same cluster with probability p = 1 − e^(−2βJ); the whole cluster is then flipped, proposing a nonlocal update that bypasses critical slowing down of single-spin Metropolis dynamics. This page visualizes the lattice, highlights the last flipped cluster, and tracks |m|, energy per spin, and T/T_c (Onsager kT_c/J). It is a teaching sampler, not a finite-size scaling pipeline.

Who it's for: Students who already saw Metropolis Ising updates and want the standard cluster alternative emphasized near the Curie point.

Key terms

  • Wolff algorithm
  • Ising model
  • Cluster Monte Carlo
  • Swendsen–Wang
  • Critical slowing down
  • Onsager temperature

Wolff updates

2.4
6

Cluster moves flip many spins at once; near T_c the bond probability is tuned so clusters are large—much faster equilibration than single-spin Metropolis for critical slowing down.

Shortcuts

  • •Space / Enter — run / pause
  • •P — pause / resume
  • •R — reset lattice

Measured values

|m|0.000
E / (JN)0.000
T / T_c1.058
Wolff builds0
Last |C|0

How it works

Single-cluster Wolff updates for the 2D ferromagnetic Ising model on a torus (h = 0): bonds between parallel spins freeze with probability 1 − e^(−2βJ), building a cluster that is then flipped—an O(1) rejection-free alternative to Metropolis near criticality.

Key equations

Bond-freezing probability p_f = 1 - exp(-2βJ) (here J = 1); grow a same-spin cluster and flip all its spins. At h = 0 this satisfies detailed balance for the Ising Boltzmann weight.

Frequently asked questions

Why is there no magnetic field h?
The elementary Wolff bond rule shown here is the standard zero-field ferromagnetic case. A non-zero field requires a modified cluster construction (ghost spins / generalized bonds); this page keeps the clean textbook presentation.
How does this relate to Swendsen–Wang?
Swendsen–Wang flips many clusters per sweep from the same bond configuration; Wolff grows one cluster from a random seed and flips it—often simpler to visualize while sharing the same bond probability.
Is one Wolff build equal to one “sweep”?
No. A sweep in Metropolis is O(N) spin trials; a Wolff step flips a random cluster whose mean size depends strongly on temperature. The sidebar counts Wolff builds and reports the last cluster size for intuition.