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 →
NewUniversity / research

2D Ising Model

Launch Simulator

Square lattice Metropolis: kT/J vs |m| and E; T_c ≈ 2.27; optional field h.

NewUniversity / research

Site Percolation (2D)

Launch Simulator

Square lattice occupation p: clusters, left–right spanning, p_c ≈ 0.593; rough box-counting D̂ on the largest cluster.

NewSchool

Psychrometric Chart

Launch Simulator

Moist-air HVAC chart: dry-bulb, RH, humidity ratio, dew point, wet-bulb approximation, enthalpy, and two-stream mixing.

NewUniversity / research

Bose–Einstein vs Fermi–Dirac

Launch Simulator

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

NewUniversity / research

Peltier & Seebeck (Schematic)

Launch Simulator

Current pumps heat across junction; ΔT drives toy mV — same couple, two modes.

NewUniversity / research

Maxwell’s Demon (Toy)

Launch Simulator

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

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

Ferromagnetic toroidal Ising (h = 0): Swendsen–Wang bond freezing with probability 1 − e^(−2βJ), build a same-spin cluster, flip it—fast mixing near T_c compared to single-spin Metropolis.

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

About this model

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

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.