Skip to content

Implement 2D Ising model using mean field theory, Onsager's formula and Monte Carlo simulation. Course project of Thermodynamics and Statistical Mechanics.

License

Notifications You must be signed in to change notification settings

ziyueyang37/Ising-model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ising-model

Implement 2D Ising model using mean field theory, Onsager's formula and Monte Carlo simulation. Course project of Thermodynamics and Statistical Mechanics.

To use the code

  1. Clone the repository
  2. Run <simulation.py> (Might take hours)
  3. Run <plot_cv.py> to plot specific heat.
  4. Run <plot_mag.py> to plot magnetization.
  5. Figures are saved in folder ./Figures

About

Implement 2D Ising model using mean field theory, Onsager's formula and Monte Carlo simulation. Course project of Thermodynamics and Statistical Mechanics.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages