You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: paper/basic_training.tex
+7-5Lines changed: 7 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -128,8 +128,8 @@ \section{Introduction}
128
128
Thus, for the rest of this document we will restrict ourselves to classical MD.
129
129
130
130
One other important note is that, within classical molecular simulations, bond breaking and forming is generally not allowed (with notable exceptions such as reactive force fields), meaning that the overall topology or chemistry of a system will remain constant as a function of time.
131
-
That is, the particles comprising the system move around, but the chemical identity of each molecule in the system is a constant over the course of the simulation (with only partial exceptions, such as the case of constant pH simulations).
That is, the particles comprising the system move around, but the chemical identity of each molecule in the system is a constant over the course of the simulation (with only partial exceptions, such as the case of constant pH simulations~\cite{Chen:2014:Mol.Simul.}).
132
+
This also means that the notion of pH in molecular simulations primarily refers to the selection of \emph{fixed} protonation states for the components of the system.
133
133
134
134
Here, we first discuss the scope of this document, then go over some of the fundamental concepts or science topics which provide the underpinnings of molecular simulations, giving references for further reading.
135
135
Then, we introduce a variety of basic simulation concepts and terminology, with additional links to further reading.
@@ -176,7 +176,7 @@ \subsubsection{Key concepts}
176
176
177
177
Classical molecular models typically consist of point particles carrying mass and electric charge, as well as potentially additional interactions such as van der Waals interactions and bonded interactions of various types.
178
178
Sometimes it is much more efficient to freeze the internal degrees of freedoms and treat the molecule as a rigid body where the particles do not change their relative orientation as the whole body moves; this is commonly done, for example, for rigid models of the water molecule.
179
-
Due to the high frequency of the O-H vibrations, accurately treating water classically would require a very small timestep, so for computational efficiency water is often instead treated as a rigid body.
179
+
Due to the high frequency of the O-H vibrations, accurately treating water classically would require solving the equations of motion with a very small timestep, so for computational efficiency water is often instead treated as a rigid body.
180
180
Keeping specified objects rigid in a simulation involves applying holonomic constraints, where the rigidity is defined by imposing a minimal set of fixed bond lengths and angles through iterative procedures during the numerical integration of the equation of motion (see Section~\ref{sec:integrators} for more on constraints and integrators).
181
181
It is important to understand the concept of point particles, rigid bodies and constraints.
The latter effect, due to truncation errors, will become obvious if two simulations with different timesteps are compared.
924
924
Shorter timesteps, and hence more steps to achieve a simulation of the same length, will result in \textit{more} drift, since errors get larger with the number of calculations performed by the computer.
925
925
This is exactly opposite to the behavior that is expected for poor energy conservation associated with discretization error, where a shorter timestep will reduce energy drift.
926
-
\todo[inline, color={yellow!20}]{DLM: Probably need to address energy drift, as well as how energy changes should scale with timestep.}
927
-
\todo[inline, color={green!20}]{JIM: I addressed some of this above. I'm not sure exactly about the scalings, though. Can you say for sure how energy drift scales with timestep or number of timesteps? Isn't this highly algorithm-specific (and maybe even system-specific)?}
926
+
927
+
Overall, then, integrators do exhibit energy fluctuations that are timestep-dependent.
928
+
All Verlet-equivalent integrators exhibit energy fluctuations which decrease with the square of the timestep~\cite{allen_computer_2017}, which is often an important check when assessing the correctness of an implementation.
929
+
Thus, both energy drift and energy fluctuations are important criteria to understand when assessing integrators, and can be useful measures of simulation quality in the NVE ensemble.
928
930
929
931
Additionally, it is also desirable that an integrator be computationally efficient.
930
932
Integrator cost mostly appears in the length of the timestep that may be taken while still avoiding discretization error.
0 commit comments