Skip to content

Commit 7fb3aac

Browse files
committed
Edit barostats section
1 parent 16f3e8f commit 7fb3aac

File tree

1 file changed

+34
-43
lines changed

1 file changed

+34
-43
lines changed

paper/basic_training.tex

Lines changed: 34 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ \subsubsection{Summary}
762762
Do note that depending on the system of interest, it might not be necessary to worry about some of this information when initializing the system for a production run.
763763
For example, if the thermal history of the system is not necessary during equilibration, a faster algorithm like Andersen or Berendsen could possibly be employed, with a switch to Nos\'{e}-Hoover for the production run.
764764
Knowing the system you are simulating and the benefits and weaknesses to each thermostat is crucial to successfully and efficiently collect meaningful, physical data.
765-
In general, deterministic thermostats should never be employed for production use; Langevin, Andersen, and Nos\'{e}-Hoover chains can serve as reasonable general-purpose thermostats, and other choices should be employed only with considerable caution.
765+
In general, deterministic thermostats should never be employed for production use; Langevin, Andersen, Bussi, and Nos\'{e}-Hoover chains can serve as reasonable general-purpose thermostats, and other choices should be employed only with considerable caution.
766766

767767
\begin{figure}[h]
768768
\centering
@@ -773,50 +773,40 @@ \subsubsection{Summary}
773773
\end{figure}
774774

775775
\subsection{Barostats}\label{sec:barostats}
776-
\begin{itemize}
777-
\item Motivation
778-
\item Background
779-
\item Brief description of how it works
780-
\item Popular barostats
781-
\item Summary
782-
\end{itemize}
776+
777+
Here, we discuss why barostats are used, give their background, discuss roughly how they work, describe some popular options, and summarize with some recommendations.
783778

784779
\subsubsection{Motivation}
785-
When browsing the literature for many physical properties of various materials, you will observe that a multitude of the thermodynamic
786-
properties of interest are measured under some contstant temperature and pressure.
787-
Whether it is standard temperature and pressure (STP), or a more extreme value, many experimental studies are performed under these conditions.
788-
Termed the isothermal-isobaric ensemble, this might be one of the most popular ensembles for simulationists in general.
780+
Typically, thermodynamic properties of interest are measured under open air conditions in a laboratory, which (for short timescales) means at they are measured at essentially constant temperature and pressure.
781+
Such conditions correspond to what is called the isothermal-isobaric ensemble, probably one of the most popular ensembles for MD simulationsl.
789782
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.
790-
This section will review the background of the barostats, a general overview of how they work, and introduce some popular barostats.
791783

792784
\subsubsection{Background and How They Work}
793-
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.
794-
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}.
785+
In many experiments, the container is either open to the atmosphere, meaning that it is subject to a roughly constant pressure of approximately one atmosphere. % is subjected to a constant pressure of one atmosphere; or under some enclosure, which will control the volume, thus controlling the pressure.
786+
%DLM: Removed this; if it was sealed, it is constant volume, not constant pressure, yes?
787+
To obtain 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}.
795788

796-
For the purpose of molecular modeling, consider a system with a fictitious piston of some fictitious mass.
797-
We are describing the system with a fictitious piston due to the way in which the piston acts on the system.
798-
Since the piston is acting on the system from all directions, a uniform compression or expansion will be applied to these example systems.
799-
This is difficult/impossible to do with the traditional view of a piston, which compresses or expands the system in one general direction.
789+
For the purpose of molecular modeling, consider a hypothetical system that is being compressed and/or expanded by a fictitious piston that has some mass which acts in all directions uniformly.
790+
Since the piston is acting on the system from all directions, it can be considered as applying a uniform compression or expansion.
800791
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.
801792
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.
802-
With this relationship, we can use the virial theorem to calculate the pressure that the system is experiencing~\cite{ShellNotes}.
803-
However, this is much more challenging when considering pairwise interactions and periodic boundary conditions~\cite{allenTildesleyLiquids, tuckermanBook, ShellNotes}.
804-
A different approach to the virial theorem is necessary at that point.
805-
The math is a bit more complex and is out of the scope of this article.
806-
We encourage the readers to read the articles referenced here for more information.
807-
808-
Finally, this treatment described above only covers holding the pressure constant (the NP of NPT).
809-
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.
793+
With this relationship, we can use the virial theorem (an expectation value relating to positions and forces) to calculate the pressure of a system~\cite{ShellNotes, LeachBook}.
794+
However, this is much more challenging when considering pairwise interactions and periodic boundary conditions~\cite{allenTildesleyLiquids, tuckermanBook, ShellNotes}, and a different approach is often utilized.
795+
Our main point here, however, is that pressure can be related to instantaneous properties of the system allowing us to calculate an instantaneous pressure in a similar manner to how we calculate an instantaneous temperature for thermostats.
796+
797+
Thus, barostat algorithms apply to keep the instantaneous pressure of a system at or near the target pressure.
798+
799+
Barostat algorithms control pressure alone, not temperature, so if the target ensemble is isothermal-isobaric, they must also be applied with a thermostat.
800+
If a barostat is applied without a thermostat, only the number of particles (N), the pressure (P), and the enthalpy (H) of the system is held constant.
810801
This is known as the isoenthalpic-isobaric ensemble (NPH).
811-
To sample from the isothermal-isobaric ensemble (NPT), a thermostating algorithm like the ones dicussed earlier must also be applied.
802+
To sample from the isothermal-isobaric ensemble (NPT), a thermostating algorithm like the ones discussed earlier must also be applied.
812803

