Main Document

The Wang-Landau algorithm, also called the flat-histogram algorithm, can be used to calculate the density of states of a microscopic system. In this simulation, the Wang-Landau algorithm is used to calculate the density of states for a two-dimensional Ising ferromagnet with periodic boundary conditions. From the density of states, the entropy, internal energy, and heat capacity are calculated as a function of temperature. You can modify this simulation if you have EJS installed by right-clicking within a plot and selecting "Open Ejs Model" from the pop-up menu item.

The Wang-Landau simulation of the 2D Ising Model in Zero Field Model was developed using the Easy Java Simulations (EJS) modeling tool. It is distributed as a ready-to-run (compiled) Java archive. Double clicking the ejs_WangLandau_Ising_2D_Ferromagnet.jar file will run the program if Java is installed.

Source Code Documents

The source code zip archive contains an EJS-XML representation of the Wang-Landau simulation of the 2D Ising Model in Zero Field Model. Unzip this archive in your EJS workspace to compile and run this model using EJS.