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

Related simulators

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

View category →
NewUniversity / research

Diffusion-Limited Aggregation (DLA)

Launch Simulator

Random walkers stick on first contact with a seed cluster on a square lattice; branched fractal growth with literature mass dimension D ≈ 1.71 in 2D and a rough box-counting D̂.

NewUniversity / research

2D Ising Model

Launch Simulator

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

NewSchool

Eden Growth (Lattice)

Launch Simulator

Square-lattice Eden model: each step occupies a uniformly random empty von-Neumann neighbor of the cluster; compact growth with a rough interface—track perimeter P vs 2√(πN) as a roughness proxy.

NewUniversity / research

Ising 2D: Wolff Cluster Updates

Launch Simulator

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.

NewUniversity / research

Maxwell’s Demon (Toy)

Launch Simulator

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

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.

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/Site Percolation (2D)

Site Percolation (2D)

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

Occupation probability

0.59

Independent site percolation: each cell is occupied with probability p. At p_c ≈ 0.5927 the spanning cluster (if present) is fractal; D_f ≈ 91/48 ≈ 1.896 for 2D (textbook value). Box-counting on the largest cluster gives a rough D̂ when it is large enough.

Measured values

Largest cluster1255sites
Fraction of lattice13.62%
Spanning L→R (any cluster)no
D̂ (box counting)1.58

About this model

Site percolation on a square lattice colors each cell independently “open” with probability p and “closed” otherwise. Open cells that share an edge form clusters. Near the critical threshold p_c ≈ 0.592746 on the infinite square lattice, correlation lengths diverge and the spanning cluster (when it exists) is a fractal with fractal dimension D_f = 91/48 in two dimensions. This simulator draws one finite realization at your chosen p, labels connected components, highlights the largest cluster, and reports whether any cluster connects the left and right edges (spanning need not be the largest cluster). A crude box-counting slope on the largest cluster gives a rough D̂ when the cluster is large enough; it is noisy for small systems and should be read as illustrative.

Who it's for: Students learning phase transitions on networks, scaling, and universality in statistical physics.

Key terms

  • Percolation
  • Critical probability p_c
  • Spanning cluster
  • Fractal dimension
  • Box counting
  • Correlation length

How it works

Square-lattice site percolation: random occupation, cluster labeling, spanning probability near p_c, and a crude fractal dimension from box counting on the largest cluster.

Frequently asked questions

Why does my estimated D̂ differ from 91/48?
91/48 describes the spanning cluster at criticality in the thermodynamic limit. A single L×L sample is finite, sub-leading corrections matter, and box counting with a handful of box sizes is statistically noisy. Expect qualitative agreement near p_c only when the largest cluster is big and you average many realizations.
Is this bond or site percolation?
Site percolation: vertices (cells) are occupied randomly; edges are implicit between occupied nearest neighbors. Bond percolation would randomize links instead; the critical probability is different.
Does “spanning” require the highlighted largest cluster to cross the system?
No. The gold frame means some open cluster connects the left column to the right column. The largest cluster is highlighted for visualization and for the box-counting estimate D̂, but it might sit in the interior while a thinner cluster provides connectivity.