Elsevier Science Home
Computer Physics Communications Program Library
Full text online from Science Direct
Programs in Physics & Physical Chemistry
CPC Home

[Licence| Download | New Version Template] aecw_v1_1.tar.gz(4213 Kbytes)
Manuscript Title: An improved version of the Green's function molecular dynamics method
Authors: Ling Ti Kong, Colin Denniston, Martin H. Müser
Program title: FixGFC/FixGFMD v1.12
Catalogue identifier: AECW_v1_1
Distribution format: tar.gz
Journal reference: Comput. Phys. Commun. 182(2011)540
Programming language: C++.
Computer: All.
Operating system: Linux.
Has the code been vectorised or parallelized?: Yes. Code has been parallelized using MPI directives.
RAM: Depends on the problem
Keywords: elastic stiffness coefficients, elastic Green's function, molecular dynamics simulation.
Classification: 7.7.

External routines: LAMMPS (http://lammps.sandia.gov/), MPI (http://www.mcs.anl.gov/research/projects/mpi/), FFT (http://www.fftw.org/)

Does the new version supersede the previous version?: Yes

Nature of problem:
Green's function molecular dynamics (GFMD) is a coarse-graining method that enables one to investigate the full elastic response of an interface between a semi-infinite solid and a contact while taking only the surface atoms in the solid into consideration. The effect of long-range elastic deformations on the surface atoms from the semi-infinite solid is replaced by effective elastic interactions, thus reducing the problem from three dimensions to two dimensions without compromising the physical essence of the problem.

Solution method:
See "Nature of problem".

Reasons for new version:
The basic theory underlying the new version is essentially the same as the previous one, while the special treatment to reduce the finite size effect on effective elastic coefficients at the Γ point is now realized in a physically meaningful manner. Finite size effects are an important issue in molecular dynamics simulations, particularly for GFMD, they result in a violation of the acoustic sum rule (ASR) for the effective elastic coefficients measured at the Γ-point (ΦΓ). In the previous implementation, the effective elastic coefficients measured at the Γ point were altered by setting their eigenvalues corresponding to the acoustic modes to zero. This scheme was found to work well for simple Bravais lattices as long as only atoms within the last layer were treated as Green's function atoms. However, it failed to function as expected in all other cases. We therefore adopt a new algorithm to enforce the ASR for ΦΓ,[3] which is implemented in this revision.

Summary of revisions:
Assuming the lattice under study consists of surface unit cells with n basis atoms labeled by k =1, 2, ..., n. When all atoms in the lattice are moved by the same amount, i.e., the crystal is rigidly translated, the force on any atom must be zero. This is known as the translational invariance, leading to the so-called acoustic sum rule:

Σk′ Φkα,k′β(Γ) = 0

where Φkα,k′β(Γ) is the kα,k′β component of the effective elastic coefficients at the Γ-point; we will denote it as ΦΓ hereafter. α and β enumerate the Cartesian directions. In addition, ΦΓ should be Hermitian (Or symmetric, since at the Γ point, the imaginary part of ΦΓ is zero.) because of the commutative nature of the force constants:

ΦΓkα,k′β = ΦΓk′β,kα

These two properties are expected for ΦΓ, yet the ASR is not satisfied during the measurement (done by FixGFC) because of the finite size effect. A scheme is therefore needed to enforce ASR on ΦΓ afterwards, while the symmetric nature of ΦΓ should also be enforced.
We list below the detailed scheme adopted to enforce ASR implemented in the improved version of GFMD together with some other revisions to the code after the previous release.
  1. In FixGFMD, the previously employed method to rescale the effective elastic coefficients at Γ is obsoleted. Instead, an iterative procedure is adopted to enforce the acoustic sum rule on ΦΓ: [3]
    (i) Σk' Φkα,k′β = 0 is enforced by subtracting each element involved by a contrast term; this procedure removes the violation of the acoustic sum rule, while in turn, usually destroys the symmetry of the force constant matrix.
    (ii) Symmetry is restored by replacing Φkα,k′β and Φk′β,kα. with their average value; this will ensure the symmetry of the matrix, however, it will break the acoustic sum rule slightly.
    (iii) The above steps are repeated for several iterations, followed by a "symmetric ASR": similar to step (i), Σk'Φkα,k′β = 0 is enforced but only elements with k'k are subtracted by a constant value, while setting Φk′β,kα = Φkα,k′β.
  2. In FixGFC, the surface lattice vectors and the relative positions of each atom in the surface unit cell are also computed and written to the binary file, which can be used in FixGFMD to set the equilibrium positions in the Green's function slab based on their lattice indices.
  3. In FixGFMD, it is now possible to output the total forces applied on atoms in the Green's function slab before applying the elastic forces as a thermal quantity for LAMMPS [6]. It is also possible to reset these forces to zero before applying the elastic forces
  4. In both FixGFC and FixGFMD, the dependence on mpi-enabled FFTW 2.1.5 was lifted. The Fourier transformations are now accomplished by calling the FFT3d wrapper from standard package "kspace" of LAMMPS. [4. 5. 6]

By adopting the new method to enforce the acoustic sum rule, the restriction that atoms in the Green's function slab must be in the same layer is lifted, while it is still necessary to ensure that the mean equilibrium positions of atoms in the Green's function slab satisfies the Born-von Karman boundary condition. In addition, only deformations within the harmonic regime are produced in the slab during Green's function molecular dynamics simulations.

Additional comments:
The new version is not compatible with the previous one: the contents in the binary file are different and therefore the effective elastic coefficients measured by the previous version of FixGFC cannot be used by the current version of FixGFMD.

Running time:
FixGFC varies from minutes to days, like a typical molecular dynamics simulation, depending on the system size, the number of processors used, and the complexity of the force field. FixGFMD varies from seconds to hours, depending on the system size and the number of processors used.

[1] L. T. Kong, G. Bartels, C. Campañá, C. Denniston, M.H. Müser Implementation of Green's function molecular dynamics: An extension to LAMMPS, Computer Physics Communications 180(6)(2009) 1004-1010
[2] C. Campañá, M.H. Müser, Practical Green's function approach to the simulation of elastic semi-infinite solids, Physical Review B (Condensed Matter and Materials Physics) 74(7)(2006) 075420.
[3] L. T. Kong, Phonon dispersion measured directly from molecular dynamics simulations, submitted to Computer Physics Communications,(2010).
[4] S. J. Plimpton, Fast parallel algorithms for short-range molecular dynamics, J. Comp. Phys. 117(1995) 1-19
[5] S.J.Plimpton, R.Pollock, M.Stevens, Particle-mesh Ewald and RRESPA for parallel molecular dynamics simulation, in: Proc of the Eighth SIAM Conference on Parallel Processing for Scientific Computing, Minneapolis, MN, 1997.
[6] Large-scale Atomic/Molecular Massively Parallel Simulator, LAMMPS, available at: http://lammps.sandia.gov.