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
+115-7Lines changed: 115 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -505,7 +505,7 @@ \subsection{Force fields}
505
505
Either way, it is always a good idea to check results against previous literature when possible.
506
506
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.
507
507
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.}).
509
509
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.
510
510
511
511
@@ -617,6 +617,13 @@ \subsection{Main steps of a molecular dynamics simulation}
617
617
618
618
\subsection{Thermostats}
619
619
\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}
620
627
621
628
% Motivation for using thermostats
622
629
\subsubsection{Thermostats seek to maintain a target temperature}
Briefly mentioned above, there are certain conditions where the Nos\'{e}-Hoover thermostat might not be sufficient to properly sample the system, due to
730
737
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.
\caption{Basic summary of popular thermostats, where \ding{55} signifies
748
755
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}
751
757
\end{figure}
752
758
\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.}
753
759
754
-
\subsection{Barostats}
755
-
\label{sec:barostats}
760
+
\subsection{Barostats}\label{sec:barostats}
756
761
\begin{itemize}
757
-
\item What is it?
762
+
\item Motivation
763
+
\item Background
758
764
\item Brief description of how it works
759
765
\item Popular barostats
766
+
\item Summary
760
767
\end{itemize}
761
768
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.
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.
0 commit comments