Project 4
First and second order phase transition in the Ising model of ferromagnetism
Introduction
Write a program which simulates via Metropolis Monte Carlo algorithm the 2D Ising model on a square lattice with periodic boundary conditions. The model is assumed to describe a system placed in an applied external magnetic field . The energy of a particular state of this system is then given by:
where means that the sum runs over all pairs of nearest neighbor spins (attached to the lattice sites), and is the exchange coupling. Positive interaction between the spins leads to ferromagnetism, will negative gives rise to antiferromagnetism in the Ising model. Choose units so that and the Boltzmann constant is . The free parameters of the model are then just the temperature and the applied field .
Part I for both PHYS460 and PHYS660 students: First order phase transition in the ferromagnetic Ising model
Consider the ferromagnetic Ising model with . Start from a case in which temperature is below the critical one , such as , and the field is large and pointing down, e.g., . The selected initial state of the Ising model should be the one in which all spins are parallel to H, so that magnetization per spin is .
Sweep the magnetic field up to a large positive value and then back down to your starting value . Do this in steps of . After each change in the magnetic field , allow sufficient Monte Carlo trials for the system to reach the equilibrium and thermalize.
For each value of , calculate the mean energy per spin
the mean square energy per spin
the mean magnetization per spin
and the specific heat
where we use the fluctuation-dissipation theorem to connect the specific heat to the fluctuations in energy . All sums in these expressions run are over microstates generated by Monte Carlo simulation.
Part II for both PHYS460 and PHYS660 students: Second order phase transition in the ferromagnetic Ising model
Investigate the behavior of the specific heat as the temperature is increased through the critical value both at (which is a second order or continuous paramagnet-ferromanget phase transition) and first order discontinous phase transtion in non-zero magnetic field . Repeat this calculation for increasing lattice size (for example, L=10,30,50,...).