Periodic Boundaries
The edges of the lattice are connected to the opposite edges, removing artificial boundary effects and approximating an infinite system.
Statistical Physics
Explore magnetic ordering, thermal fluctuations and phase transitions using a Monte Carlo simulation of the two-dimensional Ising model.
Physics
The two-dimensional Ising model represents a magnetic material as a square lattice of spins. Each lattice site contains a spin variable
Neighbouring spins interact through the Hamiltonian
When J > 0, neighbouring spins energetically prefer to align. At low temperatures this produces large ordered magnetic domains, while at high temperatures thermal fluctuations dominate and the system becomes disordered.
The edges of the lattice are connected to the opposite edges, removing artificial boundary effects and approximating an infinite system.
Random spin flips are proposed. Energy-lowering flips are accepted automatically, while energy-increasing flips are accepted with probability
Analysis
Live measurements of the magnetic order and energy will be plotted as the Monte Carlo simulation evolves.
The absolute magnetisation per spin acts as an order parameter for the magnetic phase.
The energy per spin changes as local spin configurations evolve towards equilibrium.
Automatically simulate the lattice over a range of temperatures and measure the equilibrium magnetisation. The critical temperature of the infinite two-dimensional Ising model is approximately Tc = 2.269.
Estimated from the steepest decrease in the simulated magnetisation curve.
Onsager solution for the infinite square-lattice Ising model.
Magnetic susceptibility measures fluctuations in the magnetisation. It becomes large near the phase transition, where the system is especially sensitive to magnetic ordering.
Heat capacity is related to fluctuations in the energy of the lattice. A peak develops close to the critical temperature.