ISING_3D_SIMULATION
Monte Carlo 3D Ising Model


ISING_3D_SIMULATION is a FORTRAN90 program which carries out a Monte Carlo simulation of a 3D Ising model.

The text of this Ising model appeared as an example in the ANSI FORTRAN90 standard in 1992. It is a nice presentation of how to use certain features of FORTRAN90, and also demonstrates why one would like to use these features - they make the Ising calculation very simple to describe.

Usage:

ising_3d_simulation n iterations
where Note that the user might also want to vary the transition probabilities. This cannot currently be done on the command line, and requires editing the program and recompiling it.

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Languages:

ISING_3D_SIMULATION is available in a FORTRAN90 version.

Related Data and Programs:

BROWNIAN_MOTION_SIMULATION, a FORTRAN90 program which simulates Brownian motion in an M-dimensional region.

DUEL_SIMULATION, a FORTRAN90 program which simulates N repetitions of a duel between two players, each of whom has a known firing accuracy.

F90_INTRINSICS, FORTRAN90 programs which illustrate the use of FORTRAN90 intrinsic functions.

FAIR_DICE_SIMULATION, a FORTRAN90 program which simulates N tosses of 2 dice, making a histogram of the results.

HIGH_CARD_SIMULATION, a FORTRAN90 program which simulates a situation in which you see the cards in a deck one by one, and must select the one you think is the highest and stop; the program uses GNUPLOT for graphics.

MANDELBROT, a FORTRAN90 program which generates an ASCII PPM image of the Mandelbrot set;

POISSON_SIMULATION, a FORTRAN90 library which simulates a Poisson process in which events randomly occur with an average waiting time of Lambda.

REACTOR_SIMULATION, a FORTRAN90 program which is a simple Monte Carlo simulation of the shielding effect of a slab of a certain thickness in front of a neutron source. This program was provided as an example with the book "Numerical Methods and Software."

THREE_BODY_SIMULATION, a FORTRAN90 program which simulates the behavior of three planets, constrained to lie in a plane, and moving under the influence of gravity, by Walter Gander and Jiri Hrebicek.

TWO_BODY_SIMULATION, a FORTRAN90 program which simulates the behavior of two bodies, constrained to lie in a plane, moving under the influence of gravity, with one body much more massive than the other, creating graphics files for processing by gnuplot.

XISING, a C program which simulates the variation in ferromagnetism in a material, displaying the results using X Windows.

Reference:

  1. American National Standard for Programming Language: Fortran - Extended,
    American National Standards Institute, 1992,
    pages 296-299.

Source Code:

Examples and Tests:

SMALL is a run of a small (N=10) model for a short (ITERATIONS = 25) number of iterations.

List of Routines:

You can go up one level to the FORTRAN90 source codes.


Last revised on 30 November 2007.