1 |
|
|
2 |
|
\section{\label{sec:empericalEnergy}The Emperical Energy Functions} |
3 |
|
|
4 |
< |
\subsection{\label{sec:atomsMolecules}Atoms and Molecules} |
4 |
> |
\subsection{\label{sec:atomsMolecules}Atoms, Molecules and Rigid Bodies} |
5 |
|
|
6 |
|
The basic unit of an {\sc oopse} simulation is the atom. The parameters |
7 |
|
describing the atom are generalized to make the atom as flexible a |
17 |
|
identities of all the atoms associated with itself and is responsible |
18 |
|
for the evaluation of its own bonded interaction (i.e.~bonds, bends, |
19 |
|
and torsions). |
20 |
+ |
|
21 |
+ |
As stated in the previously, one of the features that sets OOPSE apart |
22 |
+ |
from most of the current molecular simulation packages is the ability |
23 |
+ |
to handle rigid body dynamics. Rigid bodies are non-spherical |
24 |
+ |
particles or collections of particles that have a constant internal |
25 |
+ |
potential and move collectively.\cite{Goldstein01} They are not |
26 |
+ |
included in many standard simulation packages because of the need to |
27 |
+ |
consider orientational degrees of freedom and include an integrator |
28 |
+ |
that accurately propagates these motions in time. |
29 |
+ |
|
30 |
+ |
Moving a rigid body involves determination of both the force and |
31 |
+ |
torque applied by the surroundings, which directly affect the |
32 |
+ |
translation and rotation in turn. In order to accumulate the total |
33 |
+ |
force on a rigid body, the external forces must first be calculated |
34 |
+ |
for all the interal particles. The total force on the rigid body is |
35 |
+ |
simply the sum of these external forces. Accumulation of the total |
36 |
+ |
torque on the rigid body is similar to the force in that it is a sum |
37 |
+ |
of the torque applied on each internal particle, mapped onto the |
38 |
+ |
center of mass of the rigid body. |
39 |
+ |
|
40 |
+ |
The application of the total torque is done in the body fixed axis of |
41 |
+ |
the rigid body. In order to move between the space fixed and body |
42 |
+ |
fixed coordinate axes, parameters describing the orientation be |
43 |
+ |
maintained for each rigid body. At a minimum, the rotation matrix can |
44 |
+ |
be described and propagated by the three Euler |
45 |
+ |
angles.\cite{Goldstein01} In order to avoid rotational limitations |
46 |
+ |
when using Euler angles, the four parameter ``quaternion'' scheme can |
47 |
+ |
be used instead.\cite{allen87:csl} Use of quaternions also leads to |
48 |
+ |
performance enhancements, particularly for very small |
49 |
+ |
systems.\cite{Evans77} OOPSE utilizes a relatively new scheme that |
50 |
+ |
propagates the entire nine parameter rotation matrix. Further |
51 |
+ |
discussion on this choice can be found in Sec.~\ref{sec:integrate}. |
52 |
+ |
|
53 |
+ |
\subsection{\label{sec:LJPot}The Lennard Jones Potential} |
54 |
+ |
|
55 |
+ |
The most basic force field implemented in OOPSE is the Lennard-Jones |
56 |
+ |
potential. The Lennard-Jones potential mimics the attractive forces |
57 |
+ |
two charge neutral particles experience when spontaneous dipoles are |
58 |
+ |
induced on each other. This is the predominant intermolecular force in |
59 |
+ |
systems of such as noble gases and simple alkanes. |
60 |
+ |
|
61 |
+ |
The Lennard-Jones potential is given by: |
62 |
+ |
\begin{equation} |
63 |
+ |
V_{\text{LJ}}(r_{ij}) = |
64 |
+ |
4\epsilon_{ij} \biggl[ |
65 |
+ |
\biggl(\frac{\sigma_{ij}}{r_{ij}}\biggr)^{12} |
66 |
+ |
- \biggl(\frac{\sigma_{ij}}{r_{ij}}\biggr)^{6} |
67 |
+ |
\biggr] |
68 |
+ |
\label{eq:lennardJonesPot} |
69 |
+ |
\end{equation} |
70 |
+ |
Where $r_ij$ is the distance between particle $i$ and $j$, $\sigma_{ij}$ |
71 |
+ |
scales the length of the interaction, and $\epsilon_{ij}$ scales the |
72 |
+ |
energy well depth of the potential. |
73 |
+ |
|
74 |
+ |
Because the potential is calculated between all pairs, the force |
75 |
+ |
evaluation can become computationally expensive for large systems. To |
76 |
+ |
keep the pair evaluation to a manegable number, OOPSE employs the use |
77 |
+ |
of a cut-off radius.\cite{allen87:csl} The cutoff radius is set to be |
78 |
+ |
$2.5\sigma_{ii}$, where $\sigma_{ii}$ is the largest self self length |
79 |
+ |
parameter in the system. Truncating the calculation at |
80 |
+ |
$r_{\text{cut}}$ introduces a discontinuity into the potential |
81 |
+ |
energy. To offset this discontinuity, the energy value at |
82 |
+ |
$r_{\text{cut}}$ is subtracted from the entire potential. This causes |
83 |
+ |
the equation to go to zero at the cut-off radius. |
84 |
+ |
|
85 |
+ |
Interactions between dissimilar particles requires the generation of |
86 |
+ |
cross term parameters for $\sigma$ and $\epsilon$. These are |
87 |
+ |
calculated through the Lorentz-Berthelot mixing |
88 |
+ |
rules:\cite{allen87:csl} |
89 |
+ |
\begin{equation} |
90 |
+ |
\sigma_{ij} = \frac{1}{2}[\sigma_{ii} + \sigma_{jj}] |
91 |
+ |
\label{eq:sigmaMix} |
92 |
+ |
\end{equation} |
93 |
+ |
and |
94 |
+ |
\begin{equation} |
95 |
+ |
\epsilon_{ij} = \sqrt{\epsilon_{ii} \epsilon_{jj}} |
96 |
+ |
\label{eq:epsilonMix} |
97 |
+ |
\end{equation} |
98 |
|
|
99 |
+ |
|
100 |
|
\subsection{\label{sec:DUFF}Dipolar Unified-Atom Force Field} |
101 |
|
|
102 |
|
The \underline{D}ipolar \underline{U}nified-Atom |
244 |
|
By recasting the equation to a power series, repeated trigonometric |
245 |
|
evaluations are avoided during the calculation of the potential. |
246 |
|
|
247 |
< |
The Lennard-Jones potential is given by: |
169 |
< |
\begin{equation} |
170 |
< |
V_{\text{LJ}}(r_{ij}) = |
171 |
< |
4\epsilon_{ij} \biggl[ |
172 |
< |
\biggl(\frac{\sigma_{ij}}{r_{ij}}\biggr)^{12} |
173 |
< |
- \biggl(\frac{\sigma_{ij}}{r_{ij}}\biggr)^{6} |
174 |
< |
\biggr] |
175 |
< |
\label{eq:lennardJonesPot} |
176 |
< |
\end{equation} |
177 |
< |
Where $r_ij$ is the distance between atoms $i$ and $j$, $\sigma_{ij}$ |
178 |
< |
scales the length of the interaction, and $\epsilon_{ij}$ scales the |
179 |
< |
energy of the potential. |
247 |
> |
|
248 |
|
|
249 |
|
The dipole-dipole potential has the following form: |
250 |
|
\begin{equation} |
346 |
|
\subsection{\label{sec:eam}Embedded Atom Model} |
347 |
|
|
348 |
|
here there be Monsters |
349 |
+ |
|
350 |
+ |
\subsection{\label{Sec:pbc}Periodic Boundary Conditions} |
351 |
+ |
|
352 |
+ |
\textit{Periodic boundary conditions} are widely used to simulate truly |
353 |
+ |
macroscopic systems with a relatively small number of particles. Simulation |
354 |
+ |
box is replicated throughout space to form an infinite lattice. During the |
355 |
+ |
simulation, when a particle moves in the primary cell, its periodic image |
356 |
+ |
particles in other boxes move in exactly the same direction with exactly the |
357 |
+ |
same orientation.Thus, as a particle leaves the primary cell, one of its |
358 |
+ |
images will enter through the opposite face.If the simulation box is large |
359 |
+ |
enough to avoid "feeling" the symmetric of the periodic lattice,the surface |
360 |
+ |
effect could be ignored. Cubic and parallelepiped are the available periodic |
361 |
+ |
cells. \bigskip In OOPSE, we use the matrix instead of the vector to describe |
362 |
+ |
the property of the simulation box. Therefore, not only the size of the |
363 |
+ |
simulation box could be changed during the simulation, but also the shape of |
364 |
+ |
it. The transformation from box space vector $\overrightarrow{s}$ to its |
365 |
+ |
corresponding real space vector $\overrightarrow{r}$ is defined by |
366 |
+ |
\begin{equation} |
367 |
+ |
\overrightarrow{r}=H\overrightarrow{s}% |
368 |
+ |
\end{equation} |
369 |
+ |
|
370 |
+ |
|
371 |
+ |
where $H=(h_{x},h_{y},h_{z})$ is a transformation matrix made up of the three |
372 |
+ |
box axis vectors. $h_{x},h_{y}$ and $h_{z}$ represent the sides of the |
373 |
+ |
simulation box respectively. |
374 |
+ |
|
375 |
+ |
To find the minimum image, we need to convert the real vector to its |
376 |
+ |
corresponding vector in box space first, \bigskip% |
377 |
+ |
\begin{equation} |
378 |
+ |
\overrightarrow{s}=H^{-1}\overrightarrow{r}% |
379 |
+ |
\end{equation} |
380 |
+ |
And then, each element of $\overrightarrow{s}$ is casted to lie between -0.5 |
381 |
+ |
to 0.5, |
382 |
+ |
\begin{equation} |
383 |
+ |
s_{i}^{\prime}=s_{i}-round(s_{i}) |
384 |
+ |
\end{equation} |
385 |
+ |
where% |
386 |
+ |
|
387 |
+ |
\begin{equation} |
388 |
+ |
round(x)=\lfloor{x+0.5}\rfloor\text{ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }if\text{ |
389 |
+ |
}x\geqslant0 |
390 |
+ |
\end{equation} |
391 |
+ |
% |
392 |
+ |
|
393 |
+ |
\begin{equation} |
394 |
+ |
round(x)=\lceil{x-0.5}\rceil\text{ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }if\text{ }x<0 |
395 |
+ |
\end{equation} |
396 |
+ |
|
397 |
+ |
|
398 |
+ |
For example, $round(3.6)=4$,$round(3.1)=3$, $round(-3.6)=-4$, $round(-3.1)=-3$. |
399 |
+ |
|
400 |
+ |
Finally, we could get the minimum image by transforming back to real space,% |
401 |
+ |
|
402 |
+ |
\begin{equation} |
403 |
+ |
\overrightarrow{r^{\prime}}=H^{-1}\overrightarrow{s^{\prime}}% |
404 |
+ |
\end{equation} |