Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Contents
1
Introduction
2
2
2
2
Methodology of code
3.1 Generating the lattice and spin values
3.2 Calculating average spin of a site . . .
3.3 The Specific Heat of the lattice . . . .
3.4 Calculating magnetic susceptibility . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
3
3
3
4
4
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
4
4
5
5
8
8
8
10
Summary
10
Ty
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
1.
Introduction
(1)
Cv =
conditional statement was if the spin was at a coordinate (X,L), the lattice would then wrap the top to
the bottom, to ensure all the spins at the top, had a
(0) = lim H 00 ( H )
neighbour above them which was the spin with the
h
i
= h0,0 j, ki M2 .
(5) same x co-ordinate, and y co-ordinate of 1 and vice
versa. The result of wrapping the lattice to ensure
j,k
all spins had 4 nearest neighbours to interact with
If the limit lim H 0 exists, then the above expression was that the lattice stops becoming a flat lattice, and
for the case of an Ising model lattice becomes equal is in essence the surface of a torus as seen in Fig 1.
to,
hD E
i
=
M 2 h M i2 ,
(6)
3.
Methodology of code
3.2.
3.3.
3.4.
square this result to get M2 , at a particular time.
After the code had iterated through all the time values, it worked out the variance in magnetisation at
a given temperature given by Eq. 6. This value is
then what the code went on to plot as a function of
temperature to determine T .
The average spin per lattice was found for a variety of Lattice sizes. Initially, a 10-by-10 lattice was
used to allow rapid data acquisition, as Monte Carlo
methods can be slow due to the large number of
calculations being produced. After this had been
done, the simulation was repeated for L values of
10, 20, 40, 50 and 60. This allowed a large array
of Tc values to be determined to ensure maximum
accuracy for minimum computational time. A plot
of mean spin per lattice site for a 20-by-20 lattice has
been produced in Fig. 2, where the critical temperature as defined previously can be seen to take a
Figure 3: A graph of spin per lattice as a function of temperature for Lattice length of 60, the critical temperature
is seen to again have a value of approximately 2.3.
Figure 2: A graph of Average spin per lattice site as a function of temperature for a 20by20 lattice. 20by20 was 4.2.
chosen as at smaller lattices, a large amount of noise
was produced around the critical temperature as the
lattice turned into a disordered state. Larger lattices
4.2.1
were also generated, but took longer to produce, so
the key physics being studied was done on 20-by-20
lattices.
Figure 10: Spin lattice plot for T = 2.3, for Time = 50s
4.2.2
5.
5.1.
Figure 13: Spin lattice for T = 2, for B=0, and J=1 after 100s
Figure 20: Spin lattice for T =2.5, B=0, J=-1 after 100s
6.
Figure 22: The spin plot for a lattice with values, B=1, J=-1,
And at T=3
7.
Summary
References
[2] L. Witthauer and M. Dietrele, The phase transition of the 2d-ising model.
[3] J. M. Yeomans, Statistical Mechanics of Phase Transitions. Oxford Science Publications, 1992.
[4] R. Bowley and M. Sanchez, Introductory Statistical
Mechanics. Oxford Science Publications, 1999.
[5] L. Larrimore, Monte carlo simulation of the 2d
ising model.
[6] Kosherlitz, The critical properties of the twodimensional xy ising model, Journal of Physics C
- Insitute of physics, 2012.
11