813-
Like thermostats, many barostats have been developed during the lifetime of molecular dynamics.
814-
However, they usually can be classified into three main categories: volume rescaling, weakly coupled, and extended ensemble barostats~\cite{ShellNotes, tuckermanBook}.
804+
Many barostats are available, but can usually can be classified into three main categories: volume rescaling, weakly coupled, and extended ensemble barostats~\cite{ShellNotes, tuckermanBook}.
815805
The next section will describe the main differences between these barostats, and give some recommendations for proper use.
816806

817807

818808
\subsubsection{Popular and Notable Barostats}
819-
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.
809+
Here, we introduce a few notable barostats and give a high-level summary of each, noting some key issues.
820810
This is not an exhaustive list of barostats and barostat algorithms, just a sampling of popular and historic ones used in MD\@.
821811

822812
\subparagraph{Volume Rescaling}
@@ -825,8 +815,8 @@ \subsubsection{Popular and Notable Barostats}
825815

826816
Volume rescaling barostats are the simplest example of pressure control in molecular simulations.
827817
Every time this barostat is executed, the volume of the system is modified to produce the exact pressure desired.
828-
This does \textbf{not} sample the proper ensemble, this cannot be used for production sampling~\cite{ShellNotes}.
829-
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.
818+
This does \textbf{not} sample the proper ensemble and thus cannot be used for production sampling~\cite{ShellNotes}.
819+
This also does not smoothly approach the target pressure either, which might cause very unphysical issues with the system during integration.
830820

831821
\end{enumerate}
832822

@@ -861,25 +851,26 @@ \subsubsection{Popular and Notable Barostats}
861851

862852
\item \textbf{Martyna-Tuckerman-Tobias-Klein (MTTK) Barostat}
863853

864-
Generally the same that holds true for the Parrinello-Rahman barostat and the Andersen barostat are still true for the MTTK barostat.
865-
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}.
866-
MTTK~\cite{martyna1994constant, martyna1996explicit} is usually seen as an improvement over Parrinello-Rahman~\cite{Parrinello1981} in the regime of small systems.
854+
The MTTK barostat has substantial similarity to the Parrinello-Rahman and Andersen barostats.
855+
When Parrinello-Rahman's equations of motion were discovered to only hold true in the limit of large systems, the MTTK barostat introduced alternate equations of motion to correctly sample the ensemble for smaller systems as well~\cite{martyna1994constant, martyna1996explicit}.
856+
Thus, MTTK~\cite{martyna1994constant, martyna1996explicit} is usually seen as an improvement over Parrinello-Rahman~\cite{Parrinello1981} for such systems.
867857

868858
\end{enumerate}
869859

870860
\subsubsection{Summary}
871861

872862
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.
873-
Volume rescaling is not recommended for any equlibrium data sampling.
863+
Volume rescaling is not recommended for collection of production data.
874864
This barostat does not sample from any correct ensemble, nor does it utilize any ``realistic'' approach to achieve the target pressure.
875-
Weak coupling barostats are a bit of an improvement compared to volume rescaling methods.
876-
However, these methods cannot be used to bring the system to a final equilibrium.
877-
They can be used for approaching the target pressure in a more realistic fashion compared to the volume rescaling barostat.
878-
Which allows the system to reach the target pressure more slowly, possibly avoiding overlaps or other issues during the beginning stages of a simulation.
879-
Finally, the barostats that can be used for the production runs of most systems are the extended ensemble barostats.
865+
Weak coupling barostats provide some improvement compared to volume rescaling methods.
866+
However, these methods cannot be used to bring the system to equilibrium effectively.
867+
They can be used for approaching the target pressure in a more realistic fashion compared to the volume rescaling barostat, which itself is primarily useful only as a very stable thermostat for very early simulation stages if other algorithms have trouble beginning from particularly strained starting structures.
868+
(Alternatively, such issues can be avoided by running NVT equilibration before using a barostat, Figure~\ref{eqworkflow}.)
869+
Finally, extended ensemble barostats are suitable for the production runs of most systems.
880870
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.
881871
These can be affected by the starting configuration and pressure values much more than the Berendsen or volume rescaling barostats.
882-
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.
872+
MTTK and Parinello-Rahman allow for more flexibility in terms of the shape modulation of the simulation box.
873+
Ultimately, however, one's choice often is limited by which extended-ensemble barostat has been implemented in your simulation engine of choice.
883874
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.
884875

885876
\subsection{Integrators}

0 commit comments

Comments
 (0)