37 |
|
|
38 |
|
\newcolumntype{H}{p{0.75in}} |
39 |
|
\newcolumntype{I}{p{5in}} |
40 |
+ |
|
41 |
+ |
\newcolumntype{J}{p{1.5in}} |
42 |
+ |
\newcolumntype{K}{p{1.2in}} |
43 |
+ |
\newcolumntype{L}{p{1.5in}} |
44 |
+ |
\newcolumntype{M}{p{1.55in}} |
45 |
|
|
46 |
|
|
47 |
|
\title{{\sc OpenMD}: Molecular Dynamics in the Open} |
2938 |
|
\label{table:zconParams} |
2939 |
|
\end{longtable} |
2940 |
|
|
2941 |
< |
\chapter{\label{section:restraints}Restraints} |
2942 |
< |
Restraints are external potentials that are added to a system to keep |
2943 |
< |
particular molecules or collections of particles close to some |
2944 |
< |
reference structure. A restraint can be a collective |
2941 |
> |
% \chapter{\label{section:restraints}Restraints} |
2942 |
> |
% Restraints are external potentials that are added to a system to keep |
2943 |
> |
% particular molecules or collections of particles close to some |
2944 |
> |
% reference structure. A restraint can be a collective |
2945 |
|
|
2946 |
|
\chapter{\label{section:thermInt}Thermodynamic Integration} |
2947 |
|
|
3080 |
|
Einstein crystal |
3081 |
|
\label{table:thermIntParams} |
3082 |
|
\end{longtable} |
3083 |
+ |
|
3084 |
+ |
\chapter{\label{section:rnemd}RNEMD} |
3085 |
+ |
|
3086 |
+ |
There are many ways to compute transport properties from molecular |
3087 |
+ |
dynamic simulations. Equilibrium Molecular Dynamics (EMD) simulations |
3088 |
+ |
can be used by computing relevant time correlation functions and |
3089 |
+ |
assuming linear response theory holds. These approaches are generally |
3090 |
+ |
subject to noise and poor convergence of the relevant correlation |
3091 |
+ |
functions. Traditional Non-equilibrium Molecular Dynamics (NEMD) |
3092 |
+ |
methods impose a gradient (e.g. thermal or momentum) on a simulation. |
3093 |
+ |
However, the resulting flux is often difficult to |
3094 |
+ |
measure. Furthermore, problems arise for NEMD simulations of |
3095 |
+ |
heterogeneous systems, such as phase-phase boundaries or interfaces, |
3096 |
+ |
where the type of gradient to enforce at the boundary between |
3097 |
+ |
materials is unclear. |
3098 |
+ |
|
3099 |
+ |
{\it Reverse} Non-Equilibrium Molecular Dynamics (RNEMD) methods adopt a |
3100 |
+ |
different approach in that an unphysical {\it flux} is imposed between |
3101 |
+ |
different regions or ``slabs'' of the simulation box. The response of |
3102 |
+ |
the system is to develop a temperature or momentum {\it gradient} |
3103 |
+ |
between the two regions. Since the amount of the applied flux is known |
3104 |
+ |
exactly, and the measurement of gradient is generally less |
3105 |
+ |
complicated, imposed-flux methods typically take shorter simulation |
3106 |
+ |
times to obtain converged results for transport properties. |
3107 |
+ |
|
3108 |
+ |
%RNEMD figure |
3109 |
+ |
|
3110 |
+ |
|
3111 |
+ |
RNEMD methods further its advantages by utilizing momentum- and |
3112 |
+ |
energy-conserving approaches to apply fluxes. The original |
3113 |
+ |
``swapping'' approach by Muller-Plathe {\it et al.} %CITATIONS |
3114 |
+ |
can be seen as an imaginary elastic collision between selected |
3115 |
+ |
particles for each momentum exchange. This simple to implement |
3116 |
+ |
algorithm turned out to be quite useful in many simulations. However, |
3117 |
+ |
the approach inherently perturbs the ideal Maxwell-Boltzmann |
3118 |
+ |
distributions, which leads to undesirable side-effects when the |
3119 |
+ |
applied exchanged flux becomes quite large. %CITATION |
3120 |
+ |
This limits the range of flux available to the method, and also its |
3121 |
+ |
applications. |
3122 |
|
|
3123 |
+ |
In OpenMD, we improve the above method by introducing two alternative |
3124 |
+ |
approaches: |
3125 |
|
|
3126 |
+ |
Non-Isotropic Velocity Scaling (NIVS): %CITATION |
3127 |
+ |
Instead of have two individual particles involved in momentum |
3128 |
+ |
exchange, this algorithm applies scaling to all the particles in |
3129 |
+ |
particular regions: |
3130 |
+ |
|
3131 |
+ |
%NIVS equations |
3132 |
+ |
|
3133 |
+ |
Although the above matrices can be diagonal as shown, these |
3134 |
+ |
coefficients cannot be always the same, in order to satisfy the linear |
3135 |
+ |
momentum and kinetic energy conservation constraints: |
3136 |
+ |
|
3137 |
+ |
%Conservation equations |
3138 |
+ |
|
3139 |
+ |
And to apply a kinetic energy exchange between the two regions, the |
3140 |
+ |
following should be satisfied as well: |
3141 |
+ |
|
3142 |
+ |
%Flux equations |
3143 |
+ |
|
3144 |
+ |
Mathematically, any points in the 3-dimensional space of the solution |
3145 |
+ |
set would satisfy the equations. However, to avoid solving an |
3146 |
+ |
ill-conditioned high-order polynomial in actual practice, another |
3147 |
+ |
constraint, ${x_c=y_c}$, is applied, taking into consideration of its |
3148 |
+ |
physical relevance. Therefore, a quartic equation is solved in actual |
3149 |
+ |
practice to determine the sets of possible coefficients. To determine |
3150 |
+ |
which set is actually used to perform the scaling, two criteria are |
3151 |
+ |
mainly considered: 1. ${x,y,z\rightarrow 1}$ so that the perturbation |
3152 |
+ |
could be as gentle as possible. 2. ${K^x, K^y, K^z}$ have minimal |
3153 |
+ |
difference among each other, so that the anisotropy introduced by the |
3154 |
+ |
algorithm can be offset to some extend. One set of scaling |
3155 |
+ |
coefficients is chosen against these criteria, and the best one is |
3156 |
+ |
used to perform the scaling for that particular step. However, if no |
3157 |
+ |
solution found, the NIVS move is not performed in that step. |
3158 |
+ |
|
3159 |
+ |
Although the NIVS algorithm can also be applied to impose a |
3160 |
+ |
directional momentum flux, thermal anisotropy was observed in |
3161 |
+ |
relatively high flux simulations. %This is because... |
3162 |
+ |
However, the gentleness and ability to apply a wide range of kinetic |
3163 |
+ |
energy flux makes the method useful in thermal transport simulations, |
3164 |
+ |
particularly for complex and heterogeneous systems including |
3165 |
+ |
interfaces. %CITATION |
3166 |
+ |
|
3167 |
+ |
Velocity Shearing and Scaling (VSS): %CITATION |
3168 |
+ |
Learning from NIVS that imposing directional momentum flux by velocity |
3169 |
+ |
scaling could cause problem, we shift the approach to combine the move |
3170 |
+ |
of velocity shearing and scaling: |
3171 |
+ |
|
3172 |
+ |
%VSS equations |
3173 |
+ |
|
3174 |
+ |
It turned out that this approach results in a set of simpler-to-solve |
3175 |
+ |
equations for conservation and to satisfy momentum exchange: |
3176 |
+ |
|
3177 |
+ |
%conservation equations |
3178 |
+ |
|
3179 |
+ |
Furthermore, isotropic scaling is now possible, with the presence of |
3180 |
+ |
velocity shearing quantities. Only a set of simple quadratic equations |
3181 |
+ |
need to be solved, and the positive set of coefficients are chosen, in |
3182 |
+ |
order to reach minimal perturbations. Similar to the NIVS method, no |
3183 |
+ |
VSS is performed in a step given that no solution can be found. |
3184 |
+ |
|
3185 |
+ |
The VSS approach turned out to be versatile in both thermal and |
3186 |
+ |
directional momentum transport simulations. It is found that the |
3187 |
+ |
perturbation is minimal and undesired side-effects like thermal |
3188 |
+ |
anisotropy can be avoided. Another nice feature of VSS is its ability |
3189 |
+ |
to combine a thermal and a directional momentum flux. This feature has |
3190 |
+ |
been utilized to map out the shear viscosity of SPC/E water in a wide |
3191 |
+ |
range of temperature (90~K) just with one single simulation. Possible |
3192 |
+ |
applications may also include the studies of thermal-momentum coupled |
3193 |
+ |
transport phenomena. VSS also allows the directional momentum flux to |
3194 |
+ |
have quite arbitary directions, which could benefit researches of |
3195 |
+ |
anisotropic systems. |
3196 |
+ |
|
3197 |
+ |
Table \ref{table:rnemd} summarizes the parameters used in RNEMD |
3198 |
+ |
simulations. |
3199 |
+ |
|
3200 |
+ |
\begin{longtable}[c]{JKLM} |
3201 |
+ |
\caption{The following keywords must be enclosed inside a {\tt RNEMD\{\}} block} |
3202 |
+ |
\\ |
3203 |
+ |
{\bf keyword} & {\bf units} & {\bf use} & {\bf remarks} \\ \hline |
3204 |
+ |
\endhead |
3205 |
+ |
\hline |
3206 |
+ |
\endfoot |
3207 |
+ |
{\tt useRNEMD} & logical & perform RNEMD? & default is ``false'' \\ |
3208 |
+ |
{\tt objectSelection} & string & see section \ref{section:syntax} |
3209 |
+ |
for selection syntax & default is ``select all'' \\ |
3210 |
+ |
{\tt method} & string & exchange method & one of the following: |
3211 |
+ |
{\tt Swap, NIVS,} or {\tt VSS} (default is {\tt VSS}) \\ |
3212 |
+ |
{\tt fluxType} & string & what is being exchanged between slabs? & one |
3213 |
+ |
of the following: {\tt KE, Px, Py, Pz, Pvector, KE+Px, KE+Py, KE+Pvector} \\ |
3214 |
+ |
{\tt kineticFlux} & kcal mol$^{-1}$ \AA$^{-2}$ fs$^{-1}$ & specify the kinetic energy flux & \\ |
3215 |
+ |
{\tt momentumFlux} & amu \AA$^{-1}$ fs$^{-2}$ & specify the momentum flux & \\ |
3216 |
+ |
{\tt momentumFluxVector} & amu \AA$^{-1}$ fs$^{-2}$ & specify the momentum flux when |
3217 |
+ |
{\tt Pvector} is part of the exchange & Vector3d input\\ |
3218 |
+ |
{\tt exchangeTime} & fs & how often to perform the exchange & default is 100 fs\\ |
3219 |
+ |
|
3220 |
+ |
{\tt slabWidth} & $\mbox{\AA}$ & width of the two exchange slabs & default is $\mathsf{H}_{zz} / 10.0$ \\ |
3221 |
+ |
{\tt slabAcenter} & $\mbox{\AA}$ & center of the end slab & default is 0 \\ |
3222 |
+ |
{\tt slabBcenter} & $\mbox{\AA}$ & center of the middle slab & default is $\mathsf{H}_{zz} / 2$ \\ |
3223 |
+ |
{\tt outputFileName} & string & file name for output histograms & default is the same prefix as the |
3224 |
+ |
.md file, but with the {\tt .rnemd} extension \\ |
3225 |
+ |
{\tt outputBins} & int & number of $z$-bins in the output histogram & |
3226 |
+ |
default is 20 \\ |
3227 |
+ |
{\tt outputFields} & string & columns to print in the {\tt .rnemd} |
3228 |
+ |
file where each column is separated by a pipe ($\mid$) symbol. & Allowed column names are: {\sc z, temperature, velocity, density}} \\ |
3229 |
+ |
\label{table:rnemd} |
3230 |
+ |
\end{longtable} |
3231 |
+ |
|
3232 |
+ |
|
3233 |
|
\chapter{\label{section:minimizer}Energy Minimization} |
3234 |
|
|
3235 |
|
As one of the basic procedures of molecular modeling, energy |