| 281 |
|
(q,p,t)dq_1 } ...dq_f dp_1 } ...dp_f }}{{\int { \ldots \int {\rho |
| 282 |
|
(q,p,t)dq_1 } ...dq_f dp_1 } ...dp_f }}. |
| 283 |
|
\label{introEquation:ensembelAverage} |
| 284 |
– |
\end{equation} |
| 285 |
– |
|
| 286 |
– |
There are several different types of ensembles with different |
| 287 |
– |
statistical characteristics. As a function of macroscopic |
| 288 |
– |
parameters, such as temperature \textit{etc}, the partition function |
| 289 |
– |
can be used to describe the statistical properties of a system in |
| 290 |
– |
thermodynamic equilibrium. As an ensemble of systems, each of which |
| 291 |
– |
is known to be thermally isolated and conserve energy, the |
| 292 |
– |
Microcanonical ensemble (NVE) has a partition function like, |
| 293 |
– |
\begin{equation} |
| 294 |
– |
\Omega (N,V,E) = e^{\beta TS}. \label{introEquation:NVEPartition} |
| 295 |
– |
\end{equation} |
| 296 |
– |
A canonical ensemble (NVT) is an ensemble of systems, each of which |
| 297 |
– |
can share its energy with a large heat reservoir. The distribution |
| 298 |
– |
of the total energy amongst the possible dynamical states is given |
| 299 |
– |
by the partition function, |
| 300 |
– |
\begin{equation} |
| 301 |
– |
\Omega (N,V,T) = e^{ - \beta A}. |
| 302 |
– |
\label{introEquation:NVTPartition} |
| 303 |
– |
\end{equation} |
| 304 |
– |
Here, $A$ is the Helmholtz free energy which is defined as $ A = U - |
| 305 |
– |
TS$. Since most experiments are carried out under constant pressure |
| 306 |
– |
condition, the isothermal-isobaric ensemble (NPT) plays a very |
| 307 |
– |
important role in molecular simulations. The isothermal-isobaric |
| 308 |
– |
ensemble allow the system to exchange energy with a heat bath of |
| 309 |
– |
temperature $T$ and to change the volume as well. Its partition |
| 310 |
– |
function is given as |
| 311 |
– |
\begin{equation} |
| 312 |
– |
\Delta (N,P,T) = - e^{\beta G}. |
| 313 |
– |
\label{introEquation:NPTPartition} |
| 284 |
|
\end{equation} |
| 315 |
– |
Here, $G = U - TS + PV$, and $G$ is called Gibbs free energy. |
| 285 |
|
|
| 286 |
|
\subsection{\label{introSection:liouville}Liouville's theorem} |
| 287 |
|
|
| 505 |
|
\subsection{\label{introSection:exactFlow}Exact Propagator} |
| 506 |
|
|
| 507 |
|
Let $x(t)$ be the exact solution of the ODE |
| 508 |
< |
system,$\frac{{dx}}{{dt}} = f(x) \label{introEquation:ODE}$, we can |
| 509 |
< |
define its exact propagator(solution) $\varphi_\tau$ |
| 508 |
> |
system, |
| 509 |
> |
\begin{equation} |
| 510 |
> |
\frac{{dx}}{{dt}} = f(x), \label{introEquation:ODE} |
| 511 |
> |
\end{equation} we can |
| 512 |
> |
define its exact propagator $\varphi_\tau$: |
| 513 |
|
\[ x(t+\tau) |
| 514 |
|
=\varphi_\tau(x(t)) |
| 515 |
|
\] |
| 581 |
|
\] |
| 582 |
|
Using the chain rule, one may obtain, |
| 583 |
|
\[ |
| 584 |
< |
\sum\limits_i {\frac{{dG}}{{dx_i }}} f_i (x) = f \dot \nabla G, |
| 584 |
> |
\sum\limits_i {\frac{{dG}}{{dx_i }}} f_i (x) = f \cdot \nabla G, |
| 585 |
|
\] |
| 586 |
|
which is the condition for conserved quantities. For a canonical |
| 587 |
|
Hamiltonian system, the time evolution of an arbitrary smooth |
| 706 |
|
\end{align} |
| 707 |
|
where $F(t)$ is the force at time $t$. This integration scheme is |
| 708 |
|
known as \emph{velocity verlet} which is |
| 709 |
< |
symplectic(\ref{introEquation:SymplecticFlowComposition}), |
| 710 |
< |
time-reversible(\ref{introEquation:timeReversible}) and |
| 711 |
< |
volume-preserving (\ref{introEquation:volumePreserving}). These |
| 709 |
> |
symplectic(Eq.~\ref{introEquation:SymplecticFlowComposition}), |
| 710 |
> |
time-reversible(Eq.~\ref{introEquation:timeReversible}) and |
| 711 |
> |
volume-preserving (Eq.~\ref{introEquation:volumePreserving}). These |
| 712 |
|
geometric properties attribute to its long-time stability and its |
| 713 |
|
popularity in the community. However, the most commonly used |
| 714 |
|
velocity verlet integration scheme is written as below, |
| 750 |
|
|
| 751 |
|
The Baker-Campbell-Hausdorff formula can be used to determine the |
| 752 |
|
local error of a splitting method in terms of the commutator of the |
| 753 |
< |
operators(\ref{introEquation:exponentialOperator}) associated with |
| 753 |
> |
operators(Eq.~\ref{introEquation:exponentialOperator}) associated with |
| 754 |
|
the sub-propagator. For operators $hX$ and $hY$ which are associated |
| 755 |
|
with $\varphi_1(t)$ and $\varphi_2(t)$ respectively , we have |
| 756 |
|
\begin{equation} |
| 834 |
|
These three individual steps will be covered in the following |
| 835 |
|
sections. Sec.~\ref{introSec:initialSystemSettings} deals with the |
| 836 |
|
initialization of a simulation. Sec.~\ref{introSection:production} |
| 837 |
< |
will discuss issues of production runs. |
| 837 |
> |
discusses issues of production runs. |
| 838 |
|
Sec.~\ref{introSection:Analysis} provides the theoretical tools for |
| 839 |
|
analysis of trajectories. |
| 840 |
|
|
| 902 |
|
properties \textit{etc}, become independent of time. Strictly |
| 903 |
|
speaking, minimization and heating are not necessary, provided the |
| 904 |
|
equilibration process is long enough. However, these steps can serve |
| 905 |
< |
as a means to arrive at an equilibrated structure in an effective |
| 905 |
> |
as a mean to arrive at an equilibrated structure in an effective |
| 906 |
|
way. |
| 907 |
|
|
| 908 |
|
\subsection{\label{introSection:production}Production} |
| 972 |
|
V(r_{ij})= \frac{q_i q_j \textrm{erfc}(\alpha |
| 973 |
|
r_{ij})}{r_{ij}}-\lim_{r_{ij}\rightarrow |
| 974 |
|
R_\textrm{c}}\left\{\frac{q_iq_j \textrm{erfc}(\alpha |
| 975 |
< |
r_{ij})}{r_{ij}}\right\}. \label{introEquation:shiftedCoulomb} |
| 975 |
> |
r_{ij})}{r_{ij}}\right\}, \label{introEquation:shiftedCoulomb} |
| 976 |
|
\end{equation} |
| 977 |
|
where $\alpha$ is the convergence parameter. Due to the lack of |
| 978 |
|
inherent periodicity and rapid convergence,this method is extremely |
| 989 |
|
|
| 990 |
|
\subsection{\label{introSection:Analysis} Analysis} |
| 991 |
|
|
| 992 |
< |
Recently, advanced visualization technique have become applied to |
| 992 |
> |
Recently, advanced visualization techniques have been applied to |
| 993 |
|
monitor the motions of molecules. Although the dynamics of the |
| 994 |
|
system can be described qualitatively from animation, quantitative |
| 995 |
|
trajectory analysis is more useful. According to the principles of |
| 1059 |
|
\label{introEquation:timeCorrelationFunction} |
| 1060 |
|
\end{equation} |
| 1061 |
|
If $A$ and $B$ refer to same variable, this kind of correlation |
| 1062 |
< |
function is called an \emph{autocorrelation function}. One example |
| 1063 |
< |
of an auto correlation function is the velocity auto-correlation |
| 1062 |
> |
functions are called \emph{autocorrelation functions}. One example |
| 1063 |
> |
of auto correlation function is the velocity auto-correlation |
| 1064 |
|
function which is directly related to transport properties of |
| 1065 |
|
molecular liquids: |
| 1066 |
|
\[ |
| 1111 |
|
computational penalty and the loss of angular momentum conservation |
| 1112 |
|
still remain. A singularity-free representation utilizing |
| 1113 |
|
quaternions was developed by Evans in 1977\cite{Evans1977}. |
| 1114 |
< |
Unfortunately, this approach uses a nonseparable Hamiltonian |
| 1115 |
< |
resulting from the quaternion representation, which prevents the |
| 1114 |
> |
Unfortunately, this approach used a nonseparable Hamiltonian |
| 1115 |
> |
resulting from the quaternion representation, which prevented the |
| 1116 |
|
symplectic algorithm from being utilized. Another different approach |
| 1117 |
|
is to apply holonomic constraints to the atoms belonging to the |
| 1118 |
|
rigid body. Each atom moves independently under the normal forces |
| 1142 |
|
V(q,Q) + \frac{1}{2}tr[(QQ^T - 1)\Lambda ]. |
| 1143 |
|
\label{introEquation:RBHamiltonian} |
| 1144 |
|
\end{equation} |
| 1145 |
< |
Here, $q$ and $Q$ are the position and rotation matrix for the |
| 1146 |
< |
rigid-body, $p$ and $P$ are conjugate momenta to $q$ and $Q$ , and |
| 1147 |
< |
$J$, a diagonal matrix, is defined by |
| 1145 |
> |
Here, $q$ and $Q$ are the position vector and rotation matrix for |
| 1146 |
> |
the rigid-body, $p$ and $P$ are conjugate momenta to $q$ and $Q$ , |
| 1147 |
> |
and $J$, a diagonal matrix, is defined by |
| 1148 |
|
\[ |
| 1149 |
|
I_{ii}^{ - 1} = \frac{1}{2}\sum\limits_{i \ne j} {J_{jj}^{ - 1} } |
| 1150 |
|
\] |
| 1154 |
|
\begin{equation} |
| 1155 |
|
Q^T Q = 1, \label{introEquation:orthogonalConstraint} |
| 1156 |
|
\end{equation} |
| 1157 |
< |
which is used to ensure rotation matrix's unitarity. Differentiating |
| 1158 |
< |
Eq.~\ref{introEquation:orthogonalConstraint} and using |
| 1159 |
< |
Eq.~\ref{introEquation:RBMotionMomentum}, one may obtain, |
| 1188 |
< |
\begin{equation} |
| 1189 |
< |
Q^T PJ^{ - 1} + J^{ - 1} P^T Q = 0 . \\ |
| 1190 |
< |
\label{introEquation:RBFirstOrderConstraint} |
| 1191 |
< |
\end{equation} |
| 1192 |
< |
Using Equation (\ref{introEquation:motionHamiltonianCoordinate}, |
| 1193 |
< |
\ref{introEquation:motionHamiltonianMomentum}), one can write down |
| 1157 |
> |
which is used to ensure the rotation matrix's unitarity. Using |
| 1158 |
> |
Eq.~\ref{introEquation:motionHamiltonianCoordinate} and Eq.~ |
| 1159 |
> |
\ref{introEquation:motionHamiltonianMomentum}, one can write down |
| 1160 |
|
the equations of motion, |
| 1161 |
|
\begin{eqnarray} |
| 1162 |
|
\frac{{dq}}{{dt}} & = & \frac{p}{m}, \label{introEquation:RBMotionPosition}\\ |
| 1164 |
|
\frac{{dQ}}{{dt}} & = & PJ^{ - 1}, \label{introEquation:RBMotionRotation}\\ |
| 1165 |
|
\frac{{dP}}{{dt}} & = & - \nabla _Q V(q,Q) - 2Q\Lambda . \label{introEquation:RBMotionP} |
| 1166 |
|
\end{eqnarray} |
| 1167 |
+ |
Differentiating Eq.~\ref{introEquation:orthogonalConstraint} and |
| 1168 |
+ |
using Eq.~\ref{introEquation:RBMotionMomentum}, one may obtain, |
| 1169 |
+ |
\begin{equation} |
| 1170 |
+ |
Q^T PJ^{ - 1} + J^{ - 1} P^T Q = 0 . \\ |
| 1171 |
+ |
\label{introEquation:RBFirstOrderConstraint} |
| 1172 |
+ |
\end{equation} |
| 1173 |
|
In general, there are two ways to satisfy the holonomic constraints. |
| 1174 |
|
We can use a constraint force provided by a Lagrange multiplier on |
| 1175 |
< |
the normal manifold to keep the motion on constraint space. Or we |
| 1176 |
< |
can simply evolve the system on the constraint manifold. These two |
| 1177 |
< |
methods have been proved to be equivalent. The holonomic constraint |
| 1178 |
< |
and equations of motions define a constraint manifold for rigid |
| 1179 |
< |
bodies |
| 1175 |
> |
the normal manifold to keep the motion on the constraint space. Or |
| 1176 |
> |
we can simply evolve the system on the constraint manifold. These |
| 1177 |
> |
two methods have been proved to be equivalent. The holonomic |
| 1178 |
> |
constraint and equations of motions define a constraint manifold for |
| 1179 |
> |
rigid bodies |
| 1180 |
|
\[ |
| 1181 |
|
M = \left\{ {(Q,P):Q^T Q = 1,Q^T PJ^{ - 1} + J^{ - 1} P^T Q = 0} |
| 1182 |
|
\right\}. |
| 1183 |
|
\] |
| 1184 |
< |
Unfortunately, this constraint manifold is not the cotangent bundle |
| 1185 |
< |
$T^* SO(3)$ which can be consider as a symplectic manifold on Lie |
| 1186 |
< |
rotation group $SO(3)$. However, it turns out that under symplectic |
| 1187 |
< |
transformation, the cotangent space and the phase space are |
| 1216 |
< |
diffeomorphic. By introducing |
| 1184 |
> |
Unfortunately, this constraint manifold is not $T^* SO(3)$ which is |
| 1185 |
> |
a symplectic manifold on Lie rotation group $SO(3)$. However, it |
| 1186 |
> |
turns out that under symplectic transformation, the cotangent space |
| 1187 |
> |
and the phase space are diffeomorphic. By introducing |
| 1188 |
|
\[ |
| 1189 |
|
\tilde Q = Q,\tilde P = \frac{1}{2}\left( {P - QP^T Q} \right), |
| 1190 |
|
\] |
| 1191 |
< |
the mechanical system subject to a holonomic constraint manifold $M$ |
| 1191 |
> |
the mechanical system subjected to a holonomic constraint manifold $M$ |
| 1192 |
|
can be re-formulated as a Hamiltonian system on the cotangent space |
| 1193 |
|
\[ |
| 1194 |
|
T^* SO(3) = \left\{ {(\tilde Q,\tilde P):\tilde Q^T \tilde Q = |
| 1252 |
|
motion. This unique property eliminates the requirement of |
| 1253 |
|
iterations which can not be avoided in other methods\cite{Kol1997, |
| 1254 |
|
Omelyan1998}. Applying the hat-map isomorphism, we obtain the |
| 1255 |
< |
equation of motion for angular momentum on body frame |
| 1255 |
> |
equation of motion for angular momentum in the body frame |
| 1256 |
|
\begin{equation} |
| 1257 |
|
\dot \pi = \pi \times I^{ - 1} \pi + \sum\limits_i {\left( {Q^T |
| 1258 |
|
F_i (r,Q)} \right) \times X_i }. |
| 1265 |
|
\] |
| 1266 |
|
|
| 1267 |
|
\subsection{\label{introSection:SymplecticFreeRB}Symplectic |
| 1268 |
< |
Lie-Poisson Integrator for Free Rigid Body} |
| 1268 |
> |
Lie-Poisson Integrator for Free Rigid Bodies} |
| 1269 |
|
|
| 1270 |
|
If there are no external forces exerted on the rigid body, the only |
| 1271 |
|
contribution to the rotational motion is from the kinetic energy |
| 1317 |
|
\end{array}} \right),\theta _1 = \frac{{\pi _1 }}{{I_1 }}\Delta t. |
| 1318 |
|
\] |
| 1319 |
|
To reduce the cost of computing expensive functions in $e^{\Delta |
| 1320 |
< |
tR_1 }$, we can use Cayley transformation to obtain a single-aixs |
| 1321 |
< |
propagator, |
| 1322 |
< |
\[ |
| 1323 |
< |
e^{\Delta tR_1 } \approx (1 - \Delta tR_1 )^{ - 1} (1 + \Delta tR_1 |
| 1324 |
< |
). |
| 1325 |
< |
\] |
| 1326 |
< |
The propagator maps for $T_2^r$ and $T_3^r$ can be found in the same |
| 1320 |
> |
tR_1 }$, we can use the Cayley transformation to obtain a |
| 1321 |
> |
single-aixs propagator, |
| 1322 |
> |
\begin{eqnarray*} |
| 1323 |
> |
e^{\Delta tR_1 } & \approx & (1 - \Delta tR_1 )^{ - 1} (1 + \Delta |
| 1324 |
> |
tR_1 ) \\ |
| 1325 |
> |
% |
| 1326 |
> |
& \approx & \left( \begin{array}{ccc} |
| 1327 |
> |
1 & 0 & 0 \\ |
| 1328 |
> |
0 & \frac{1-\theta^2 / 4}{1 + \theta^2 / 4} & -\frac{\theta}{1+ |
| 1329 |
> |
\theta^2 / 4} \\ |
| 1330 |
> |
0 & \frac{\theta}{1+ \theta^2 / 4} & \frac{1-\theta^2 / 4}{1 + |
| 1331 |
> |
\theta^2 / 4} |
| 1332 |
> |
\end{array} |
| 1333 |
> |
\right). |
| 1334 |
> |
\end{eqnarray*} |
| 1335 |
> |
The propagators for $T_2^r$ and $T_3^r$ can be found in the same |
| 1336 |
|
manner. In order to construct a second-order symplectic method, we |
| 1337 |
|
split the angular kinetic Hamiltonian function into five terms |
| 1338 |
|
\[ |
| 1358 |
|
function $G$ is zero, $F$ is a \emph{Casimir}, which is the |
| 1359 |
|
conserved quantity in Poisson system. We can easily verify that the |
| 1360 |
|
norm of the angular momentum, $\parallel \pi |
| 1361 |
< |
\parallel$, is a \emph{Casimir}. Let$ F(\pi ) = S(\frac{{\parallel |
| 1361 |
> |
\parallel$, is a \emph{Casimir}\cite{McLachlan1993}. Let$ F(\pi ) = S(\frac{{\parallel |
| 1362 |
|
\pi \parallel ^2 }}{2})$ for an arbitrary function $ S:R \to R$ , |
| 1363 |
|
then by the chain rule |
| 1364 |
|
\[ |
| 1377 |
|
Splitting for Rigid Body} |
| 1378 |
|
|
| 1379 |
|
The Hamiltonian of rigid body can be separated in terms of kinetic |
| 1380 |
< |
energy and potential energy,$H = T(p,\pi ) + V(q,Q)$. The equations |
| 1380 |
> |
energy and potential energy, $H = T(p,\pi ) + V(q,Q)$. The equations |
| 1381 |
|
of motion corresponding to potential energy and kinetic energy are |
| 1382 |
< |
listed in the below table, |
| 1382 |
> |
listed in Table~\ref{introTable:rbEquations} |
| 1383 |
|
\begin{table} |
| 1384 |
|
\caption{EQUATIONS OF MOTION DUE TO POTENTIAL AND KINETIC ENERGIES} |
| 1385 |
+ |
\label{introTable:rbEquations} |
| 1386 |
|
\begin{center} |
| 1387 |
|
\begin{tabular}{|l|l|} |
| 1388 |
|
\hline |
| 1506 |
|
differential equations,the Laplace transform is the appropriate tool |
| 1507 |
|
to solve this problem. The basic idea is to transform the difficult |
| 1508 |
|
differential equations into simple algebra problems which can be |
| 1509 |
< |
solved easily. Then, by applying the inverse Laplace transform, also |
| 1510 |
< |
known as the Bromwich integral, we can retrieve the solutions of the |
| 1511 |
< |
original problems. Let $f(t)$ be a function defined on $ [0,\infty ) |
| 1512 |
< |
$, the Laplace transform of $f(t)$ is a new function defined as |
| 1509 |
> |
solved easily. Then, by applying the inverse Laplace transform, we |
| 1510 |
> |
can retrieve the solutions of the original problems. Let $f(t)$ be a |
| 1511 |
> |
function defined on $ [0,\infty ) $, the Laplace transform of $f(t)$ |
| 1512 |
> |
is a new function defined as |
| 1513 |
|
\[ |
| 1514 |
|
L(f(t)) \equiv F(p) = \int_0^\infty {f(t)e^{ - pt} dt} |
| 1515 |
|
\] |
| 1527 |
|
p^2 L(x_\alpha ) - px_\alpha (0) - \dot x_\alpha (0) & = & - \omega _\alpha ^2 L(x_\alpha ) + \frac{{g_\alpha }}{{\omega _\alpha }}L(x), \\ |
| 1528 |
|
L(x_\alpha ) & = & \frac{{\frac{{g_\alpha }}{{\omega _\alpha }}L(x) + px_\alpha (0) + \dot x_\alpha (0)}}{{p^2 + \omega _\alpha ^2 }}. \\ |
| 1529 |
|
\end{eqnarray*} |
| 1530 |
< |
By the same way, the system coordinates become |
| 1530 |
> |
In the same way, the system coordinates become |
| 1531 |
|
\begin{eqnarray*} |
| 1532 |
|
mL(\ddot x) & = & |
| 1533 |
|
- \sum\limits_{\alpha = 1}^N {\left\{ { - \frac{{g_\alpha ^2 }}{{m_\alpha \omega _\alpha ^2 }}\frac{p}{{p^2 + \omega _\alpha ^2 }}pL(x) - \frac{p}{{p^2 + \omega _\alpha ^2 }}g_\alpha x_\alpha (0) - \frac{1}{{p^2 + \omega _\alpha ^2 }}g_\alpha \dot x_\alpha (0)} \right\}} \\ |
| 1551 |
|
& & + \sum\limits_{\alpha = 1}^N {\left\{ {\left[ {g_\alpha |
| 1552 |
|
x_\alpha (0) - \frac{{g_\alpha }}{{m_\alpha \omega _\alpha }}} |
| 1553 |
|
\right]\cos (\omega _\alpha t) + \frac{{g_\alpha \dot x_\alpha |
| 1554 |
< |
(0)}}{{\omega _\alpha }}\sin (\omega _\alpha t)} \right\}} |
| 1555 |
< |
\end{eqnarray*} |
| 1556 |
< |
\begin{eqnarray*} |
| 1557 |
< |
m\ddot x & = & - \frac{{\partial W(x)}}{{\partial x}} - \int_0^t |
| 1558 |
< |
{\sum\limits_{\alpha = 1}^N {\left( { - \frac{{g_\alpha ^2 |
| 1559 |
< |
}}{{m_\alpha \omega _\alpha ^2 }}} \right)\cos (\omega _\alpha |
| 1554 |
> |
(0)}}{{\omega _\alpha }}\sin (\omega _\alpha t)} \right\}}\\ |
| 1555 |
> |
% |
| 1556 |
> |
& = & - |
| 1557 |
> |
\frac{{\partial W(x)}}{{\partial x}} - \int_0^t {\sum\limits_{\alpha |
| 1558 |
> |
= 1}^N {\left( { - \frac{{g_\alpha ^2 }}{{m_\alpha \omega _\alpha |
| 1559 |
> |
^2 }}} \right)\cos (\omega _\alpha |
| 1560 |
|
t)\dot x(t - \tau )d} \tau } \\ |
| 1561 |
|
& & + \sum\limits_{\alpha = 1}^N {\left\{ {\left[ {g_\alpha |
| 1562 |
|
x_\alpha (0) - \frac{{g_\alpha }}{{m_\alpha \omega _\alpha }}} |
| 1634 |
|
which is known as the Langevin equation. The static friction |
| 1635 |
|
coefficient $\xi _0$ can either be calculated from spectral density |
| 1636 |
|
or be determined by Stokes' law for regular shaped particles. A |
| 1637 |
< |
briefly review on calculating friction tensor for arbitrary shaped |
| 1637 |
> |
brief review on calculating friction tensors for arbitrary shaped |
| 1638 |
|
particles is given in Sec.~\ref{introSection:frictionTensor}. |
| 1639 |
|
|
| 1640 |
|
\subsubsection{\label{introSection:secondFluctuationDissipation}\textbf{The Second Fluctuation Dissipation Theorem}} |