Third year CMP compulsory experiment/Determining the heat capacity

From ChemWiki
Revision as of 11:55, 15 October 2020 by Fbresme (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This is the seventh section of the third year CMP 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 T_C 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 = T_C exactly, C diverges).

TASK 7a: By definition,

C = \frac{\partial \left\langle E\right\rangle}{\partial T}

From this, show that

C = \frac{\mathrm{Var}[E]}{k_B T^2}

(Where \mathrm{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.

TASK 7b: Write a Python script to make a plot showing the heat capacity 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, \mathrm{Var}[X], the mean of its square \left\langle X^2\right\rangle, and its squared mean \left\langle X\right\rangle^2. 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 your a PNG image of your plot and attach this to the report.

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