Download THE DL-POLY-4 USER MANUAL

Transcript
c
STFC
3.4.3
Section 3.4
Andersen Thermostat
This thermostat assumes the idea that the system, or some subset of the system, has an instantaneous interaction with some fictional particles and exchanges energy. Practically, this interaction
amounts to replacing the momentum of some atoms with a new momentum drawn from the correct Boltzmann distribution at the desired temperature. The strength of the thermostat can be
adjusted by setting the average time interval over which the interactions occur, and by setting the
magnitude of the interaction. The collisions are best described as a random (Poisson) process so
that the probability that a collision occurs in a time step ∆t is
(
Pcollision (t) = 1 − exp −
∆t
τT
)
,
(3.45)
where τT is the thermostat relaxation time. The hardest collision is to completely reset the momentum of the Poisson selected atoms in the system, with a new one selected from the Boltzmann
distribution
√(
F (v i ) =
mi
2πkB Text
)3
(
mi v 2i
exp −
2kB Text
√
)
kB Text
Gauss(0, 1) .
2mi
=
(3.46)
where subscripts denote particle indices, kB is the Boltzmann constant, Text the target temperature
and mi the particle’s mass. The thermostat can be made softer by mixing the new momentum v new
i
drawn from F (v i ) with the old momentum v old
i
v i = α v old
+
i
√
1 − α2 v new
,
i
(3.47)
where α (0 ≤ α ≤ 1) is the softness of the thermostat. In practice, a uniform distribution random
number, uni(i), is generated for
( each) particle in the system, which is compared to the collision
probability. If uni(i) ≤ 1 − exp − ∆t
the particle momentum is changed as described above.
τT
The VV implementation of the Andersen algorithm is as follows:
1. VV1:
1
∆t f (t)
v(t + ∆t) ← v(t) +
2
2 m
1
r(t + ∆t) ← r(t) + ∆t v(t + ∆t)
2
(3.48)
2. RATTLE VV1
3. FF:
f (t + ∆t) ← f (t)
4. VV2:
1
∆t
v(t + ∆t) ← v(t + ∆t) +
2
2
5. RATTLE VV2
64
(3.49)
[
f (t + ∆t)
m
]
(3.50)