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
@@ -511,7 +511,7 @@ \subsection{Force fields}
511
511
Either way, it is always a good idea to check results against previous literature when possible.
512
512
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.
513
513
514
-
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.}).
514
+
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.}).
515
515
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.
516
516
517
517
@@ -623,6 +623,13 @@ \subsection{Main steps of a molecular dynamics simulation}
623
623
624
624
\subsection{Thermostats}
625
625
\label{sec:thermostats}
626
+
\begin{itemize}
627
+
\item Motivation
628
+
\item Background
629
+
\item Brief description of how it works
630
+
\item Popular thermostats
631
+
\item Summary
632
+
\end{itemize}
626
633
627
634
% Motivation for using thermostats
628
635
\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
736
743
system size and ergodicity issues\cite{martyna1992nose, thermostatAlgorithms2005}.
737
-
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.
744
+
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
754
761
that the thermostat does not fulfill that statement, \ding{51} does, and
755
-
(\ding{51}) does under certain circumstances.}
756
-
\label{tstat_summary}
762
+
(\ding{51}) does under certain circumstances.}\label{tstat_summary}
757
763
\end{figure}
758
764
\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.}
759
765
760
-
\subsection{Barostats}
761
-
\label{sec:barostats}
766
+
\subsection{Barostats}\label{sec:barostats}
762
767
\begin{itemize}
763
-
\item What is it?
768
+
\item Motivation
769
+
\item Background
764
770
\item Brief description of how it works
765
771
\item Popular barostats
772
+
\item Summary
766
773
\end{itemize}
767
774
775
+
\subsubsection{Motivation}
776
+
When browsing the literature for many physical properties of various materials, you will observe that a multitude of the thermodynamic
777
+
properties of interest are measured under some contstant temperature and pressure.
778
+
Whether it is standard temperature and pressure (STP), or a more extreme value, many experimental studies are performed under these conditions.
779
+
Termed the isothermal-isobaric ensemble, this might be one of the most popular ensembles for simulationists in general.
780
+
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.
781
+
This section will review the background of the barostats, a general overview of how they work, and introduce some popular barostats.
782
+
783
+
\subsubsection{Background and How They Work}
784
+
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.
785
+
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}.
786
+
787
+
For the purpose of molecular modeling, consider a system with a fictitious piston of some fictitious mass.
788
+
We are describing the system with a fictitious piston due to the way in which the piston acts on the system.
789
+
Since the piston is acting on the system from all directions, a uniform compression or expansion will be applied to these example systems.
790
+
This is difficult/impossible to do with the traditional view of a piston, which compresses or expands the system in one general direction.
791
+
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.
792
+
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.
793
+
With this relationship, we can use the virial theorem to calculate the pressure that the system is experiencing~\cite{ShellNotes}.
794
+
However, this is much more challenging when considering pairwise interactions and periodic boundary conditions~\cite{allenTildesleyLiquids, tuckermanBook, ShellNotes}.
795
+
A different approach to the virial theorem is necessary at that point.
796
+
The math is a bit more complex and is out of the scope of this article.
797
+
We encourage the readers to read the articles referenced here for more information.
798
+
799
+
Finally, this treatment described above only covers holding the pressure constant (the NP of NPT).
800
+
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.
801
+
This is known as the isoenthalpic-isobaric ensemble (NPH).
802
+
To sample from the isothermal-isobaric ensemble (NPT), a thermostating algorithm like the ones dicussed earlier must also be applied.
803
+
804
+
Like thermostats, many barostats have been developed during the lifetime of molecular dynamics.
805
+
However, they usually can be classified into three main categories: volume rescaling, weakly coupled, and extended ensemble barostats~\cite{ShellNotes, tuckermanBook}.
806
+
The next section will describe the main differences between these barostats, and give some recommendations for proper use.
807
+
808
+
809
+
\subsubsection{Popular and Notable Barostats}
810
+
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.
811
+
This is not an exhaustive list of barostats and barostat algorithms, just a sampling of popular and historic ones used in MD\@.
812
+
813
+
\subparagraph{Volume Rescaling}
814
+
\begin{enumerate}[listparindent=\parindent]
815
+
\item\textbf{Volume Rescaling}
816
+
817
+
Volume rescaling barostats are the simplest example of pressure control in molecular simulations.
818
+
Every time this barostat is executed, the volume of the system is modified to produce the exact pressure desired.
819
+
This does \textbf{not} sample the proper ensemble, this cannot be used for production sampling~\cite{ShellNotes}.
820
+
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.
821
+
822
+
\end{enumerate}
823
+
824
+
\subparagraph{Weakly Coupled Barostats}
825
+
\begin{enumerate}[listparindent=\parindent]
826
+
\item\textbf{Berendsen}
827
+
828
+
The Berendesen~\cite{berendsen1984molecular} barostat is very similar to the Berendsen thermostat discussed earlier.
829
+
It seeks to improve upon the volume rescaling methods mentioned above.
830
+
This was to be achieved by coupling the system to a weakly interacting pressure bath~\cite{berendsen1984molecular}.
831
+
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.
832
+
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\@.
833
+
Berendsen can be useful for the beginning stages of equilibration, but should \textbf{not} be used for production sampling.
834
+
835
+
\end{enumerate}
836
+
837
+
\subparagraph{Extended System Barostats}
838
+
\begin{enumerate}[listparindent=\parindent]
839
+
\item\textbf{Andersen Barostat}
840
+
841
+
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.
842
+
This behaves as if the system is being acted upon by an isotropic piston.
843
+
This is similar to the Nos\'{e}-Hoover thermostat, which is also an extended system algorithm.
844
+
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.
845
+
846
+
\item\textbf{Parrinello-Rahman Barostat}
847
+
848
+
The Parrinello-Rahman~\cite{Parrinello1981} barostat is an extension to the Andersen barostat.
849
+
Unlike the Andersen barostat, Parrinello-Rahman supports the anisotropic scaling of the size and shape of the simulation box~\cite{Parrinello1981}.
850
+
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.
851
+
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.
856
+
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}.
857
+
MTTK~\cite{martyna1994constant, martyna1996explicit} is usually seen as an improvement over Parrinello-Rahman~\cite{Parrinello1981} in the regime of small systems.
858
+
859
+
\end{enumerate}
860
+
861
+
\subsubsection{Summary}
862
+
863
+
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.
864
+
Volume rescaling is not recommended for any equlibrium data sampling.
865
+
This barostat does not sample from any correct ensemble, nor does it utilize any ``realistic'' approach to achieve the target pressure.
866
+
Weak coupling barostats are a bit of an improvement compared to volume rescaling methods.
867
+
However, these methods cannot be used to bring the system to a final equilibrium.
868
+
They can be used for approaching the target pressure in a more realistic fashion compared to the volume rescaling barostat.
869
+
Which allows the system to reach the target pressure more slowly, possibly avoiding overlaps or other issues during the beginning stages of a simulation.
870
+
Finally, the barostats that can be used for the production runs of most systems are the extended ensemble barostats.
871
+
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.
872
+
These can be affected by the starting configuration and pressure values much more than the Berendsen or volume rescaling barostats.
873
+
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.
874
+
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