Project 4: Difference between revisions

From phys660
Jump to navigationJump to search
Line 17: Line 17:
Sweep the magnetic field up to a large positive value <math> H=5 </math> and then back down to your starting value <math> H = -5 </math>. Do this in steps of <math> \delta H = 0.5 </math>. After each change in the magnetic field <math> H </math>, allow sufficient Monte Carlo trials for the system to reach the equilibrium and thermalize.  
Sweep the magnetic field up to a large positive value <math> H=5 </math> and then back down to your starting value <math> H = -5 </math>. Do this in steps of <math> \delta H = 0.5 </math>. After each change in the magnetic field <math> H </math>, allow sufficient Monte Carlo trials for the system to reach the equilibrium and thermalize.  


For each value of <math> H </math>, calculate the mean energy per spin
For each value of <math> H </math>, the mean magnetization per spin  
 
 
the mean magnetization per spin  


<math> \langle M \rangle = \frac{1}{N_{MC}} \sum_{\alpha=1}^{N_{MC}} M_\alpha </math>   
<math> \langle M \rangle = \frac{1}{N_{MC}} \sum_{\alpha=1}^{N_{MC}} M_\alpha </math>   


and the specific heat per spin
The sum in this expression run are over <math> N_{MC} </math> microstates generated by Monte Carlo simulation.
 
<math> C_V = \frac{1}{k_B T^2} ( \langle E^2 \rangle  -  \langle E^2 \rangle) </math>
 
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 <math> N_{MC} </math> microstates generated by Monte Carlo simulation.


'''(a)''' Plot  <math> M </math> vs. <math> H </math>. You should see a discontinuous change in  as H is increased, and a second discontinuous change in  <math> M </math>  as <math> H </math> is decreased back to its initial value. These discontinuous changes indicate a ''first order phase transition''. Also note that the values of <math> H </math> at which discontinuities occur are not identical. Such behavior is called hysteresis. Perform at least one thousand Monte Carlo time steps, where '''one time step is one complete pass through the lattice''', at each value of the magnetic field.
'''(a)''' Plot  <math> M </math> vs. <math> H </math>. You should see a discontinuous change in  as H is increased, and a second discontinuous change in  <math> M </math>  as <math> H </math> is decreased back to its initial value. These discontinuous changes indicate a ''first order phase transition''. Also note that the values of <math> H </math> at which discontinuities occur are not identical. Such behavior is called hysteresis. Perform at least one thousand Monte Carlo time steps, where '''one time step is one complete pass through the lattice''', at each value of the magnetic field.

Revision as of 18:21, 14 April 2012

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 , the mean magnetization per spin

The sum in this expression run are over microstates generated by Monte Carlo simulation.

(a) Plot vs. . You should see a discontinuous change in as H is increased, and a second discontinuous change in as is decreased back to its initial value. These discontinuous changes indicate a first order phase transition. Also note that the values of at which discontinuities occur are not identical. Such behavior is called hysteresis. Perform at least one thousand Monte Carlo time steps, where one time step is one complete pass through the lattice, at each value of the magnetic field.

(b) Repeat the calculations for a temperature above the critical point . Is there a first order phase transition? Is there hysteresis? Provide a physical explanation of any difference in behavior for the two temperatures.

Part II for both PHYS460 and PHYS660 students: Second order phase transition in the ferromagnetic Ising model

(a) Plot magnetization per spin and energy per spin for each sample obtained after one Monte Carlo sweep through the lattice as a function of Monte Carlo time step at three temperatures , , and in the absence of magnetic field . These plots should reveal how many Monte Carlo steps is necessary to thermalize (i.e., bring it into the thermodynamic equilibrium with external heat bath which is assumed to set the temperature ) the Ising ferromagnet. Thermodynamic average values should be computed only for the samples generated after the thermalization has occured.

(b) Investigate the behavior of the specific heat


the mean square energy per spin


and magnetic susceptibility


as the temperature is increased through the critical value in the absence of external magnetic field , in which case we expect a second order or continuous paramagnet-ferromanget phase transition. Repeat this calculation for increasing lattice size to see how the peak in and around increases, while its center shifts because of finite size, as one the transition is approached.

Part III for PHYS660 students only: Correlation length in the ferromagnetic Ising model

The correlation lenght can be obtained from the r-dependence of the spin-spin correlation function

where since the system is translationally invariant. Here is the distance between the sites and . The average here is defined over all sites for a given configuration and over many configurations. Because the spins are not correlated for large , in this limit. Assume that for sufficiently large and estimate as a function of temperature in zero external field .

How does your estimate for compare with the size of the domains of spins pointing in the same direction? We expect that should be of the order of a lattice spacing at and approaching the system size (or diverging for infinite systems in the thermodynamic limit) as .

Part IV for PHYS660 students only: Second order phase transition in the antiferromagnetic Ising model

Compute temperature dependence of , , and in the absence of magnetic field for the antiferromagnetic Ising model with . The initial configuration can be chosen as all spins up on a lattice. What configuration of spins corresponds to the thermodynamic state below the Neel temperature ? At the so-called Neel temperature this type of materials exhibit continous antiferromagnet-paramagnet phase transition.

References

  • D. P. Landau, Shan-Ho Tsai, and M. Exler, A new approach to Monte Carlo simulations in statistical physics: Wang-Landau sampling, Am. J. Phys. 72, 1294 (2004). [PDF]