Slow-growth approach: Difference between revisions

From VASP Wiki
(Created page with " In general, constrained molecular dynamics generates biased statistical averages. It can be shown that the correct average for a quantity <math>a(\xi)</math> can be obtained...")
 
No edit summary
Line 1: Line 1:
 
The free-energy profile along a geometric parameter $\xi$ can be scanned by an approximate slow-growth
In general, constrained molecular dynamics generates biased statistical averages.
approach~\cite{Woo:97}.
It can be shown that the correct average for a quantity <math>a(\xi)</math> can be obtained using the formula:
In this method, the value of $\xi$ is linearly changed
:<math>
from the value characteristic for the initial state (1) to that for
a(\xi)=\frac{\langle |\mathbf{Z}|^{-1/2} a(\xi^*) \rangle_{\xi^*}}{\langle |\mathbf{Z}|^{-1/2}\rangle_{\xi^*}},
the final state (2) with a velocity of transformation
</math>
$\dot{\xi}$.
where <math>\langle ... \rangle_{\xi^*}</math> stands for the statistical average of the quantity enclosed in angular parentheses computed for a constrained ensemble and <math>Z</math> is a mass metric tensor defined as:
The resulting work needed to perform a transformation $1 \rightarrow 2$
:<math>
can be computed as:
Z_{\alpha,\beta}={\sum}_{i=1}^{3N} m_i^{-1} \nabla_i \xi_\alpha \cdot \nabla_i \xi_\beta, \, \alpha=1,...,r, \, \beta=1,...,r,
\begin{equation}\label{irev_work}  
</math>
w^{irrev}_{1 \rightarrow 2}=\int_{{\xi(1)}}^{{\xi(2)}} \left ( \frac{\partial                                      {V(q)}} {\partial \xi} \right ) \cdot \dot{\xi}\, dt.
It can be shown that the free energy gradient can be computed using the equation:<ref name="Carter89"/><ref name="Otter00"/><ref name="Darve02"/><ref name="Fleurat05"/>
\end{equation}
:<math>
In the limit of infinitesimally small $\dot{\xi}$, the work $w^{irrev}_{1 \rightarrow 2}$
\Bigl(\frac{\partial A}{\partial \xi_k}\Bigr)_{\xi^*}=\frac{1}{\langle|Z|^{-1/2}\rangle_{\xi^*}}\langle |Z|^{-1/2} [\lambda_k +\frac{k_B T}{2 |Z|} \sum_{j=1}^{r}(Z^{-1})_{kj} \sum_{i=1}^{3N} m_i^{-1}\nabla_i \xi_j \cdot \nabla_i |Z|]\rangle_{\xi^*},
corresponds to the free-energy difference between the the final and initial state.
</math>
In the general case, $w^{irrev}_{1 \rightarrow 2}$ is the irreversible work related
where <math>\lambda_{\xi_k}</math> is the Lagrange multiplier associated with the parameter <math>{\xi_k}</math> used in the [[#SHAKE|SHAKE algorithm]].<ref name="Ryckaert77"/>
to the free energy via Jarzynski's identity~\cite{Jarzynski:97}:
 
\begin{equation}\label{eq_jarzynski}  
The free-energy difference between states (1) and (2) can be computed by integrating the free-energy gradients over a connecting path:
{\rm exp}\left\{-\frac{\Delta A_{1 \rightarrow 2}}{k_B\,T} \right \}=
:<math>
\bigg \langle {\rm exp} \left \{-\frac{w^{irrev}_{1 \rightarrow 2}}{k_B\,T} \right \} \bigg\rangle.
{\Delta}A_{1 \rightarrow 2} = \int_{{\xi(1)}}^{{\xi(2)}}\Bigl( \frac{\partial {A}} {\partial \xi} \Bigr)_{\xi^*} \cdot d{\xi}.
\end{equation}
</math>
Note that calculation of the free-energy via eq.(\ref{eq_jarzynski}) requires
Note that as the free-energy is a state quantity, the choice of path connecting (1) with (2) is irrelevant.
averaging of  the term ${\rm exp} \left \{-\frac{w^{irrev}_{1 \rightarrow 2}}{k_B\,T} \right \}$
 
over many realizations of the $1 \rightarrow 2$
transformation.
Detailed description of the simulation protocol that employs Jarzynski's identity
can be found in Ref.~\cite{Oberhofer:05}.


* For a constrained molecular dynamics run with Andersen thermostat, one has to:
* For a constrained molecular dynamics run with Andersen thermostat, one has to:
Line 34: Line 37:


VASP can handle multiple (even redundant) constraints. Note, however, that a too large number of constraints can cause problems with the stability of the [[#SHAKE|SHAKE algorithm]]. In problematic cases, it is recommended to use a looser convergence criterion (see {{TAG|SHAKETOL}}) and to allow a larger number of iterations (see {{TAG|SHAKEMAXITER}}) in the [[#SHAKE|SHAKE algorithm]]. Hard constraints may also be used in [[#Metadynamics|metadynamics simulations]] (see {{TAG|MDALGO}}=11 {{!}} 21). Information about the constraints is written onto the {{FILE|REPORT}}-file: check the lines following the string: <tt>Const_coord</tt>
VASP can handle multiple (even redundant) constraints. Note, however, that a too large number of constraints can cause problems with the stability of the [[#SHAKE|SHAKE algorithm]]. In problematic cases, it is recommended to use a looser convergence criterion (see {{TAG|SHAKETOL}}) and to allow a larger number of iterations (see {{TAG|SHAKEMAXITER}}) in the [[#SHAKE|SHAKE algorithm]]. Hard constraints may also be used in [[#Metadynamics|metadynamics simulations]] (see {{TAG|MDALGO}}=11 {{!}} 21). Information about the constraints is written onto the {{FILE|REPORT}}-file: check the lines following the string: <tt>Const_coord</tt>
== References ==
<references>
<ref name="Woo1997">[https://pubs.acs.org/doi/abs/10.1021/jp9717296 T. K. Woo, P. M. Margl, P. E. Blochl, and T. Ziegler, J. Phys. Chem. B 101, 7877 (1997).]</ref>
</references>
----
[[The_VASP_Manual|Contents]]
[[Category:Molecular Dynamics]][[Category:Slow-growth approach]][[Category:Theory]][[Category:Howto]]

Revision as of 15:25, 13 March 2019

The free-energy profile along a geometric parameter $\xi$ can be scanned by an approximate slow-growth approach~\cite{Woo:97}. In this method, the value of $\xi$ is linearly changed from the value characteristic for the initial state (1) to that for the final state (2) with a velocity of transformation $\dot{\xi}$. The resulting work needed to perform a transformation $1 \rightarrow 2$ can be computed as: \begin{equation}\label{irev_work} w^{irrev}_{1 \rightarrow 2}=\int_Template:\xi(1)^Template:\xi(2) \left ( \frac{\partial {V(q)}} {\partial \xi} \right ) \cdot \dot{\xi}\, dt. \end{equation} In the limit of infinitesimally small $\dot{\xi}$, the work $w^{irrev}_{1 \rightarrow 2}$ corresponds to the free-energy difference between the the final and initial state. In the general case, $w^{irrev}_{1 \rightarrow 2}$ is the irreversible work related to the free energy via Jarzynski's identity~\cite{Jarzynski:97}: \begin{equation}\label{eq_jarzynski} {\rm exp}\left\{-\frac{\Delta A_{1 \rightarrow 2}}{k_B\,T} \right \}= \bigg \langle {\rm exp} \left \{-\frac{w^{irrev}_{1 \rightarrow 2}}{k_B\,T} \right \} \bigg\rangle. \end{equation} Note that calculation of the free-energy via eq.(\ref{eq_jarzynski}) requires averaging of the term ${\rm exp} \left \{-\frac{w^{irrev}_{1 \rightarrow 2}}{k_B\,T} \right \}$ over many realizations of the $1 \rightarrow 2$ transformation. Detailed description of the simulation protocol that employs Jarzynski's identity can be found in Ref.~\cite{Oberhofer:05}.

  • For a constrained molecular dynamics run with Andersen thermostat, one has to:
  1. Set the standard MD-related tags: IBRION=0, TEBEG, POTIM, and NSW
  2. Set MDALGO=1, and choose an appropriate setting for ANDERSEN_PROB
  3. Define geometric constraints in the ICONST-file, and set the STATUS parameter for the constrained coordinates to 0
  4. When the free-energy gradient is to be computed, set LBLUEOUT=.TRUE.

For a slow-growth simulation, one has to additionally:

  1. Specify the transformation velocity-related INCREM-tag for each geometric parameter with STATUS=0

VASP can handle multiple (even redundant) constraints. Note, however, that a too large number of constraints can cause problems with the stability of the SHAKE algorithm. In problematic cases, it is recommended to use a looser convergence criterion (see SHAKETOL) and to allow a larger number of iterations (see SHAKEMAXITER) in the SHAKE algorithm. Hard constraints may also be used in metadynamics simulations (see MDALGO=11 | 21). Information about the constraints is written onto the REPORT-file: check the lines following the string: Const_coord


References

Cite error: <ref> tag with name "Woo1997" defined in <references> has group attribute "" which does not appear in prior text.


Contents