Ising model tests
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
analyse.py
config.py
freeze.py
lattice.py
simulate.py

README.md

Spin lattice simulator

simulate.py simulates a grid of magnetic dipoles (think bar magnets) which can either point up or down. Adjacent magnets try to become parallel, tending to regions in the lattice where the direction is constant. Meanwhile, thermal noise tends to flip dipoles randomly, which can destroy any semblance of order in the lattice.

The order of the lattice is measured by the number of spins pointing up/down and by the number of up-up, up-down and down-down pairs. The point of this program is to run a number of simulations at various temperatures and measure the variations in order. Also, to make pretty videos

Usage

python simulate.py -h

for usage options