Demon algorithm

Demon algorithm

The demon algorithm is a Monte Carlo method for efficiently sampling members of a microcanonical ensemble with a given energy. An additional degree of freedom, called 'the demon', is added to the system and is able to store and provide energy. If a drawn microscopic state has lower energy than the original state, the excess energy is transferred to the demon. For a sampled state that has higher energy than desired, the demon provides the missing energy if it is available. The demon can not have negative energy and it does not interact with the particles beyond exchanging energy. Note that the additional degree of freedom of the demon does not alter a system with many particles significantly on a macroscopic level.

Contents

Motivation

In thermodynamical systems, equal macroscopic properties (e. g. temperature) can result from different microscopic properties (e. g. velocities of individual particles). Computer simulations of the full equations of motion for every individual particle to simulate microscopic properties is computationally very expensive. Monte Carlo methods can overcome this problem by sampling microscopic states according to stochastic rules instead of modeling the complete microphysics.

The microcanonical ensemble is a collection of microscopic states which have fixed energy, volume and number of particles. In an enclosed system with a certain number of particles, energy is the only macroscopic variable affected by the microphysics. The Monte Carlo simulation of a microcanonical ensemble thus requires sampling different microscopic states with the same energy. When the number of possible microscopic states of thermodynamical systems is very large, it is inefficient to randomly draw a state from all possible states and accept it for the simulation if it has the right energy, since many drawn states would be rejected.

The demon algorithm

The full procedure can be summarized by the following steps:

1. Perform a random change in the state of a randomly chosen particle (e. g. change velocity or position).

2. Calculate the change in energy ΔE of the thermal system.

3. Negative ΔE, i. e. excess energy, is given to the demon by adding | ΔE | to the demon. This case (ΔE < 0) is always accepted.

4. The demon provides positive ΔE to keep the total energy constant only if it has sufficient energy, i. e. Ed > ΔE. In this case the change is accepted, otherwise the randomly chosen change in velocity is rejected and the algorithm is restarted from the original microscopic state.

5. If the change is accepted, repeat the algorithm for the new configuration.

Since energy fluctuations per degree of freedom are only of order 1/N, the presence of the demon has little effect on macroscopic properties of systems with high numbers of particles. After many iterations of the algorithm, the interplay of demon and random energy changes equilibriates the system. Assuming that a particular system approaches all possible states over very long times (quasi-ergodicity), the resulting Monte Carlo dynamics realistically sample microscopic states that correspond to the given energy value. This is only true if macroscopic quantities are stable over many Monte Carlo steps, i. e. if the system is at equilibrium.

See also

  • Monte Carlo methods
  • Metropolis algorithm to sample microscopic states at a fixed temperature

References

  • Harvey Gould and Jan Tobochnik and Wolfgang Christian (2006). "Chapter 15: Monte Carlo Simulations of Thermal Systems". An Introduction to Computer Simulation Methods: Applications to Physical Systems (3rd Edition). Addison Wesley. ISBN 9780805377583. 
  • Creutz, Michael (May 1983). "Microcanonical Monte Carlo Simulation". Phys. Rev. Lett. (American Physical Society) 50 (19): 1411–1414. Bibcode 1983PhRvL..50.1411C. doi:10.1103/PhysRevLett.50.1411. 

Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • List of numerical analysis topics — This is a list of numerical analysis topics, by Wikipedia page. Contents 1 General 2 Error 3 Elementary and special functions 4 Numerical linear algebra …   Wikipedia

  • List of mathematics articles (D) — NOTOC D D distribution D module D D Agostino s K squared test D Alembert Euler condition D Alembert operator D Alembert s formula D Alembert s paradox D Alembert s principle Dagger category Dagger compact category Dagger symmetric monoidal… …   Wikipedia

  • List of negative energy articles — Negative energy is a concept used in energy (physics), energy (esotericism), and speculative fiction for a contrast with regular or positive energy. Contents 1 Physics 2 Fiction …   Wikipedia

  • Rubik's Cube — Other names Magic Cube …   Wikipedia

  • Hilary Putnam — Infobox Philosopher region = Western Philosophy era = 20th century philosophy color = #B0C4DE name = Hilary Whitehall Putnam birth = July 31, 1926 flagicon|USA|size=20px Chicago, Illinois school tradition = Analytic main interests = Philosophy of …   Wikipedia

  • information theory — the mathematical theory concerned with the content, transmission, storage, and retrieval of information, usually in the form of messages or data, and esp. by means of computers. [1945 50] * * * ▪ mathematics Introduction       a mathematical… …   Universalium

  • Optimization (computer science) — In computing, optimization is the process of modifying a system to make some aspect of it work more efficiently or use fewer resources. For instance, a computer program may be optimized so that it executes more rapidly, or is capable of operating …   Wikipedia

  • List of English words of Persian origin — As Indo European languages, English and Persian have many words of common Proto Indo European origin, and many of these cognate words often have similar forms. Examples of these include: English (Mother) and Persian (Madar), English (Father) and… …   Wikipedia

  • Massive Magazine — Massive Logo Producer Matt Bonde Categories Rave culture Frequency Irregular Circulation 50,000 …   Wikipedia

  • List of Russian people — The Millennium of Russia monument in Veliky Novgorod, featuring the statues and reliefs of the most celebrated people in the first 1000 years of Russian history …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”