Skip to content

Fast Monte Carlo simulation of the Ising model written in Python

License

Notifications You must be signed in to change notification settings

rytheranderson/updown

Repository files navigation

updown

Python for running 2D Ising models and visualizing the results. The code was designed to be simple and fast, allowing for the simulation of relatively large lattices.

An example run animated. This run corresponds to a ferromagnetic 2000 x 2000 lattice that was randomly initialized. The temperature was decreased linearly from 2 to 0.5 in 20 stages (20 cycles each). The included run.py script was used to create the animation, thus:

python run.py -W 2000 -H 2000 -N 20 --start-temp 2.0 --end-temp 0.5

About

Fast Monte Carlo simulation of the Ising model written in Python

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages