The Pressure in Systems with Frozen Atoms
W.Smith
and P.M. Rodger
,
Computation Science and Engineering Department,
C.C.L.R.C. Daresbury Laboratory,
Daresbury, Warrington WA4 4AD, U.K.
Department of Chemistry, University of Warwick,
Coventry, U.K.
In molecular dynamics it is often an advantage to fix the position of
some atoms, so that they are unaffected by the normal dynamics of the
system. Such `frozen' atoms then form a fixed background to the events
occuring in the simulation, but nevertheless exert an influence. This
is of use, for example, in studies of catalysis, where atoms remote
from the active site exert background forces on the process, but
otherwise are not dynamically involved.
However, questions arise concerning the pressure in such systems. How
are we to treat the forces derived from these frozen atoms? Do they
contribute to the system virial and therefore to the system pressure?
In this short note we take a look at these questions.
It is instructive first to remind ourselves how pressure is calculated
in systems where all the atoms are free to move. The basis of the
pressure calculation comes from the Virial Theorem, which is due
to Clausius.
We begin by defining a quantity W for a system of N atoms.
The derivative with respect to time is
which, according to Newton, may be written in terms of the force
acting on each atom i as
The force
may be split into internal and external contributions as follows,
where
is the force on atom i due to atom j and
is the external force (i.e. one that does not arise from
mutual atom-atom interactions). The dash
on the summation
indicates that the condition i
j applies in the sum.
Now we have
The ensemble average of this equation may be written as
in which we have defined the the Kinetic Energy K as
and the Virial of Clausius
as
in which we have used the well-known equivalence
Now, for a system confined within a cubic box, the external force of
interest is the containing force supplied by the walls, which must
balance the pressure of the system. Furthermore it only acts when the
colliding atoms make contact with the walls. From these arguments we
deduce that
  .  = - 3L.A.P = - 3VP,
|
(10) |
In which P is the pressure, V the cube volume, L the width of the
cube and A the area of one face of the cube. The minus sign on the
right of this relation arises from the fact that the wall forces
act inwards on the system. (It is noteworthy that in this argument it
is assumed that the confining cube is sufficiently large that the size
of the atoms is negligible by comparison.)
By the Ergodic Hypothesis we may replace an ensemble average by
an average over time, thus we may write
 W |
= |
     dt |
|
| |
= |
  d mi .   |
|
| |
= |
   mi .  ![$\displaystyle \left.\vphantom{
\sum_i^N m_i \underline{r}_i \cdot \underline{\dot{r}}_i }\right]^{\tau}_{0}$](img42.png) |
|
| |
= |
0. |
(11) |
The last equality comes from the fact that the sum in square brackets
must always be finite, but the denominator
becomes
infinite. Thus finally we have:
0 = 2K - - 3PV,
|
(12) |
or in the more usual form
P = (2K - )/3V.
|
(13) |
This is the equation we normally use to calculate the pressure in our
simulations.
To adapt Clausius' theorem to this case, we begin by considering the
first Nf atoms from the N atom system as frozen. What effect do
they exert on the remaining system? Clearly forces arise from them
which act on the other atoms, but they are not themselves meaningfully
acted upon - inasmuch as they are not moved by these forces. The
principal effect is to exclude the mobile atoms from the volume that
surrounds them, and thus effectively reduce the system volume. Can we
use this observation?
Let us write the virial equation for the full N atom system:
in which we assume the first Nf atoms are frozen and the remainder
are free to move as Newton dictates. The first term on the left may
now be written as
where K is the kinetic energy of the free atoms only.
The virial term may be expanded into the following contributions
The first term on the right, contains contributions from the frozen
atoms alone. If we insist that these atoms never change their
positions it is difficult to see how this term can contribute to the
pressure. In thermodynamic terms this subset of interactions does
not scale with the system volume and thus cannot contribute to the
pressure via the standard relation:
Thus we fell justified in neglecting this term altogther.
The second term we may identify with the virial of the
freely moving atoms:
The third term involves both frozen and mobile atoms. Can this be
identified with a reduction in system volume as suggested above?
It turns out that it can.
Consider a single pair of atoms, one frozen and one free. The virial
contribution is
.
, which because the
force and interatomic vectors have the same direction, reduces simply
to
rijfij, if we assume for the moment that the system is
comprised of uniform hard spheres, this contribution if finite only
when
rij =
, which is the atomic diameter. fij then
corresponds to an impulse force. From the viewpoint of the frozen
atom, the sum of such impulse forces gives rise to a pressure acting
on the surface of a sphere of radius
centred on the frozen
atom. This pressure is, of course, the system pressure P. Thus we may
write for the hard sphere case (by analogy with the wall effect of the
containing cube):
Where Vh is the excluded volume around a frozen atom. The pressure
force in this case acts in the same direction as the vector rij
and leads to a positive result. Thus we see that the additional term
is effectively a correction to the system volume due to the finite
size of the frozen atoms. i.e. the pressure equation is now
3P(V - NfVh) = (2K - )
|
(20) |
In systems with continuous potentials however, we cannot express the
correction so neatly, but at least we see what it means. In practice
it is more straightforward to combine the volume correction terms with
the virial for the free atoms in 18 (and compute them at the same
time).
Thus, in summary, the only operational differences between calculating
pressure for a system of mobile atoms and one containing frozen atoms
are:
- When calculating the kinetic energy, the contributions from the
frozen atoms are zero.
- When calculating the virial, assume all forces between frozen
atoms are zero, but include all other pair forces.
This is, perhaps, a rather obvious result, but at least it now has
some foundation!