Content deleted Content added
move tag up |
|||
(17 intermediate revisions by 15 users not shown) | |||
Line 1:
{{no footnotes|date=January 2011}}
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.
In [[thermodynamical system]]s, 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.
Line 5 ⟶ 7:
== The 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.
The full procedure can be summarized by the following steps:
# Calculate the change in energy <math>\Delta E</math> of the thermal system.
▲4. The demon provides positive <math>\Delta E</math> to keep the total energy constant only if it has sufficient energy, i. e. <math>E_d > \Delta E</math>. 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
== See also ==
Line 28 ⟶ 24:
== References ==
* Michael Creutz: "Microcanonical Monte Carlo Simulation", Phys. Rev. Lett. 50, 1411 (1983)▼
* {{cite book
| author = Harvey Gould and Jan Tobochnik and Wolfgang Christian
| title = An Introduction to Computer Simulation Methods: Applications to Physical Systems
| publisher = Addison Wesley
| year = 2006
| isbn = 978-0-8053-7758-3
| chapter= Chapter 15: Monte Carlo Simulations of Thermal Systems
| edition = 3rd
}}
* {{cite journal
| author = Creutz, Michael
| journal = Phys. Rev. Lett.
| volume = 50
| issue = 19
| pages = 1411–1414
|date=May 1983
| doi = 10.1103/PhysRevLett.50.1411
| publisher = American Physical Society
| bibcode=1983PhRvL..50.1411C
}}
[[Category:Monte Carlo methods
[[Category:Computational physics]]
[[Category:Sampling techniques]]
|