College Physics ›› 2022, Vol. 41 ›› Issue (1): 79-.doi: 10.16854 / j.cnki.1000-0712.210101

Previous Articles     Next Articles

Monte-Carlo simulation of 2-D Ising model———application of Metropolis,Swendsen-Wang and Wolff algorithm

XU Lin,CHEN Yu-ze,LIU Jia-hao   

  1.  Department of Physics,Beijing Normal University,Beijing 100875,China
  • Received:2021-03-05 Revised:2021-06-03 Online:2022-01-20 Published:2022-01-14

Abstract:

 Ising model is a widely used magnetic spin interaction model. It is very complicated to

solve the ana- lytic solution in 2-D case. In practical application,Wolff algorithm is usually

used to simulate the Ising model and it is considered to be the best clustering flipping Monte

Carlo algorithm. Metropolis and Swendsen-Wang algorithms are similar to Wolff algorithm,and

theoretically they are also applicable to the simulation of Ising model. So far, there

is no paper has compared the three algorithms to show the advantages of Wolff algorithm,and there

are few in- troductions of Monte Carlo algorithm in undergraduate courses. In this paper,we use

these three algorithms to simu- late 2-D Ising model and introduce the principle,parameter

selection and implementation of the algorithms. In the end,we compare the simulation effect and

application range of the three algorithms,and summarize the reason why Wolff algorithm has better

effect in the simulation of 2D Ising model.

Key words: 2 - D Ising model, Monte - Carlo algorithm, Metropolis algorithm, Wolff algorithm, Swendsen - Wang algorithm