35 |
|
%\linenumbers\relax % Commence numbering lines |
36 |
|
\usepackage{amsmath} |
37 |
|
\usepackage{times} |
38 |
< |
\usepackage{mathptm} |
38 |
> |
\usepackage{mathptmx} |
39 |
|
\usepackage{tabularx} |
40 |
|
\usepackage[version=3]{mhchem} % this is a great package for formatting chemical reactions |
41 |
|
\usepackage{url} |
47 |
|
|
48 |
|
%\preprint{AIP/123-QED} |
49 |
|
|
50 |
< |
\title{Real space alternatives to the Ewald |
51 |
< |
Sum. II. Comparison of Methods} % Force line breaks with \\ |
50 |
> |
\title{Real space alternatives to the Ewald Sum. II. Comparison of Methods} |
51 |
|
|
52 |
|
\author{Madan Lamichhane} |
53 |
< |
\affiliation{Department of Physics, University |
55 |
< |
of Notre Dame, Notre Dame, IN 46556}%Lines break automatically or can be forced with \\ |
53 |
> |
\affiliation{Department of Physics, University of Notre Dame, Notre Dame, IN 46556} |
54 |
|
|
55 |
|
\author{Kathie E. Newman} |
56 |
< |
\affiliation{Department of Physics, University |
59 |
< |
of Notre Dame, Notre Dame, IN 46556} |
56 |
> |
\affiliation{Department of Physics, University of Notre Dame, Notre Dame, IN 46556} |
57 |
|
|
58 |
|
\author{J. Daniel Gezelter}% |
59 |
|
\email{gezelter@nd.edu.} |
60 |
< |
\affiliation{Department of Chemistry and Biochemistry, University of Notre Dame, Notre Dame, IN 46556%\\This line break forced with \textbackslash\textbackslash |
61 |
< |
}% |
60 |
> |
\affiliation{Department of Chemistry and Biochemistry, University of Notre Dame, Notre Dame, IN 46556 |
61 |
> |
} |
62 |
|
|
63 |
< |
\date{\today}% It is always \today, today, |
67 |
< |
% but any date may be explicitly specified |
63 |
> |
\date{\today} |
64 |
|
|
65 |
|
\begin{abstract} |
66 |
< |
We have tested the real-space shifted potential (SP), |
67 |
< |
gradient-shifted force (GSF), and Taylor-shifted force (TSF) methods |
68 |
< |
for multipoles that were developed in the first paper in this series |
69 |
< |
against a reference method. The tests were carried out in a variety |
70 |
< |
of condensed-phase environments which were designed to test all |
71 |
< |
levels of the multipole-multipole interactions. Comparisons of the |
66 |
> |
We report on tests of the shifted potential (SP), gradient shifted |
67 |
> |
force (GSF), and Taylor shifted force (TSF) real-space methods for |
68 |
> |
multipole interactions developed in the first paper in this series, |
69 |
> |
using the multipolar Ewald sum as a reference method. The tests were |
70 |
> |
carried out in a variety of condensed-phase environments designed to |
71 |
> |
test up to quadrupole-quadrupole interactions. Comparisons of the |
72 |
|
energy differences between configurations, molecular forces, and |
73 |
|
torques were used to analyze how well the real-space models perform |
74 |
< |
relative to the more computationally expensive Ewald sum. We have |
75 |
< |
also investigated the energy conservation properties of the new |
76 |
< |
methods in molecular dynamics simulations using all of these |
77 |
< |
methods. The SP method shows excellent agreement with |
78 |
< |
configurational energy differences, forces, and torques, and would |
79 |
< |
be suitable for use in Monte Carlo calculations. Of the two new |
80 |
< |
shifted-force methods, the GSF approach shows the best agreement |
81 |
< |
with Ewald-derived energies, forces, and torques and exhibits energy |
82 |
< |
conservation properties that make it an excellent choice for |
83 |
< |
efficiently computing electrostatic interactions in molecular |
88 |
< |
dynamics simulations. |
74 |
> |
relative to the more computationally expensive Ewald treatment. We |
75 |
> |
have also investigated the energy conservation properties of the new |
76 |
> |
methods in molecular dynamics simulations. The SP method shows |
77 |
> |
excellent agreement with configurational energy differences, forces, |
78 |
> |
and torques, and would be suitable for use in Monte Carlo |
79 |
> |
calculations. Of the two new shifted-force methods, the GSF |
80 |
> |
approach shows the best agreement with Ewald-derived energies, |
81 |
> |
forces, and torques and also exhibits energy conservation properties |
82 |
> |
that make it an excellent choice for efficient computation of |
83 |
> |
electrostatic interactions in molecular dynamics simulations. |
84 |
|
\end{abstract} |
85 |
|
|
86 |
|
%\pacs{Valid PACS appear here}% PACS, the Physics and Astronomy |
87 |
|
% Classification Scheme. |
88 |
< |
\keywords{Electrostatics, Multipoles, Real-space} |
88 |
> |
%\keywords{Electrostatics, Multipoles, Real-space} |
89 |
|
|
90 |
|
\maketitle |
91 |
|
|
97 |
– |
|
92 |
|
\section{\label{sec:intro}Introduction} |
93 |
|
Computing the interactions between electrostatic sites is one of the |
94 |
< |
most expensive aspects of molecular simulations, which is why there |
95 |
< |
have been significant efforts to develop practical, efficient and |
96 |
< |
convergent methods for handling these interactions. Ewald's method is |
97 |
< |
perhaps the best known and most accurate method for evaluating |
98 |
< |
energies, forces, and torques in explicitly-periodic simulation |
99 |
< |
cells. In this approach, the conditionally convergent electrostatic |
100 |
< |
energy is converted into two absolutely convergent contributions, one |
101 |
< |
which is carried out in real space with a cutoff radius, and one in |
102 |
< |
reciprocal space.\cite{Clarke:1986eu,Woodcock75} |
94 |
> |
most expensive aspects of molecular simulations. There have been |
95 |
> |
significant efforts to develop practical, efficient and convergent |
96 |
> |
methods for handling these interactions. Ewald's method is perhaps the |
97 |
> |
best known and most accurate method for evaluating energies, forces, |
98 |
> |
and torques in explicitly-periodic simulation cells. In this approach, |
99 |
> |
the conditionally convergent electrostatic energy is converted into |
100 |
> |
two absolutely convergent contributions, one which is carried out in |
101 |
> |
real space with a cutoff radius, and one in reciprocal |
102 |
> |
space.\cite{Ewald21,deLeeuw80,Smith81,Allen87} |
103 |
|
|
104 |
|
When carried out as originally formulated, the reciprocal-space |
105 |
|
portion of the Ewald sum exhibits relatively poor computational |
106 |
< |
scaling, making it prohibitive for large systems. By utilizing |
107 |
< |
particle meshes and three dimensional fast Fourier transforms (FFT), |
108 |
< |
the particle-mesh Ewald (PME), particle-particle particle-mesh Ewald |
109 |
< |
(P\textsuperscript{3}ME), and smooth particle mesh Ewald (SPME) methods can decrease |
110 |
< |
the computational cost from $O(N^2)$ down to $O(N \log |
111 |
< |
N)$.\cite{Takada93,Gunsteren94,Gunsteren95,Darden:1993pd,Essmann:1995pb}. |
106 |
> |
scaling, making it prohibitive for large systems. By utilizing a |
107 |
> |
particle mesh and three dimensional fast Fourier transforms (FFT), the |
108 |
> |
particle-mesh Ewald (PME), particle-particle particle-mesh Ewald |
109 |
> |
(P\textsuperscript{3}ME), and smooth particle mesh Ewald (SPME) |
110 |
> |
methods can decrease the computational cost from $O(N^2)$ down to $O(N |
111 |
> |
\log |
112 |
> |
N)$.\cite{Takada93,Gunsteren94,Gunsteren95,Darden:1993pd,Essmann:1995pb} |
113 |
|
|
114 |
< |
Because of the artificial periodicity required for the Ewald sum, the |
120 |
< |
method may require modification to compute interactions for |
114 |
> |
Because of the artificial periodicity required for the Ewald sum, |
115 |
|
interfacial molecular systems such as membranes and liquid-vapor |
116 |
< |
interfaces.\cite{Parry:1975if,Parry:1976fq,Clarke77,Perram79,Rhee:1989kl} |
117 |
< |
To simulate interfacial systems, Parry’s extension of the 3D Ewald sum |
118 |
< |
is appropriate for slab geometries.\cite{Parry:1975if} The inherent |
119 |
< |
periodicity in the Ewald’s method can also be problematic for |
120 |
< |
interfacial molecular systems.\cite{Fennell:2006lq} Modified Ewald |
121 |
< |
methods that were developed to handle two-dimensional (2D) |
122 |
< |
electrostatic interactions in interfacial systems have not had similar |
123 |
< |
particle-mesh treatments.\cite{Parry:1975if, Parry:1976fq, Clarke77, |
124 |
< |
Perram79,Rhee:1989kl,Spohr:1997sf,Yeh:1999oq} |
116 |
> |
interfaces require modifications to the method. Parry's extension of |
117 |
> |
the three dimensional Ewald sum is appropriate for slab |
118 |
> |
geometries.\cite{Parry:1975if} Modified Ewald methods that were |
119 |
> |
developed to handle two-dimensional (2-D) electrostatic |
120 |
> |
interactions,\cite{Parry:1975if,Parry:1976fq,Clarke77,Perram79,Rhee:1989kl} |
121 |
> |
but these methods were originally quite computationally |
122 |
> |
expensive.\cite{Spohr97,Yeh99} There have been several successful |
123 |
> |
efforts that reduced the computational cost of 2-D lattice |
124 |
> |
summations,\cite{Yeh99,Kawata01,Arnold02,deJoannis02,Brodka04} |
125 |
> |
bringing them more in line with the scaling for the full 3-D |
126 |
> |
treatments. The inherent periodicity in the Ewald method can also |
127 |
> |
be problematic for interfacial molecular |
128 |
> |
systems.\cite{Roberts94,Roberts95,Luty96,Hunenberger99a,Hunenberger99b,Weber00,Fennell:2006lq} |
129 |
|
|
130 |
|
\subsection{Real-space methods} |
131 |
|
Wolf \textit{et al.}\cite{Wolf:1999dn} proposed a real space $O(N)$ |
132 |
|
method for calculating electrostatic interactions between point |
133 |
< |
charges. They argued that the effective Coulomb interaction in |
134 |
< |
condensed systems is actually short ranged.\cite{Wolf92,Wolf95}. For |
135 |
< |
an ordered lattice (e.g. when computing the Madelung constant of an |
136 |
< |
ionic solid), the material can be considered as a set of ions |
137 |
< |
interacting with neutral dipolar or quadrupolar ``molecules'' giving |
138 |
< |
an effective distance dependence for the electrostatic interactions of |
139 |
< |
$r^{-5}$ (see figure \ref{fig:NaCl}. For this reason, careful |
140 |
< |
applications of Wolf's method are able to obtain accurate estimates of |
141 |
< |
Madelung constants using relatively short cutoff radii. Recently, |
142 |
< |
Fukuda used neutralization of the higher order moments for the |
143 |
< |
calculation of the electrostatic interaction of the point charges |
144 |
< |
system.\cite{Fukuda:2013sf} |
133 |
> |
charges. They argued that the effective Coulomb interaction in most |
134 |
> |
condensed phase systems is effectively short |
135 |
> |
ranged.\cite{Wolf92,Wolf95} For an ordered lattice (e.g., when |
136 |
> |
computing the Madelung constant of an ionic solid), the material can |
137 |
> |
be considered as a set of ions interacting with neutral dipolar or |
138 |
> |
quadrupolar ``molecules'' giving an effective distance dependence for |
139 |
> |
the electrostatic interactions of $r^{-5}$ (see figure |
140 |
> |
\ref{fig:schematic}). If one views the \ce{NaCl} crystal as a simple |
141 |
> |
cubic (SC) structure with an octupolar \ce{(NaCl)4} basis, the |
142 |
> |
electrostatic energy per ion converges more rapidly to the Madelung |
143 |
> |
energy than the dipolar approximation.\cite{Wolf92} To find the |
144 |
> |
correct Madelung constant, Lacman suggested that the NaCl structure |
145 |
> |
could be constructed in a way that the finite crystal terminates with |
146 |
> |
complete \ce{(NaCl)4} molecules.\cite{Lacman65} The central ion sees |
147 |
> |
what is effectively a set of octupoles at large distances. These facts |
148 |
> |
suggest that the Madelung constants are relatively short ranged for |
149 |
> |
perfect ionic crystals.\cite{Wolf:1999dn} For this reason, careful |
150 |
> |
application of Wolf's method can provide accurate estimates of |
151 |
> |
Madelung constants using relatively short cutoff radii. |
152 |
|
|
153 |
< |
\begin{figure}[h!] |
153 |
> |
Direct truncation of interactions at a cutoff radius creates numerical |
154 |
> |
errors. Wolf \textit{et al.} suggest that truncation errors are due |
155 |
> |
to net charge remaining inside the cutoff sphere.\cite{Wolf:1999dn} To |
156 |
> |
neutralize this charge they proposed placing an image charge on the |
157 |
> |
surface of the cutoff sphere for every real charge inside the cutoff. |
158 |
> |
These charges are present for the evaluation of both the pair |
159 |
> |
interaction energy and the force, although the force expression |
160 |
> |
maintains a discontinuity at the cutoff sphere. In the original Wolf |
161 |
> |
formulation, the total energy for the charge and image were not equal |
162 |
> |
to the integral of the force expression, and as a result, the total |
163 |
> |
energy would not be conserved in molecular dynamics (MD) |
164 |
> |
simulations.\cite{Zahn:2002hc} Zahn \textit{et al.}, and Fennel and |
165 |
> |
Gezelter later proposed shifted force variants of the Wolf method with |
166 |
> |
commensurate force and energy expressions that do not exhibit this |
167 |
> |
problem.\cite{Zahn:2002hc,Fennell:2006lq} Related real-space methods |
168 |
> |
were also proposed by Chen \textit{et |
169 |
> |
al.}\cite{Chen:2004du,Chen:2006ii,Denesyuk:2008ez,Rodgers:2006nw} |
170 |
> |
and by Wu and Brooks.\cite{Wu:044107} Recently, Fukuda has successfuly |
171 |
> |
used additional neutralization of higher order moments for systems of |
172 |
> |
point charges.\cite{Fukuda:2013sf} |
173 |
> |
|
174 |
> |
\begin{figure} |
175 |
|
\centering |
176 |
< |
\includegraphics[width=0.50 \textwidth]{chargesystem.pdf} |
177 |
< |
\caption{Top: NaCl crystal showing how spherical truncation can |
178 |
< |
breaking effective charge ordering, and how complete \ce{(NaCl)4} |
179 |
< |
molecules interact with the central ion. Bottom: A dipolar |
180 |
< |
crystal exhibiting similar behavior and illustrating how the |
181 |
< |
effective dipole-octupole interactions can be disrupted by |
182 |
< |
spherical truncation.} |
183 |
< |
\label{fig:NaCl} |
176 |
> |
\includegraphics[width=\linewidth]{schematic.pdf} |
177 |
> |
\caption{Top: Ionic systems exhibit local clustering of dissimilar |
178 |
> |
charges (in the smaller grey circle), so interactions are |
179 |
> |
effectively charge-multipole at longer distances. With hard |
180 |
> |
cutoffs, motion of individual charges in and out of the cutoff |
181 |
> |
sphere can break the effective multipolar ordering. Bottom: |
182 |
> |
dipolar crystals and fluids have a similar effective |
183 |
> |
\textit{quadrupolar} ordering (in the smaller grey circles), and |
184 |
> |
orientational averaging helps to reduce the effective range of the |
185 |
> |
interactions in the fluid. Placement of reversed image multipoles |
186 |
> |
on the surface of the cutoff sphere recovers the effective |
187 |
> |
higher-order multipole behavior.} |
188 |
> |
\label{fig:schematic} |
189 |
|
\end{figure} |
190 |
|
|
191 |
< |
The direct truncation of interactions at a cutoff radius creates |
192 |
< |
truncation defects. Wolf \textit{et al.} further argued that |
193 |
< |
truncation errors are due to net charge remaining inside the cutoff |
194 |
< |
sphere.\cite{Wolf:1999dn} To neutralize this charge they proposed |
195 |
< |
placing an image charge on the surface of the cutoff sphere for every |
196 |
< |
real charge inside the cutoff. These charges are present for the |
197 |
< |
evaluation of both the pair interaction energy and the force, although |
198 |
< |
the force expression maintained a discontinuity at the cutoff sphere. |
199 |
< |
In the original Wolf formulation, the total energy for the charge and |
200 |
< |
image were not equal to the integral of their force expression, and as |
170 |
< |
a result, the total energy would not be conserved in molecular |
171 |
< |
dynamics (MD) simulations.\cite{Zahn:2002hc} Zahn \textit{et al.} and |
172 |
< |
Fennel and Gezelter later proposed shifted force variants of the Wolf |
173 |
< |
method with commensurate force and energy expressions that do not |
174 |
< |
exhibit this problem.\cite{Fennell:2006lq} Related real-space |
175 |
< |
methods were also proposed by Chen \textit{et |
176 |
< |
al.}\cite{Chen:2004du,Chen:2006ii,Denesyuk:2008ez,Rodgers:2006nw} |
177 |
< |
and by Wu and Brooks.\cite{Wu:044107} |
178 |
< |
|
179 |
< |
Considering the interaction of one central ion in an ionic crystal |
180 |
< |
with a portion of the crystal at some distance, the effective Columbic |
181 |
< |
potential is found to be decreasing as $r^{-5}$. If one views the |
182 |
< |
\ce{NaCl} crystal as simple cubic (SC) structure with an octupolar |
183 |
< |
\ce{(NaCl)4} basis, the electrostatic energy per ion converges more |
184 |
< |
rapidly to the Madelung energy than the dipolar |
185 |
< |
approximation.\cite{Wolf92} To find the correct Madelung constant, |
186 |
< |
Lacman suggested that the NaCl structure could be constructed in a way |
187 |
< |
that the finite crystal terminates with complete \ce{(NaCl)4} |
188 |
< |
molecules.\cite{Lacman65} Any charge in a NaCl crystal is surrounded |
189 |
< |
by opposite charges. Similarly for each pair of charges, there is an |
190 |
< |
opposite pair of charge adjacent to it. The central ion sees what is |
191 |
< |
effectively a set of octupoles at large distances. These facts suggest |
192 |
< |
that the Madelung constants are relatively short ranged for perfect |
193 |
< |
ionic crystals.\cite{Wolf:1999dn} |
194 |
< |
|
195 |
< |
One can make a similar argument for crystals of point multipoles. The |
196 |
< |
Luttinger and Tisza treatment of energy constants for dipolar lattices |
197 |
< |
utilizes 24 basis vectors that contain dipoles at the eight corners of |
198 |
< |
a unit cube. Only three of these basis vectors, $X_1, Y_1, |
199 |
< |
\mathrm{~and~} Z_1,$ retain net dipole moments, while the rest have |
200 |
< |
zero net dipole and retain contributions only from higher order |
201 |
< |
multipoles. The effective interaction between a dipole at the center |
191 |
> |
One can make a similar effective range argument for crystals of point |
192 |
> |
\textit{multipoles}. The Luttinger and Tisza treatment of energy |
193 |
> |
constants for dipolar lattices utilizes 24 basis vectors that contain |
194 |
> |
dipoles at the eight corners of a unit cube.\cite{LT} Only three of |
195 |
> |
these basis vectors, $X_1, Y_1, \mathrm{~and~} Z_1,$ retain net dipole |
196 |
> |
moments, while the rest have zero net dipole and retain contributions |
197 |
> |
only from higher order multipoles. The lowest-energy crystalline |
198 |
> |
structures are built out of basis vectors that have only residual |
199 |
> |
quadrupolar moments (e.g. the $Z_5$ array). In these low energy |
200 |
> |
structures, the effective interaction between a dipole at the center |
201 |
|
of a crystal and a group of eight dipoles farther away is |
202 |
|
significantly shorter ranged than the $r^{-3}$ that one would expect |
203 |
|
for raw dipole-dipole interactions. Only in crystals which retain a |
207 |
|
unstable. |
208 |
|
|
209 |
|
In ionic crystals, real-space truncation can break the effective |
210 |
< |
multipolar arrangements (see Fig. \ref{fig:NaCl}), causing significant |
211 |
< |
swings in the electrostatic energy as the cutoff radius is increased |
212 |
< |
(or as individual ions move back and forth across the boundary). This |
213 |
< |
is why the image charges were necessary for the Wolf sum to exhibit |
214 |
< |
rapid convergence. Similarly, the real-space truncation of point |
215 |
< |
multipole interactions breaks higher order multipole arrangements, and |
216 |
< |
image multipoles are required for real-space treatments of |
218 |
< |
electrostatic energies. |
210 |
> |
multipolar arrangements (see Fig. \ref{fig:schematic}), causing |
211 |
> |
significant swings in the electrostatic energy as individual ions move |
212 |
> |
back and forth across the boundary. This is why the image charges are |
213 |
> |
necessary for the Wolf sum to exhibit rapid convergence. Similarly, |
214 |
> |
the real-space truncation of point multipole interactions breaks |
215 |
> |
higher order multipole arrangements, and image multipoles are required |
216 |
> |
for real-space treatments of electrostatic energies. |
217 |
|
|
218 |
+ |
The shorter effective range of electrostatic interactions is not |
219 |
+ |
limited to perfect crystals, but can also apply in disordered fluids. |
220 |
+ |
Even at elevated temperatures, there is local charge balance in an |
221 |
+ |
ionic liquid, where each positive ion has surroundings dominated by |
222 |
+ |
negaitve ions and vice versa. The reversed-charge images on the |
223 |
+ |
cutoff sphere that are integral to the Wolf and DSF approaches retain |
224 |
+ |
the effective multipolar interactions as the charges traverse the |
225 |
+ |
cutoff boundary. |
226 |
+ |
|
227 |
+ |
In multipolar fluids (see Fig. \ref{fig:schematic}) there is |
228 |
+ |
significant orientational averaging that additionally reduces the |
229 |
+ |
effect of long-range multipolar interactions. The image multipoles |
230 |
+ |
that are introduced in the TSF, GSF, and SP methods mimic this effect |
231 |
+ |
and reduce the effective range of the multipolar interactions as |
232 |
+ |
interacting molecules traverse each other's cutoff boundaries. |
233 |
+ |
|
234 |
|
% Because of this reason, although the nature of electrostatic |
235 |
|
% interaction short ranged, the hard cutoff sphere creates very large |
236 |
|
% fluctuation in the electrostatic energy for the perfect crystal. In |
241 |
|
% to the non-neutralized value of the higher order moments within the |
242 |
|
% cutoff sphere. |
243 |
|
|
244 |
< |
The forces and torques acting on atomic sites are the fundamental |
245 |
< |
factors driving dynamics in molecular simulations. Fennell and |
246 |
< |
Gezelter proposed the damped shifted force (DSF) energy kernel to |
247 |
< |
obtain consistent energies and forces on the atoms within the cutoff |
248 |
< |
sphere. Both the energy and the force go smoothly to zero as an atom |
249 |
< |
aproaches the cutoff radius. The comparisons of the accuracy these |
250 |
< |
quantities between the DSF kernel and SPME was surprisingly |
251 |
< |
good.\cite{Fennell:2006lq} The DSF method has seen increasing use for |
252 |
< |
calculating electrostatic interactions in molecular systems with |
253 |
< |
relatively uniform charge |
240 |
< |
densities.\cite{Shi:2013ij,Kannam:2012rr,Acevedo13,Space12,English08,Lawrence13,Vergne13} |
244 |
> |
Forces and torques acting on atomic sites are fundamental in driving |
245 |
> |
dynamics in molecular simulations, and the damped shifted force (DSF) |
246 |
> |
energy kernel provides consistent energies and forces on charged atoms |
247 |
> |
within the cutoff sphere. Both the energy and the force go smoothly to |
248 |
> |
zero as an atom aproaches the cutoff radius. The comparisons of the |
249 |
> |
accuracy these quantities between the DSF kernel and SPME was |
250 |
> |
surprisingly good.\cite{Fennell:2006lq} As a result, the DSF method |
251 |
> |
has seen increasing use in molecular systems with relatively uniform |
252 |
> |
charge |
253 |
> |
densities.\cite{English08,Kannam:2012rr,Space12,Lawrence13,Acevedo13,Shi:2013ij,Vergne13} |
254 |
|
|
255 |
|
\subsection{The damping function} |
256 |
< |
The damping function used in our research has been discussed in detail |
257 |
< |
in the first paper of this series.\cite{PaperI} The radial kernel |
258 |
< |
$1/r$ for the interactions between point charges can be replaced by |
259 |
< |
the complementary error function $\mathrm{erfc}(\alpha r)/r$ to |
260 |
< |
accelerate the rate of convergence, where $\alpha$ is a damping |
261 |
< |
parameter with units of inverse distance. Altering the value of |
262 |
< |
$\alpha$ is equivalent to changing the width of Gaussian charge |
263 |
< |
distributions that replace each point charge -- Gaussian overlap |
264 |
< |
integrals yield complementary error functions when truncated at a |
265 |
< |
finite distance. |
256 |
> |
The damping function has been discussed in detail in the first paper |
257 |
> |
of this series.\cite{PaperI} The $1/r$ Coulombic kernel for the |
258 |
> |
interactions between point charges can be replaced by the |
259 |
> |
complementary error function $\mathrm{erfc}(\alpha r)/r$ to accelerate |
260 |
> |
convergence, where $\alpha$ is a damping parameter with units of |
261 |
> |
inverse distance. Altering the value of $\alpha$ is equivalent to |
262 |
> |
changing the width of Gaussian charge distributions that replace each |
263 |
> |
point charge, as Coulomb integrals with Gaussian charge distributions |
264 |
> |
produce complementary error functions when truncated at a finite |
265 |
> |
distance. |
266 |
|
|
267 |
< |
By using suitable value of damping alpha ($\alpha \sim 0.2$) for a |
268 |
< |
cutoff radius ($r_{c}=9 A$), Fennel and Gezelter produced very good |
269 |
< |
agreement with SPME for the interaction energies, forces and torques |
270 |
< |
for charge-charge interactions.\cite{Fennell:2006lq} |
267 |
> |
With moderate damping coefficients, $\alpha \sim 0.2$, the DSF method |
268 |
> |
produced very good agreement with SPME for interaction energies, |
269 |
> |
forces and torques for charge-charge |
270 |
> |
interactions.\cite{Fennell:2006lq} |
271 |
|
|
272 |
|
\subsection{Point multipoles in molecular modeling} |
273 |
|
Coarse-graining approaches which treat entire molecular subsystems as |
274 |
|
a single rigid body are now widely used. A common feature of many |
275 |
|
coarse-graining approaches is simplification of the electrostatic |
276 |
|
interactions between bodies so that fewer site-site interactions are |
277 |
< |
required to compute configurational energies. Many coarse-grained |
278 |
< |
molecular structures would normally consist of equal positive and |
266 |
< |
negative charges, and rather than use multiple site-site interactions, |
267 |
< |
the interaction between higher order multipoles can also be used to |
268 |
< |
evaluate a single molecule-molecule |
269 |
< |
interaction.\cite{Ren06,Essex10,Essex11} |
277 |
> |
required to compute configurational |
278 |
> |
energies.\cite{Ren06,Essex10,Essex11} |
279 |
|
|
280 |
< |
Because electrons in a molecule are not localized at specific points, |
281 |
< |
the assignment of partial charges to atomic centers is a relatively |
282 |
< |
rough approximation. Atomic sites can also be assigned point |
283 |
< |
multipoles and polarizabilities to increase the accuracy of the |
284 |
< |
molecular model. Recently, water has been modeled with point |
285 |
< |
multipoles up to octupolar |
286 |
< |
order.\cite{Ichiye10_1,Ichiye10_2,Ichiye10_3} Atom-centered point |
280 |
> |
Additionally, because electrons in a molecule are not localized at |
281 |
> |
specific points, the assignment of partial charges to atomic centers |
282 |
> |
is always an approximation. For increased accuracy, atomic sites can |
283 |
> |
also be assigned point multipoles and polarizabilities. Recently, |
284 |
> |
water has been modeled with point multipoles up to octupolar order |
285 |
> |
using the soft sticky dipole-quadrupole-octupole (SSDQO) |
286 |
> |
model.\cite{Ichiye10_1,Ichiye10_2,Ichiye10_3} Atom-centered point |
287 |
|
multipoles up to quadrupolar order have also been coupled with point |
288 |
|
polarizabilities in the high-quality AMOEBA and iAMOEBA water |
289 |
< |
models.\cite{Ren:2003uq,Ren:2004kx,Ponder:2010vl,Wang:2013fk}. But |
290 |
< |
using point multipole with the real space truncation without |
291 |
< |
accounting for multipolar neutrality will create energy conservation |
292 |
< |
issues in molecular dynamics (MD) simulations. |
289 |
> |
models.\cite{Ren:2003uq,Ren:2004kx,Ponder:2010vl,Wang:2013fk} However, |
290 |
> |
truncating point multipoles without smoothing the forces and torques |
291 |
> |
can create energy conservation issues in molecular dynamics |
292 |
> |
simulations. |
293 |
|
|
294 |
|
In this paper we test a set of real-space methods that were developed |
295 |
|
for point multipolar interactions. These methods extend the damped |
296 |
|
shifted force (DSF) and Wolf methods originally developed for |
297 |
|
charge-charge interactions and generalize them for higher order |
298 |
< |
multipoles. The detailed mathematical development of these methods has |
299 |
< |
been presented in the first paper in this series, while this work |
300 |
< |
covers the testing the energies, forces, torques, and energy |
298 |
> |
multipoles. The detailed mathematical development of these methods |
299 |
> |
has been presented in the first paper in this series, while this work |
300 |
> |
covers the testing of energies, forces, torques, and energy |
301 |
|
conservation properties of the methods in realistic simulation |
302 |
|
environments. In all cases, the methods are compared with the |
303 |
< |
reference method, a full multipolar Ewald treatment. |
303 |
> |
reference method, a full multipolar Ewald treatment.\cite{Smith82,Smith98} |
304 |
|
|
305 |
|
|
306 |
|
%\subsection{Conservation of total energy } |
326 |
|
\begin{equation} |
327 |
|
U_{\bf{ab}}(r)=\hat{M}_{\bf a} \hat{M}_{\bf b} \frac{1}{r} \label{kernel}. |
328 |
|
\end{equation} |
329 |
< |
where the multipole operator for site $\bf a$, |
330 |
< |
\begin{equation} |
331 |
< |
\hat{M}_{\bf a} = C_{\bf a} - D_{{\bf a}\alpha} \frac{\partial}{\partial r_{\alpha}} |
332 |
< |
+ Q_{{\bf a}\alpha\beta} |
324 |
< |
\frac{\partial^2}{\partial r_{\alpha} \partial r_{\beta}} + \dots |
325 |
< |
\end{equation} |
326 |
< |
is expressed in terms of the point charge, $C_{\bf a}$, dipole, |
327 |
< |
$D_{{\bf a}\alpha}$, and quadrupole, $Q_{{\bf a}\alpha\beta}$, for |
328 |
< |
object $\bf a$. Note that in this work, we use the primitive |
329 |
< |
quadrupole tensor, $Q_{a\alpha,\beta}=\frac{1}{2}\sum_{k\;in\;a}q_k |
330 |
< |
r_{k\alpha}r_{k\beta}$ to represent point quadrupoles on a site. |
329 |
> |
where the multipole operator for site $\bf a$, $\hat{M}_{\bf a}$, is |
330 |
> |
expressed in terms of the point charge, $C_{\bf a}$, dipole, ${\bf D}_{\bf |
331 |
> |
a}$, and quadrupole, $\mathbf{Q}_{\bf a}$, for object |
332 |
> |
$\bf a$, etc. |
333 |
|
|
334 |
< |
Interactions between multipoles can be expressed as higher derivatives |
335 |
< |
of the bare Coulomb potential, so one way of ensuring that the forces |
336 |
< |
and torques vanish at the cutoff distance is to include a larger |
337 |
< |
number of terms in the truncated Taylor expansion, e.g., |
338 |
< |
% |
339 |
< |
\begin{equation} |
340 |
< |
f_n^{\text{shift}}(r)=\sum_{m=0}^{n+1} \frac {(r-r_c)^m}{m!} f^{(m)} \Big \lvert _{r_c} . |
341 |
< |
\end{equation} |
342 |
< |
% |
343 |
< |
The combination of $f(r)$ with the shifted function is denoted $f_n(r)=f(r)-f_n^{\text{shift}}(r)$. |
344 |
< |
Thus, for $f(r)=1/r$, we find |
345 |
< |
% |
346 |
< |
\begin{equation} |
347 |
< |
f_1(r)=\frac{1}{r}- \frac{1}{r_c} + (r - r_c) \frac{1}{r_c^2} - \frac{(r-r_c)^2}{r_c^3} . |
348 |
< |
\end{equation} |
349 |
< |
This function is an approximate electrostatic potential that has |
350 |
< |
vanishing second derivatives at the cutoff radius, making it suitable |
351 |
< |
for shifting the forces and torques of charge-dipole interactions. |
334 |
> |
% Interactions between multipoles can be expressed as higher derivatives |
335 |
> |
% of the bare Coulomb potential, so one way of ensuring that the forces |
336 |
> |
% and torques vanish at the cutoff distance is to include a larger |
337 |
> |
% number of terms in the truncated Taylor expansion, e.g., |
338 |
> |
% % |
339 |
> |
% \begin{equation} |
340 |
> |
% f_n^{\text{shift}}(r)=\sum_{m=0}^{n+1} \frac {(r-r_c)^m}{m!} f^{(m)} \Big \lvert _{r_c} . |
341 |
> |
% \end{equation} |
342 |
> |
% % |
343 |
> |
% The combination of $f(r)$ with the shifted function is denoted $f_n(r)=f(r)-f_n^{\text{shift}}(r)$. |
344 |
> |
% Thus, for $f(r)=1/r$, we find |
345 |
> |
% % |
346 |
> |
% \begin{equation} |
347 |
> |
% f_1(r)=\frac{1}{r}- \frac{1}{r_c} + (r - r_c) \frac{1}{r_c^2} - \frac{(r-r_c)^2}{r_c^3} . |
348 |
> |
% \end{equation} |
349 |
> |
% This function is an approximate electrostatic potential that has |
350 |
> |
% vanishing second derivatives at the cutoff radius, making it suitable |
351 |
> |
% for shifting the forces and torques of charge-dipole interactions. |
352 |
|
|
353 |
< |
In general, the TSF potential for any multipole-multipole interaction |
354 |
< |
can be written |
353 |
> |
The TSF potential for any multipole-multipole interaction can be |
354 |
> |
written |
355 |
|
\begin{equation} |
356 |
|
U^{\text{TSF}}= (\text{prefactor}) (\text{derivatives}) f_n(r) |
357 |
|
\label{generic} |
358 |
|
\end{equation} |
359 |
< |
with $n=0$ for charge-charge, $n=1$ for charge-dipole, $n=2$ for |
360 |
< |
charge-quadrupole and dipole-dipole, $n=3$ for dipole-quadrupole, and |
361 |
< |
$n=4$ for quadrupole-quadrupole. To ensure smooth convergence of the |
362 |
< |
energy, force, and torques, the required number of terms from Taylor |
363 |
< |
series expansion in $f_n(r)$ must be performed for different |
364 |
< |
multipole-multipole interactions. |
359 |
> |
where $f_n(r)$ is a shifted kernel that is appropriate for the order |
360 |
> |
of the interaction (see Ref. \onlinecite{PaperI}), with $n=0$ for |
361 |
> |
charge-charge, $n=1$ for charge-dipole, $n=2$ for charge-quadrupole |
362 |
> |
and dipole-dipole, $n=3$ for dipole-quadrupole, and $n=4$ for |
363 |
> |
quadrupole-quadrupole. To ensure smooth convergence of the energy, |
364 |
> |
force, and torques, a Taylor expansion with $n$ terms must be |
365 |
> |
performed at cutoff radius ($r_c$) to obtain $f_n(r)$. |
366 |
|
|
367 |
< |
To carry out the same procedure for a damped electrostatic kernel, we |
368 |
< |
replace $1/r$ in the Coulomb potential with $\text{erfc}(\alpha r)/r$. |
369 |
< |
Many of the derivatives of the damped kernel are well known from |
370 |
< |
Smith's early work on multipoles for the Ewald |
371 |
< |
summation.\cite{Smith82,Smith98} |
367 |
> |
% To carry out the same procedure for a damped electrostatic kernel, we |
368 |
> |
% replace $1/r$ in the Coulomb potential with $\text{erfc}(\alpha r)/r$. |
369 |
> |
% Many of the derivatives of the damped kernel are well known from |
370 |
> |
% Smith's early work on multipoles for the Ewald |
371 |
> |
% summation.\cite{Smith82,Smith98} |
372 |
|
|
373 |
< |
Note that increasing the value of $n$ will add additional terms to the |
374 |
< |
electrostatic potential, e.g., $f_2(r)$ includes orders up to |
375 |
< |
$(r-r_c)^3/r_c^4$, and so on. Successive derivatives of the $f_n(r)$ |
376 |
< |
functions are denoted $g_2(r) = f^\prime_2(r)$, $h_2(r) = |
377 |
< |
f^{\prime\prime}_2(r)$, etc. These higher derivatives are required |
378 |
< |
for computing multipole energies, forces, and torques, and smooth |
379 |
< |
cutoffs of these quantities can be guaranteed as long as the number of |
380 |
< |
terms in the Taylor series exceeds the derivative order required. |
373 |
> |
% Note that increasing the value of $n$ will add additional terms to the |
374 |
> |
% electrostatic potential, e.g., $f_2(r)$ includes orders up to |
375 |
> |
% $(r-r_c)^3/r_c^4$, and so on. Successive derivatives of the $f_n(r)$ |
376 |
> |
% functions are denoted $g_2(r) = f^\prime_2(r)$, $h_2(r) = |
377 |
> |
% f^{\prime\prime}_2(r)$, etc. These higher derivatives are required |
378 |
> |
% for computing multipole energies, forces, and torques, and smooth |
379 |
> |
% cutoffs of these quantities can be guaranteed as long as the number of |
380 |
> |
% terms in the Taylor series exceeds the derivative order required. |
381 |
|
|
382 |
|
For multipole-multipole interactions, following this procedure results |
383 |
< |
in separate radial functions for each distinct orientational |
384 |
< |
contribution to the potential, and ensures that the forces and torques |
385 |
< |
from {\it each} of these contributions will vanish at the cutoff |
386 |
< |
radius. For example, the direct dipole dot product ($\mathbf{D}_{i} |
387 |
< |
\cdot \mathbf{D}_{j}$) is treated differently than the dipole-distance |
383 |
> |
in separate radial functions for each of the distinct orientational |
384 |
> |
contributions to the potential, and ensures that the forces and |
385 |
> |
torques from each of these contributions will vanish at the cutoff |
386 |
> |
radius. For example, the direct dipole dot product |
387 |
> |
($\mathbf{D}_{\bf a} |
388 |
> |
\cdot \mathbf{D}_{\bf b}$) is treated differently than the dipole-distance |
389 |
|
dot products: |
390 |
|
\begin{equation} |
391 |
< |
U_{D_{i}D_{j}}(r)= -\frac{1}{4\pi \epsilon_0} \left( \mathbf{D}_{i} \cdot |
392 |
< |
\mathbf{D}_{j} \right) \frac{g_2(r)}{r} |
393 |
< |
-\frac{1}{4\pi \epsilon_0} |
394 |
< |
\left( \mathbf{D}_{i} \cdot \hat{r} \right) |
395 |
< |
\left( \mathbf{D}_{j} \cdot \hat{r} \right) \left(h_2(r) - |
392 |
< |
\frac{g_2(r)}{r} \right) |
391 |
> |
U_{D_{\bf a}D_{\bf b}}(r)= -\frac{1}{4\pi \epsilon_0} \left[ \left( |
392 |
> |
\mathbf{D}_{\bf a} \cdot |
393 |
> |
\mathbf{D}_{\bf b} \right) v_{21}(r) + |
394 |
> |
\left( \mathbf{D}_{\bf a} \cdot \hat{r} \right) |
395 |
> |
\left( \mathbf{D}_{\bf b} \cdot \hat{r} \right) v_{22}(r) \right] |
396 |
|
\end{equation} |
397 |
|
|
398 |
< |
The electrostatic forces and torques acting on the central multipole |
399 |
< |
site due to another site within cutoff sphere are derived from |
398 |
> |
For the Taylor shifted (TSF) method with the undamped kernel, |
399 |
> |
$v_{21}(r) = -\frac{1}{r^3} + \frac{3 r}{r_c^4} - \frac{8}{r_c^3} + |
400 |
> |
\frac{6}{r r_c^2}$ and $v_{22}(r) = \frac{3}{r^3} + \frac{3 r}{r_c^4} |
401 |
> |
- \frac{6}{r r_c^2}$. In these functions, one can easily see the |
402 |
> |
connection to unmodified electrostatics as well as the smooth |
403 |
> |
transition to zero in both these functions as $r\rightarrow r_c$. The |
404 |
> |
electrostatic forces and torques acting on the central multipole due |
405 |
> |
to another site within the cutoff sphere are derived from |
406 |
|
Eq.~\ref{generic}, accounting for the appropriate number of |
407 |
|
derivatives. Complete energy, force, and torque expressions are |
408 |
|
presented in the first paper in this series (Reference |
410 |
|
|
411 |
|
\subsection{Gradient-shifted force (GSF)} |
412 |
|
|
413 |
< |
A second (and significantly simpler) method involves shifting the |
414 |
< |
gradient of the raw coulomb potential for each particular multipole |
413 |
> |
A second (and conceptually simpler) method involves shifting the |
414 |
> |
gradient of the raw Coulomb potential for each particular multipole |
415 |
|
order. For example, the raw dipole-dipole potential energy may be |
416 |
|
shifted smoothly by finding the gradient for two interacting dipoles |
417 |
|
which have been projected onto the surface of the cutoff sphere |
418 |
|
without changing their relative orientation, |
419 |
< |
\begin{displaymath} |
420 |
< |
U_{D_{i}D_{j}}(r_{ij}) = U_{D_{i}D_{j}}(r_{ij}) - U_{D_{i}D_{j}}(r_c) |
421 |
< |
- (r_{ij}-r_c) \hat{r}_{ij} \cdot |
422 |
< |
\vec{\nabla} V_{D_{i}D_{j}}(r) \Big \lvert _{r_c} |
423 |
< |
\end{displaymath} |
424 |
< |
Here the lab-frame orientations of the two dipoles, $\mathbf{D}_{i}$ |
425 |
< |
and $\mathbf{D}_{j}$, are retained at the cutoff distance (although |
426 |
< |
the signs are reversed for the dipole that has been projected onto the |
427 |
< |
cutoff sphere). In many ways, this simpler approach is closer in |
428 |
< |
spirit to the original shifted force method, in that it projects a |
429 |
< |
neutralizing multipole (and the resulting forces from this multipole) |
430 |
< |
onto a cutoff sphere. The resulting functional forms for the |
431 |
< |
potentials, forces, and torques turn out to be quite similar in form |
432 |
< |
to the Taylor-shifted approach, although the radial contributions are |
433 |
< |
significantly less perturbed by the Gradient-shifted approach than |
434 |
< |
they are in the Taylor-shifted method. |
419 |
> |
\begin{equation} |
420 |
> |
U_{D_{\bf a}D_{\bf b}}(r) = U_{D_{\bf a}D_{\bf b}}(r) - |
421 |
> |
U_{D_{\bf a} D_{\bf b}}(r_c) |
422 |
> |
- (r_{ab}-r_c) ~~~\hat{r}_{ab} \cdot |
423 |
> |
\nabla U_{D_{\bf a}D_{\bf b}}(r_c). |
424 |
> |
\end{equation} |
425 |
> |
Here the lab-frame orientations of the two dipoles, $\mathbf{D}_{\bf |
426 |
> |
a}$ and $\mathbf{D}_{\bf b}$, are retained at the cutoff distance |
427 |
> |
(although the signs are reversed for the dipole that has been |
428 |
> |
projected onto the cutoff sphere). In many ways, this simpler |
429 |
> |
approach is closer in spirit to the original shifted force method, in |
430 |
> |
that it projects a neutralizing multipole (and the resulting forces |
431 |
> |
from this multipole) onto a cutoff sphere. The resulting functional |
432 |
> |
forms for the potentials, forces, and torques turn out to be quite |
433 |
> |
similar in form to the Taylor-shifted approach, although the radial |
434 |
> |
contributions are significantly less perturbed by the gradient-shifted |
435 |
> |
approach than they are in the Taylor-shifted method. |
436 |
|
|
437 |
+ |
For the gradient shifted (GSF) method with the undamped kernel, |
438 |
+ |
$v_{21}(r) = -\frac{1}{r^3} + \frac{3 r}{r_c^4} + \frac{4}{r_c^3}$ and |
439 |
+ |
$v_{22}(r) = \frac{3}{r^3} + \frac{9 r}{r_c^4} - \frac{12}{r_c^3}$. |
440 |
+ |
Again, these functions go smoothly to zero as $r\rightarrow r_c$, and |
441 |
+ |
because the Taylor expansion retains only one term, they are |
442 |
+ |
significantly less perturbed than the TSF functions. |
443 |
+ |
|
444 |
|
In general, the gradient shifted potential between a central multipole |
445 |
|
and any multipolar site inside the cutoff radius is given by, |
446 |
|
\begin{equation} |
447 |
< |
U^{\text{GSF}} = \sum \left[ U(\mathbf{r}, \hat{\mathbf{a}}, \hat{\mathbf{b}}) - |
448 |
< |
U(\mathbf{r}_c,\hat{\mathbf{a}}, \hat{\mathbf{b}}) - (r-r_c) \hat{r} |
449 |
< |
\cdot \nabla U(\mathbf{r},\hat{\mathbf{a}}, \hat{\mathbf{b}}) \Big \lvert _{r_c} \right] |
447 |
> |
U^{\text{GSF}} = \sum \left[ U(\mathbf{r}, \hat{\mathbf{a}}, \hat{\mathbf{b}}) - |
448 |
> |
U(r_c \hat{\mathbf{r}},\hat{\mathbf{a}}, \hat{\mathbf{b}}) - (r-r_c) \hat{\mathbf{r}} |
449 |
> |
\cdot \nabla U(r_c \hat{\mathbf{r}},\hat{\mathbf{a}}, \hat{\mathbf{b}}) \right] |
450 |
|
\label{generic2} |
451 |
|
\end{equation} |
452 |
|
where the sum describes a separate force-shifting that is applied to |
453 |
< |
each orientational contribution to the energy. |
453 |
> |
each orientational contribution to the energy. In this expression, |
454 |
> |
$\hat{\mathbf{r}}$ is the unit vector connecting the two multipoles |
455 |
> |
($a$ and $b$) in space, and $\hat{\mathbf{a}}$ and $\hat{\mathbf{b}}$ |
456 |
> |
represent the orientations the multipoles. |
457 |
|
|
458 |
|
The third term converges more rapidly than the first two terms as a |
459 |
|
function of radius, hence the contribution of the third term is very |
460 |
|
small for large cutoff radii. The force and torque derived from |
461 |
< |
equation \ref{generic2} are consistent with the energy expression and |
461 |
> |
Eq. \ref{generic2} are consistent with the energy expression and |
462 |
|
approach zero as $r \rightarrow r_c$. Both the GSF and TSF methods |
463 |
|
can be considered generalizations of the original DSF method for |
464 |
|
higher order multipole interactions. GSF and TSF are also identical up |
466 |
|
the energy, force and torque for higher order multipole-multipole |
467 |
|
interactions. Complete energy, force, and torque expressions for the |
468 |
|
GSF potential are presented in the first paper in this series |
469 |
< |
(Reference~\onlinecite{PaperI}) |
469 |
> |
(Reference~\onlinecite{PaperI}). |
470 |
|
|
471 |
|
|
472 |
|
\subsection{Shifted potential (SP) } |
479 |
|
interactions with the central multipole and the image. This |
480 |
|
effectively shifts the total potential to zero at the cutoff radius, |
481 |
|
\begin{equation} |
482 |
< |
U_{SP}(\vec r)=\sum U(\vec r) - U(\vec r_c) |
482 |
> |
U^{\text{SP}} = \sum \left[ U(\mathbf{r}, \hat{\mathbf{a}}, \hat{\mathbf{b}}) - |
483 |
> |
U(r_c \hat{\mathbf{r}},\hat{\mathbf{a}}, \hat{\mathbf{b}}) \right] |
484 |
|
\label{eq:SP} |
485 |
|
\end{equation} |
486 |
|
where the sum describes separate potential shifting that is done for |
492 |
|
multipoles that reorient after leaving the cutoff sphere can re-enter |
493 |
|
the cutoff sphere without perturbing the total energy. |
494 |
|
|
495 |
< |
The potential energy between a central multipole and other multipolar |
496 |
< |
sites then goes smoothly to zero as $r \rightarrow r_c$. However, the |
497 |
< |
force and torque obtained from the shifted potential (SP) are |
498 |
< |
discontinuous at $r_c$. Therefore, MD simulations will still |
499 |
< |
experience energy drift while operating under the SP potential, but it |
500 |
< |
may be suitable for Monte Carlo approaches where the configurational |
501 |
< |
energy differences are the primary quantity of interest. |
495 |
> |
For the shifted potential (SP) method with the undamped kernel, |
496 |
> |
$v_{21}(r) = -\frac{1}{r^3} + \frac{1}{r_c^3}$ and $v_{22}(r) = |
497 |
> |
\frac{3}{r^3} - \frac{3}{r_c^3}$. The potential energy between a |
498 |
> |
central multipole and other multipolar sites goes smoothly to zero as |
499 |
> |
$r \rightarrow r_c$. However, the force and torque obtained from the |
500 |
> |
shifted potential (SP) are discontinuous at $r_c$. MD simulations |
501 |
> |
will still experience energy drift while operating under the SP |
502 |
> |
potential, but it may be suitable for Monte Carlo approaches where the |
503 |
> |
configurational energy differences are the primary quantity of |
504 |
> |
interest. |
505 |
|
|
506 |
< |
\subsection{The Self term} |
506 |
> |
\subsection{The Self Term} |
507 |
|
In the TSF, GSF, and SP methods, a self-interaction is retained for |
508 |
|
the central multipole interacting with its own image on the surface of |
509 |
|
the cutoff sphere. This self interaction is nearly identical with the |
525 |
|
used the multipolar Ewald sum as a reference method for comparing |
526 |
|
energies, forces, and torques for molecular models that mimic |
527 |
|
disordered and ordered condensed-phase systems. The parameters used |
528 |
< |
in the test-cases are given in table~\ref{tab:pars}. |
528 |
> |
in the test cases are given in table~\ref{tab:pars}. |
529 |
|
|
530 |
|
\begin{table} |
531 |
|
\label{tab:pars} |
543 |
|
& (\AA) & (kcal/mol) & (e) & (debye) & \multicolumn{3}{c|}{(debye \AA)} & (amu) & \multicolumn{3}{c}{(amu |
544 |
|
\AA\textsuperscript{2})} \\ \hline |
545 |
|
Soft Dipolar fluid & 3.051 & 0.152 & & 2.35 & & & & 18.0153 & 1.77&0.6145& 1.155 \\ |
546 |
< |
Soft Dipolar solid & 2.837 & 1.0 & & 2.35 & & & & 10,000 & 17.6 &17.6 & 0 \\ |
546 |
> |
Soft Dipolar solid & 2.837 & 1.0 & & 2.35 & & & & $10^4$ & 17.6 &17.6 & 0 \\ |
547 |
|
Soft Quadrupolar fluid & 3.051 & 0.152 & & & -1&-1&-2.5 & 18.0153 & 1.77&0.6145&1.155 \\ |
548 |
< |
Soft Quadrupolar solid & 2.837 & 1.0 & & & -1&-1&-2.5 & 10,000 & 17.6&17.6&0 \\ |
548 |
> |
Soft Quadrupolar solid & 2.837 & 1.0 & & & -1&-1&-2.5 & $10^4$ & 17.6&17.6&0 \\ |
549 |
|
SSDQ water & 3.051 & 0.152 & & 2.35 & -1.35&0&-0.68 & 18.0153 & 1.77&0.6145&1.155 \\ |
550 |
|
\ce{Na+} & 2.579 & 0.118 & +1& & & & & 22.99 & & &\\ |
551 |
|
\ce{Cl-} & 4.445 & 0.1 & -1& & & & & 35.4527& & & \\ \hline |
570 |
|
electrostatic energy, as well as the electrostatic contributions to |
571 |
|
the force and torque on each molecule. These quantities have been |
572 |
|
computed using the SP, TSF, and GSF methods, as well as a hard cutoff, |
573 |
< |
and have been compared with the values obtaine from the multipolar |
574 |
< |
Ewald sum. In Mote Carlo (MC) simulations, the energy differences |
573 |
> |
and have been compared with the values obtained from the multipolar |
574 |
> |
Ewald sum. In Monte Carlo (MC) simulations, the energy differences |
575 |
|
between two configurations is the primary quantity that governs how |
576 |
|
the simulation proceeds. These differences are the most imporant |
577 |
|
indicators of the reliability of a method even if the absolute |
585 |
|
\subsection{Implementation} |
586 |
|
The real-space methods developed in the first paper in this series |
587 |
|
have been implemented in our group's open source molecular simulation |
588 |
< |
program, OpenMD,\cite{openmd} which was used for all calculations in |
588 |
> |
program, OpenMD,\cite{Meineke05,openmd} which was used for all calculations in |
589 |
|
this work. The complementary error function can be a relatively slow |
590 |
|
function on some processors, so all of the radial functions are |
591 |
|
precomputed on a fine grid and are spline-interpolated to provide |
618 |
|
recomputed at each time step. |
619 |
|
|
620 |
|
\subsection{Model systems} |
621 |
< |
To sample independent configurations of multipolar crystals, a body |
622 |
< |
centered cubic (bcc) crystal which is a minimum energy structure for |
623 |
< |
point dipoles was generated using 3,456 molecules. The multipoles |
624 |
< |
were translationally locked in their respective crystal sites for |
625 |
< |
equilibration at a relatively low temperature (50K), so that dipoles |
626 |
< |
or quadrupoles could freely explore all accessible orientations. The |
627 |
< |
translational constraints were removed, and the crystals were |
628 |
< |
simulated for 10 ps in the microcanonical (NVE) ensemble with an |
629 |
< |
average temperature of 50 K. Configurations were sampled at equal |
630 |
< |
time intervals for the comparison of the configurational energy |
631 |
< |
differences. The crystals were not simulated close to the melting |
632 |
< |
points in order to avoid translational deformation away of the ideal |
633 |
< |
lattice geometry. |
621 |
> |
To sample independent configurations of the multipolar crystals, body |
622 |
> |
centered cubic (bcc) crystals, which exhibit the minimum energy |
623 |
> |
structures for point dipoles, were generated using 3,456 molecules. |
624 |
> |
The multipoles were translationally locked in their respective crystal |
625 |
> |
sites for equilibration at a relatively low temperature (50K) so that |
626 |
> |
dipoles or quadrupoles could freely explore all accessible |
627 |
> |
orientations. The translational constraints were then removed, the |
628 |
> |
systems were re-equilibrated, and the crystals were simulated for an |
629 |
> |
additional 10 ps in the microcanonical (NVE) ensemble with an average |
630 |
> |
temperature of 50 K. The balance between moments of inertia and |
631 |
> |
particle mass were chosen to allow orientational sampling without |
632 |
> |
significant translational motion. Configurations were sampled at |
633 |
> |
equal time intervals in order to compare configurational energy |
634 |
> |
differences. The crystals were simulated far from the melting point |
635 |
> |
in order to avoid translational deformation away of the ideal lattice |
636 |
> |
geometry. |
637 |
|
|
638 |
< |
For dipolar, quadrupolar, and mixed-multipole liquid simulations, each |
639 |
< |
system was created with 2048 molecules oriented randomly. These were |
640 |
< |
|
641 |
< |
system with 2,048 molecules simulated for 1ns in NVE ensemble at 300 K |
642 |
< |
temperature after equilibration. We collected 250 different |
643 |
< |
configurations in equal interval of time. For the ions mixed liquid |
644 |
< |
system, we converted 48 different molecules into 24 \ce{Na+} and 24 |
645 |
< |
\ce{Cl-} ions and equilibrated. After equilibration, the system was run |
646 |
< |
at the same environment for 1ns and 250 configurations were |
647 |
< |
collected. While comparing energies, forces, and torques with Ewald |
648 |
< |
method, Lennard-Jones potentials were turned off and purely |
649 |
< |
electrostatic interaction had been compared. |
638 |
> |
For dipolar, quadrupolar, and mixed-multipole \textit{liquid} |
639 |
> |
simulations, each system was created with 2,048 randomly-oriented |
640 |
> |
molecules. These were equilibrated at a temperature of 300K for 1 ns. |
641 |
> |
Each system was then simulated for 1 ns in the microcanonical (NVE) |
642 |
> |
ensemble. We collected 250 different configurations at equal time |
643 |
> |
intervals. For the liquid system that included ionic species, we |
644 |
> |
converted 48 randomly-distributed molecules into 24 \ce{Na+} and 24 |
645 |
> |
\ce{Cl-} ions and re-equilibrated. After equilibration, the system was |
646 |
> |
run under the same conditions for 1 ns. A total of 250 configurations |
647 |
> |
were collected. In the following comparisons of energies, forces, and |
648 |
> |
torques, the Lennard-Jones potentials were turned off and only the |
649 |
> |
purely electrostatic quantities were compared with the same values |
650 |
> |
obtained via the Ewald sum. |
651 |
|
|
652 |
|
\subsection{Accuracy of Energy Differences, Forces and Torques} |
653 |
|
The pairwise summation techniques (outlined above) were evaluated for |
661 |
|
should be identical for all methods. |
662 |
|
|
663 |
|
Since none of the real-space methods provide exact energy differences, |
664 |
< |
we used least square regressions analysiss for the six different |
664 |
> |
we used least square regressions analysis for the six different |
665 |
|
molecular systems to compare $\Delta E$ from Hard, SP, GSF, and TSF |
666 |
|
with the multipolar Ewald reference method. Unitary results for both |
667 |
|
the correlation (slope) and correlation coefficient for these |
672 |
|
configurations and 250 configurations were recorded for comparison. |
673 |
|
Each system provided 31,125 energy differences for a total of 186,750 |
674 |
|
data points. Similarly, the magnitudes of the forces and torques have |
675 |
< |
also been compared by using least squares regression analyses. In the |
675 |
> |
also been compared using least squares regression analysis. In the |
676 |
|
forces and torques comparison, the magnitudes of the forces acting in |
677 |
|
each molecule for each configuration were evaluated. For example, our |
678 |
|
dipolar liquid simulation contains 2048 molecules and there are 250 |
857 |
|
molecules inside each other's cutoff spheres in order to correct the |
858 |
|
energy conservation issues, and this perturbation is evident in the |
859 |
|
statistics accumulated for the molecular forces. The GSF |
860 |
< |
perturbations are minimal, particularly for moderate damping and and |
860 |
> |
perturbations are minimal, particularly for moderate damping and |
861 |
|
commonly-used cutoff values ($r_c = 12$\AA). The TSF method shows |
862 |
|
reasonable agreement in the correlation coefficient but again the |
863 |
|
systematic error in the forces is concerning if replication of Ewald |
914 |
|
these quantities. Force and torque vectors for all six systems were |
915 |
|
analyzed using Fisher statistics, and the quality of the vector |
916 |
|
directionality is shown in terms of circular variance |
917 |
< |
($\mathrm{Var}(\theta$) in figure |
917 |
> |
($\mathrm{Var}(\theta)$) in figure |
918 |
|
\ref{fig:slopeCorr_circularVariance}. The force and torque vectors |
919 |
|
from the new real-space methods exhibit nearly-ideal Fisher probability |
920 |
|
distributions (Eq.~\ref{eq:pdf}). Both the hard and SP cutoff methods |
969 |
|
energy over time, $\delta E_1$, and the standard deviation of energy |
970 |
|
fluctuations around this drift $\delta E_0$. Both of the |
971 |
|
shifted-force methods (GSF and TSF) provide excellent energy |
972 |
< |
conservation (drift less than $10^{-6}$ kcal / mol / ns / particle), |
972 |
> |
conservation (drift less than $10^{-5}$ kcal / mol / ns / particle), |
973 |
|
while the hard cutoff is essentially unusable for molecular dynamics. |
974 |
|
SP provides some benefit over the hard cutoff because the energetic |
975 |
|
jumps that happen as particles leave and enter the cutoff sphere are |
984 |
|
|
985 |
|
\begin{figure} |
986 |
|
\centering |
987 |
< |
\includegraphics[width=\textwidth]{newDrift.pdf} |
987 |
> |
\includegraphics[width=\textwidth]{newDrift_12.pdf} |
988 |
|
\label{fig:energyDrift} |
989 |
|
\caption{Analysis of the energy conservation of the real-space |
990 |
|
electrostatic methods. $\delta \mathrm{E}_1$ is the linear drift in |
991 |
< |
energy over time and $\delta \mathrm{E}_0$ is the standard deviation |
992 |
< |
of energy fluctuations around this drift. All simulations were of a |
993 |
< |
2000-molecule simulation of SSDQ water with 48 ionic charges at 300 |
994 |
< |
K starting from the same initial configuration. All runs utilized |
995 |
< |
the same real-space cutoff, $r_c = 12$\AA.} |
991 |
> |
energy over time (in kcal / mol / particle / ns) and $\delta |
992 |
> |
\mathrm{E}_0$ is the standard deviation of energy fluctuations |
993 |
> |
around this drift (in kcal / mol / particle). All simulations were |
994 |
> |
of a 2000-molecule simulation of SSDQ water with 48 ionic charges at |
995 |
> |
300 K starting from the same initial configuration. All runs |
996 |
> |
utilized the same real-space cutoff, $r_c = 12$\AA.} |
997 |
|
\end{figure} |
998 |
|
|
999 |
|
|
1073 |
|
handling of energies, forces, and torques as multipoles cross the |
1074 |
|
real-space cutoff boundary. |
1075 |
|
|
1076 |
+ |
\begin{acknowledgments} |
1077 |
+ |
JDG acknowledges helpful discussions with Christopher |
1078 |
+ |
Fennell. Support for this project was provided by the National |
1079 |
+ |
Science Foundation under grant CHE-1362211. Computational time was |
1080 |
+ |
provided by the Center for Research Computing (CRC) at the |
1081 |
+ |
University of Notre Dame. |
1082 |
+ |
\end{acknowledgments} |
1083 |
+ |
|
1084 |
|
%\bibliographystyle{aip} |
1085 |
|
\newpage |
1086 |
|
\bibliography{references} |