Jump to content

Programming a 2D Ising Model/Determining the heat capacity

From ChemWiki

This is the seventh section of the Ising model experiment. You can return to the previous page, The effect of system size, or jump ahead to the next section, Locating the Curie temperature.

Calculating the heat capacity

As we have seen, increasing the temperature above TC induces a phase transition — the magnetisation of the system rapidly drops, but it can be hard to use this information to pinpoint the Curie temperature itself. As well as demonstrating the closed form solution to the partition function that we mentioned in the introduction, Lars Onsager also demonstrated that the heat capacity of the 2D Ising model should become very strongly peaked at the phase transition temperature (in fact, when T=TC exactly, C diverges).

TASK 7a: By definition, C=ET. From this, show that C=Var[E]kBT2, where Var[E] is the variance in E.

Using this relation, and the data that you generated in the previous sections, you can now determine the heat capacity of your lattice as a function of temperature and system size. in a similar way, we can also define another quantity called the magnetic susceptibility, χ, which depends on the average properties of the order parameter of the system:

χ=β(M2M2)

which will behave in a similar way to the heat capacity. Here β=1kBT is the inverse of the thermodynamic temperature, often used in statistical thermodynamics.

TASK 7b: Write a Python script to make a plot showing the heat capacity and susceptibility versus temperature for each of your lattice sizes from the previous section. You may need to do some research to recall the connection between the variance of a variable, Var[X], the mean of its square X2, and its squared mean X2. You may find that the data around the peak is very noisy — this is normal, and is a result of being in the critical region. As before, use the plot controls to save a SVG or PNG image of your plot and attach this to the report.

This is the seventh section of the Ising model experiment. You can return to the previous page, The effect of system size, or jump ahead to the next section, Locating the Curie temperature.