Demon algorithm for microcanonical ensemble

Click For Summary

Discussion Overview

The discussion revolves around the demon algorithm used in simulating a microcanonical ensemble of ideal gas particles. Participants explore the workings of the algorithm, its approximations, and the implications of energy constraints on the demon within the system.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant describes their simulation of a microcanonical ensemble and questions how the demon algorithm serves as a sampling method for such an ensemble, particularly regarding the random walk in phase space.
  • Another participant suggests that the algorithm is an approximation of the microcanonical ensemble, noting that energy fluctuations can occur but can be managed by constraining the demon's energy to keep the system close to the actual microcanonical energy.
  • Concerns are raised about the absence of an upper bound on the demon's energy, with a participant arguing that without it, the sampling may not accurately reflect the desired phase volume.
  • A later reply supports the idea of limiting the demon's energy, referencing the original paper that discusses the necessity of restricting the demon's energy to prevent it from taking all the energy from the system.
  • Participants discuss the implications of energy constraints, including the potential for improved efficiency in simulations by reducing rejected configurations.

Areas of Agreement / Disagreement

There is no consensus on whether an upper bound for the demon's energy is necessary, though multiple participants express concerns about energy constraints and their implications for the algorithm's effectiveness.

Contextual Notes

Participants note that the algorithm's effectiveness may depend on the specific energy constraints placed on the demon, and there are unresolved questions regarding the impact of these constraints on the accuracy of the simulation.

gre_abandon
Messages
13
Reaction score
1
I simulated a microcanonical ensemble of 10 ideal gas particles in one dimension and yielded the expected normal distribution of velocities. However, I still did not get how the algorithm works. The demon has non-negative energy content and the demon together with the system constitutes a closed system with fixed energy. In my view, the demon algorithm amounts to conducting a random walk in phase space where H is less than E_total. Whenever a step of walk carries the particle outside the permitted region this step is rejected. But how is that a sampling of a microcanonical ensemble?
 
Physics news on Phys.org
It is an approximation of the microcanonical ensemble. There are fluctuations in the total energy of the system, but if the energy of the demon is constrained enough, then the system will stay close to the actual microcanonical energy. The main advantage is to reduce the probability of rejection: if your were to try to simulate the actual microcanonical case, most of the computer time would be used generating configurations that would be rejected.
 
DrClaude said:
It is an approximation of the microcanonical ensemble. There are fluctuations in the total energy of the system, but if the energy of the demon is constrained enough, then the system will stay close to the actual microcanonical energy. The main advantage is to reduce the probability of rejection: if your were to try to simulate the actual microcanonical case, most of the computer time would be used generating configurations that would be rejected.
On wikipedia and my textbook the only constraint on the demon is that the demon should hold non-negative energy while in my opinion there also should be an upper bound as well for demon energy. And the energy fluctuation of the system is between E_demon_min and E_demon_max. If the energy fluctuation is small enough compared with the energy scale of the system we can regard the energy of the system fixed. Am I correct that there should be an upper bound for demon energy?

I've also done simulation for only two one dimensional particles. Without an upper bound on demon energy, it seems that we are effectively sampling the phase volume enclosed by the energy surface uniformly and this is by no means what we want.
 
gre_abandon said:
Am I correct that there should be an upper bound for demon energy?
It can be useful to limit the energy of the demon. To quote from the original paper:
To keep the demon from running off with all the energy, its energy must be restricted. The simplest constraint is that ##E_D## be a positive number, but further limitations could be useful in certain cases.
The way the algorithm is described in Landau & Binder, A Guide to Monte Carlo Simulations in Statistical Physics, there is also an upper limit to the demon energy.
 

Similar threads

  • · Replies 37 ·
2
Replies
37
Views
6K
  • · Replies 4 ·
Replies
4
Views
3K
  • Poll Poll
  • · Replies 5 ·
Replies
5
Views
6K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 13 ·
Replies
13
Views
4K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 21 ·
Replies
21
Views
4K
Replies
2
Views
4K