Metropolis Monte Carlo: Difference between revisions

From SklogWiki
Jump to navigation Jump to search
m (→‎Interesting reading: Changed numbering for bullet points.)
m (Added an internal link.)
Line 1: Line 1:
The '''Metropolis Monte Carlo''' technique (Ref. 2) is a variant of the original Monte Carlo method proposed by [[Nicholas Metropolis]] and [[Stanislaw Ulam]] in 1949 (Ref. 1).
The '''Metropolis Monte Carlo''' technique (Ref. 2) is a variant of the original [[Monte Carlo]] method proposed by [[Nicholas Metropolis]] and [[Stanislaw Ulam]] in 1949 (Ref. 1).
== Main features ==
== Main features ==
Metropolis Monte Carlo simulations can be carried out in different ensembles. For the case of one-component systems the usual ensembles are:
Metropolis Monte Carlo simulations can be carried out in different ensembles. For the case of one-component systems the usual ensembles are:

Revision as of 17:17, 17 March 2009

The Metropolis Monte Carlo technique (Ref. 2) is a variant of the original Monte Carlo method proposed by Nicholas Metropolis and Stanislaw Ulam in 1949 (Ref. 1).

Main features

Metropolis Monte Carlo simulations can be carried out in different ensembles. For the case of one-component systems the usual ensembles are:

In the case of mixtures, it is useful to consider the so-called Semi-grand ensembles. The purpose of these techniques is to sample representative configurations of the system at the corresponding thermodynamic conditions. The sampling techniques make use the so-called pseudo-random number generators.

Configuration

A configuration is a microscopic realisation of the thermodynamic state of the system. To define a configuration (denoted as ) we usually require:

  • The position coordinates of the particles
  • Depending on the problem, other variables like volume, number of particles, etc.

The probability of a given configuration, denoted as , depends on the parameters (e.g. temperature, pressure)

Example:

In most of the cases exhibits the following features:

  • It is a function of many variables
  • Only for a very small fraction of the configurational space the value of is not negligible.

Due to these properties, Metropolis Monte Carlo requires the use of Importance Sampling techniques

Importance sampling

Importance sampling is useful to evaluate average values given by:

where:

  • represents a set of many variables,
  • is a probability distribution function which depends on and on the constraints (parameters)
  • is an observable which depends on the

Depending on the behavior of we can use to compute different numerical methods:

  • If is, roughly speaking, quite uniform: Monte Carlo Integration methods can be effective
  • If has significant values only for a small part of the configurational space, Importance sampling could be the appropriate technique

Outline of the Method

  • Random walk over :

From the configuration at the i-th step one builds up a test configuration by slightly modifying some of the variables

  • The test configuration is accepted as the new (i+1)-th configuration with certain criteria (which depends basically on )
  • If the test configuration is not accepted as the new configuration then:

The procedure is based on the Markov chain formalism, and on the Perron-Frobenius theorem. The acceptance criteria must be chosen to guarantee that after a certain equilibration time a given configuration appears with probability given by

Temperature

The temperature is usually fixed in Metropolis Monte Carlo simulations, since in classical statistics the kinetic degrees of freedom (momenta) can be generally, integrated out. However, it is possible to design procedures to perform Metropolis Monte Carlo simulations in the microcanonical ensemble (NVE).

See Monte Carlo in the microcanonical ensemble

Boundary Conditions

The simulation of homogeneous systems is usually carried out using periodic boundary conditions.

Initial configuration

The usual choices for the initial configuration in fluid simulations are:

  • an equilibrated configuration under similar conditions (for example see Ref. 3)
  • an ordered lattice structure. For details concerning the construction of such structures see: lattice structures.

Interesting reading

Advanced techniques

References

  1. Nicholas Metropolis and S. Ulam "The Monte Carlo Method", Journal of the American Statistical Association 44 pp. 335-341 (1949)
  2. Nicholas Metropolis, Arianna W. Rosenbluth, Marshall N. Rosenbluth, Augusta H. Teller and Edward Teller, "Equation of State Calculations by Fast Computing Machines", Journal of Chemical Physics 21 pp.1087-1092 (1953)
  3. Carl McBride, Carlos Vega and Eduardo Sanz "Non-Markovian melting: a novel procedure to generate initial liquid like phases for small molecules for use in computer simulation studies", Computer Physics Communications 170 pp. 137-143 (2005)