next up previous
Next: Exercise 12.3: MC simulation Up: The Microcanonical Ensemble Previous: Physical quantities

Monte Carlo simulation of the Ising model

We now apply the demon algorithm to the simulation of the Ising model in the microcanonical ensemble. In the one-dimensional Ising model the demon must chose the spins randomly in order to avoid configurations periodically repeating themselves.

We pick a spin randomly, we try a spin inversion, and we accept the move if the change in energy is lower or equal than $E_d$.

Note that for $h=0$, the change in energy due to a spin flip is either 0 or $\pm 4J$. Hence the initial energy of the system plus the demon must be an integer multiple of $4J$. Since the spins are interacting, it is difficult to choose an initial configuration of spins with precisely the desired energy. We can start the simulation from a configuration with all the spins pointing ``up''. The advantage of picking this configuration is that the total energy can be easily computed. The demon energy is then chosen so that the total energy of the system plus the demon is equal to the desired multiple of $4J$.



Subsections
next up previous
Next: Exercise 12.3: MC simulation Up: The Microcanonical Ensemble Previous: Physical quantities
Adrian E. Feiguin 2004-06-01