q-state Potts Model on a 2D Square Lattice
What you are seeing: a generalization of the Ising model where each site holds one of colors (instead of just two spin values). Like-colored neighbors bind with energy ; the system minimizes this energy by forming large monochromatic patches at low temperature and disordering into salt-and-pepper noise at high temperature.
The transition temperature is . For this reduces to the Ising model and the transition is second-order: the order parameter drops smoothly to zero at . For the transition becomes first-order and you see latent-heat jumps in the energy across . The and cases sit in between with a marginal second-order behavior.
Below: the left panel is the current spin configuration; the right panel is the order parameter trace (red horizontal: zero; yellow: current value).
WHAT TO TRY
- Raise q, the number of colors: with more states to disorder into the transition sharpens, and past q = 4 in two dimensions it turns first-order, jumping discontinuously instead of growing smoothly.
- Cross T / T_c: above it the lattice is a fizz of random colors, below it one color wins and large monochrome domains lock in, spontaneous symmetry breaking.
- Sit right at T_c and watch domains of every size flicker: critical fluctuations are scale-free, the self-similarity that links the Potts model to percolation and to real magnets.