Project 4: Difference between revisions
From phys660
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
Write a program for the 2D Ising model on a <math> 64 \times 64 </math> square lattice with ''periodic'' boundary conditions which is placed in an applied external magnetic field <math> H </math>. The energy of a particular state of the system is given by: | Write a program for the 2D Ising model on a <math> 64 \times 64 </math> square lattice with ''periodic'' boundary conditions which is placed in an applied external magnetic field <math> H </math>. The energy of a particular state of the system is given by: | ||
<math> E = - J \sum_{i,j} S_i S_j - H\sum_i S_i </math> | <math> E = - J \sum_{\langle i,j \rangle} S_i S_j - H \sum_i S_i </math> |
Revision as of 13:06, 2 April 2012
First and second order phase transition in the Ising model of ferromagnetism
Write a program for the 2D Ising model on a square lattice with periodic boundary conditions which is placed in an applied external magnetic field . The energy of a particular state of the system is given by: