Skip to content

Commit dbb54f1

Browse files
committed
Merge branch 'master' of https://github.com/MobleyLab/basic_simulation_training into mobley
2 parents ce24e6b + b8a828e commit dbb54f1

File tree

3 files changed

+158
-9
lines changed

3 files changed

+158
-9
lines changed

paper/basic_training.bib

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,49 @@ @article{Piana:2012:PLOSONE
568568
pages = {e39918},
569569
}
570570

571+
@book{tuckermanBook,
572+
title={Statistical mechanics: theory and molecular simulation},
573+
author={Tuckerman, Mark},
574+
year={2010},
575+
publisher={Oxford university press}
576+
}
577+
578+
@article{Parrinello1981,
579+
author = {Parrinello, M. and Rahman, A.},
580+
doi = {10.1063/1.328693},
581+
issn = {0021-8979},
582+
journal = {Journal of Applied Physics},
583+
month = {dec},
584+
number = {12},
585+
pages = {7182--7190},
586+
title = {{Polymorphic transitions in single crystals: A new molecular dynamics method}},
587+
url = {http://aip.scitation.org/doi/10.1063/1.328693},
588+
volume = {52},
589+
year = {1981}
590+
}
591+
592+
@article{martyna1994constant,
593+
title={Constant pressure molecular dynamics algorithms},
594+
author={Martyna, Glenn J and Tobias, Douglas J and Klein, Michael L},
595+
journal={The Journal of Chemical Physics},
596+
volume={101},
597+
number={5},
598+
pages={4177--4189},
599+
year={1994},
600+
publisher={AIP}
601+
}
602+
603+
@article{martyna1996explicit,
604+
title={Explicit reversible integrators for extended systems dynamics},
605+
author={Martyna, Glenn J and Tuckerman, Mark E and Tobias, Douglas J and Klein, Michael L},
606+
journal={Molecular Physics},
607+
volume={87},
608+
number={5},
609+
pages={1117--1157},
610+
year={1996},
611+
publisher={Taylor \& Francis}
612+
}
613+
571614
@article{Vega2011,
572615
author = {Vega, Carlos and Abascal, Jose L.F.},
573616
doi = {10.1039/c1cp22168j},
@@ -835,5 +878,3 @@ @article{Kofke1993
835878
volume = {98},
836879
year = {1993}
837880
}
838-
839-

paper/basic_training.pdf

4.78 KB
Binary file not shown.

paper/basic_training.tex

Lines changed: 115 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ \subsection{Force fields}
505505
Either way, it is always a good idea to check results against previous literature when possible.
506506
This helps ensure that the force field is being implemented properly and, though it may seem laborious on a short-time horizon, can pay substantial dividends in the long-run.
507507

508-
Because this balance of accuracy versus generality and transferability can be challenging, some efforts eschew transferability entirely and instead build ``bespoke'' force fields, where each molecule is considered as a unique entity and assigned parameters independently of any other molecule or representation of chemical space (e.g. ~\cite{Dupradeau:2010:Phys.Chem.Chem.Phys.}).
508+
Because this balance of accuracy versus generality and transferability can be challenging, some efforts eschew transferability entirely and instead build ``bespoke'' force fields, where each molecule is considered as a unique entity and assigned parameters independently of any other molecule or representation of chemical space (e.g.~\cite{Dupradeau:2010:Phys.Chem.Chem.Phys.}).
509509
Such approaches offer the opportunity to assign all molecules with parameters assigned in a consistent way; however, they are unsuitable for applications where speed needs to exceed that of the parameter assignment process -- so, for example, for docking of a large library of potential ligands to a target receptor, if compounds must be screened at seconds or less per molecule, such approaches may not be suitable.
510510

511511

@@ -617,6 +617,13 @@ \subsection{Main steps of a molecular dynamics simulation}
617617

618618
\subsection{Thermostats}
619619
\label{sec:thermostats}
620+
\begin{itemize}
621+
\item Motivation
622+
\item Background
623+
\item Brief description of how it works
624+
\item Popular thermostats
625+
\item Summary
626+
\end{itemize}
620627

621628
% Motivation for using thermostats
622629
\subsubsection{Thermostats seek to maintain a target temperature}
@@ -728,7 +735,7 @@ \subsubsection{Popular Thermostats}
728735

729736
Briefly mentioned above, there are certain conditions where the Nos\'{e}-Hoover thermostat might not be sufficient to properly sample the system, due to
730737
system size and ergodicity issues\cite{martyna1992nose, thermostatAlgorithms2005}.
731-
However, Martyna et. al. \cite{martyna1992nose} discovered that by coupling more heat baths to the system, the canonical ensemble can be rediscovered, at the minimal increase in computations required. In certain situations, it will be useful to chain additional heat baths to the system when under the Nos\'{e}-Hoover thermostat.
738+
However, Martyna et al.~\cite{martyna1992nose} discovered that by coupling more heat baths to the system, the canonical ensemble can be rediscovered, at the minimal increase in computations required. In certain situations, it will be useful to chain additional heat baths to the system when under the Nos\'{e}-Hoover thermostat.
732739

733740
\end{enumerate}
734741

@@ -746,19 +753,120 @@ \subsubsection{Summary}
746753
\includegraphics[width=\linewidth]{thermostat_summary.pdf}
747754
\caption{Basic summary of popular thermostats, where \ding{55} signifies
748755
that the thermostat does not fulfill that statement, \ding{51} does, and
749-
(\ding{51}) does under certain circumstances.}
750-
\label{tstat_summary}
756+
(\ding{51}) does under certain circumstances.}\label{tstat_summary}
751757
\end{figure}
752758
\todo[inline, color={green!20}]{EB: The Bussi thermostat should be added to this graphic under the stochastic grouping, with the canonical and fluctuations boxes checked.}
753759

754-
\subsection{Barostats}
755-
\label{sec:barostats}
760+
\subsection{Barostats}\label{sec:barostats}
756761
\begin{itemize}
757-
\item What is it?
762+
\item Motivation
763+
\item Background
758764
\item Brief description of how it works
759765
\item Popular barostats
766+
\item Summary
760767
\end{itemize}
761768

769+
\subsubsection{Motivation}
770+
When browsing the literature for many physical properties of various materials, you will observe that a multitude of the thermodynamic
771+
properties of interest are measured under some contstant temperature and pressure.
772+
Whether it is standard temperature and pressure (STP), or a more extreme value, many experimental studies are performed under these conditions.
773+
Termed the isothermal-isobaric ensemble, this might be one of the most popular ensembles for simulationists in general.
774+
As is the case with thermostats, if the pressure must be maintained in a simulation, a barostat algorithm will be needed to sample this ensemble.
775+
This section will review the background of the barostats, a general overview of how they work, and introduce some popular barostats.
776+
777+
\subsubsection{Background and How They Work}
778+
Recall that in the majority of experimental set-ups, the container the experiment is being conducted in is either open to the atmosphere, which is subjected to a constant pressure of one atmosphere; or under some enclosure, which will control the volume, thus controlling the pressure.
779+
If an experimenter would prefer to run their simulation at a different pressure, some device, like a piston, inert gas, etc\@., would be needed to control the pressure and volume of the system~\cite{tuckermanBook, ShellNotes}.
780+
781+
For the purpose of molecular modeling, consider a system with a fictitious piston of some fictitious mass.
782+
We are describing the system with a fictitious piston due to the way in which the piston acts on the system.
783+
Since the piston is acting on the system from all directions, a uniform compression or expansion will be applied to these example systems.
784+
This is difficult/impossible to do with the traditional view of a piston, which compresses or expands the system in one general direction.
785+
The mass of the piston can be tuned to change the compression of the system, which will change how often the particles in the system will interact with the system enclosure.
786+
These impacts from the particles on the ``enclosure'' will impart a stress on the system box which can be related to the stress the surroundings are imparting on the system.
787+
With this relationship, we can use the virial theorem to calculate the pressure that the system is experiencing~\cite{ShellNotes}.
788+
However, this is much more challenging when considering pairwise interactions and periodic boundary conditions~\cite{allenTildesleyLiquids, tuckermanBook, ShellNotes}.
789+
A different approach to the virial theorem is necessary at that point.
790+
The math is a bit more complex and is out of the scope of this article.
791+
We encourage the readers to read the articles referenced here for more information.
792+
793+
Finally, this treatment described above only covers holding the pressure constant (the NP of NPT).
794+
When a barostat is applied without an additional thermostating algorithm, only the amount of particles (N), the pressure (P), and the enthalpy (H) of the system is held constant.
795+
This is known as the isoenthalpic-isobaric ensemble (NPH).
796+
To sample from the isothermal-isobaric ensemble (NPT), a thermostating algorithm like the ones dicussed earlier must also be applied.
797+
798+
Like thermostats, many barostats have been developed during the lifetime of molecular dynamics.
799+
However, they usually can be classified into three main categories: volume rescaling, weakly coupled, and extended ensemble barostats~\cite{ShellNotes, tuckermanBook}.
800+
The next section will describe the main differences between these barostats, and give some recommendations for proper use.
801+
802+
803+
\subsubsection{Popular and Notable Barostats}
804+
Within this section, a few notable barostats will be introduced to the reader, describing a high-level summary of each, with some of the issues associated with them as well.
805+
This is not an exhaustive list of barostats and barostat algorithms, just a sampling of popular and historic ones used in MD\@.
806+
807+
\subparagraph{Volume Rescaling}
808+
\begin{enumerate}[listparindent=\parindent]
809+
\item \textbf{Volume Rescaling}
810+
811+
Volume rescaling barostats are the simplest example of pressure control in molecular simulations.
812+
Every time this barostat is executed, the volume of the system is modified to produce the exact pressure desired.
813+
This does \textbf{not} sample the proper ensemble, this cannot be used for production sampling~\cite{ShellNotes}.
814+
This also does not smoothly approach the target pressure either, which might cause very unphysical issues with the system during time integration and force calculation.
815+
816+
\end{enumerate}
817+
818+
\subparagraph{Weakly Coupled Barostats}
819+
\begin{enumerate}[listparindent=\parindent]
820+
\item \textbf{Berendsen}
821+
822+
The Berendesen~\cite{berendsen1984molecular} barostat is very similar to the Berendsen thermostat discussed earlier.
823+
It seeks to improve upon the volume rescaling methods mentioned above.
824+
This was to be achieved by coupling the system to a weakly interacting pressure bath~\cite{berendsen1984molecular}.
825+
This bath scales the volume periodically by a scaling factor, which produces more realisitc fluctuations in the pressure as it slowly approaches the target pressure.
826+
In contrast to volume rescaling, Berendsen will approach the target pressure more realistically, but the ensemble it is sampling from is not well defined and cannot be guaranteed to be NPT or NPH\@.
827+
Berendsen can be useful for the beginning stages of equilibration, but should \textbf{not} be used for production sampling.
828+
829+
\end{enumerate}
830+
831+
\subparagraph{Extended System Barostats}
832+
\begin{enumerate}[listparindent=\parindent]
833+
\item \textbf{Andersen Barostat}
834+
835+
First described by Andersen~\cite{andersen1980molecular} in 1980, the system is coupled to a fictitious pressure bath, by adding an additional degree of freedom to the equations of motion.
836+
This behaves as if the system is being acted upon by an isotropic piston.
837+
This is similar to the Nos\'{e}-Hoover thermostat, which is also an extended system algorithm.
838+
This barostat does sample the correct ensemble. However, it is isotropic in nature and applying anisotropic pressures to parts of the system is not possible.
839+
840+
\item \textbf{Parrinello-Rahman Barostat}
841+
842+
The Parrinello-Rahman~\cite{Parrinello1981} barostat is an extension to the Andersen barostat.
843+
Unlike the Andersen barostat, Parrinello-Rahman supports the anisotropic scaling of the size and shape of the simulation box~\cite{Parrinello1981}.
844+
This can be quite useful in solid simulations, where phase changes can be shape changes in a crystal lattice, compared to a liquid or gas, which has no well defined shape.
845+
This barostat has essentially the same properties as the Andersen one, with the additional support anisotropy.
846+
847+
\item \textbf{Martyna-Tuckerman-Tobias-Klein (MTTK) Barostat}
848+
849+
Generally the same that holds true for the Parrinello-Rahman barostat and the Andersen barostat are still true for the MTTK barostat.
850+
Parrinello-Rahman's equations of motion were discovered to only hold true in the limit of large systems, the MTTK barostat introduced their own equations of motion to correctly sample the ensemble for these systems as well~\cite{martyna1994constant, martyna1996explicit}.
851+
MTTK~\cite{martyna1994constant, martyna1996explicit} is usually seen as an improvement over Parrinello-Rahman~\cite{Parrinello1981} in the regime of small systems.
852+
853+
\end{enumerate}
854+
855+
\subsubsection{Summary}
856+
857+
In summary, there are three types of barostats usually implemented in molecular dynamics codes which can greatly affect the data you are collecting from the system.
858+
Volume rescaling is not recommended for any equlibrium data sampling.
859+
This barostat does not sample from any correct ensemble, nor does it utilize any ``realistic'' approach to achieve the target pressure.
860+
Weak coupling barostats are a bit of an improvement compared to volume rescaling methods.
861+
However, these methods cannot be used to bring the system to a final equilibrium.
862+
They can be used for approaching the target pressure in a more realistic fashion compared to the volume rescaling barostat.
863+
Which allows the system to reach the target pressure more slowly, possibly avoiding overlaps or other issues during the beginning stages of a simulation.
864+
Finally, the barostats that can be used for the production runs of most systems are the extended ensemble barostats.
865+
It is usually not recommended to use these for the equilibration process, as these barostats do not behave as well when not near the target pressure.
866+
These can be affected by the starting configuration and pressure values much more than the Berendsen or volume rescaling barostats.
867+
MTTK and Parinello-Rahman allow for more flexibility in terms of the shape modulation of the simualtion box, but it usually distills to using the extended-ensemble barostat that has been implemented in your simuation engine of choice.
868+
It is recommended to begin with a volume rescaling or weakly coupled barostat to quickly bring the system to the target pressure, then switch to an extended ensemble barostat for final equilibration and production.
869+
762870
\subsection{Integrators}
763871
\label{sec:integrators}
764872
\begin{itemize}

0 commit comments

Comments
 (0)