Metadynamics: Difference between revisions

From VASP Wiki
No edit summary
Line 23: Line 23:
* For a metadynamics run with Andersen thermostat, one has to:
* For a metadynamics run with Andersen thermostat, one has to:
#Set the standard MD-related tags: {{TAG|IBRION}}=0, {{TAG|TEBEG}}, {{TAG|POTIM}}, and {{TAG|NSW}}
#Set the standard MD-related tags: {{TAG|IBRION}}=0, {{TAG|TEBEG}}, {{TAG|POTIM}}, and {{TAG|NSW}}
#Set {{TAG|MDALGO}}=11, and choose an appropriate setting for {{TAG|ANDERSEN_PROB}}
#Set {{TAG|MDALGO}}=1 ({{TAG|MDALGO}}=11 in VASP 5.x), and choose an appropriate setting for {{TAG|ANDERSEN_PROB}}
#Set the parameters {{TAG|HILLS_H}}, {{TAG|HILLS_W}}, and {{TAG|HILLS_BIN}}
#Set the parameters {{TAG|HILLS_H}}, {{TAG|HILLS_W}}, and {{TAG|HILLS_BIN}}
#Define collective variables in the {{FILE|ICONST}}-file, and set the {{TAG|STATUS}} parameter for the collective variables to 5
#Define collective variables in the {{FILE|ICONST}}-file, and set the {{TAG|STATUS}} parameter for the collective variables to 5

Revision as of 17:49, 30 January 2020

In metadynamics,[1][2] the bias potential that acts on a selected number of geometric parameters (collective variables) ξ={ξ1, ξ2, ...,ξm} is constructed on-the-fly during the simulation. The Hamiltonian for the metadynamics can be written as:

where is the Hamiltonian for the original (unbiased) system, and is the time-dependent bias potential. The latter term is usually defined as a sum of Gaussian hills with height h and width w:

In practice, is updated by adding a new Gaussian with a time increment tG, which is typically one or two orders of magnitude greater than the time step used in the MD simulation.

In the limit of infinite simulation time, the bias potential is related to the free energy via:

Practical hints as how to adjust the parameters used in metadynamics (h, w, tG) are given in Refs.[3][4].

The error estimation in free-energy calculations with metadynamics is discussed in Ref.[4].

Anderson thermostat

  • For a metadynamics run with Andersen thermostat, one has to:
  1. Set the standard MD-related tags: IBRION=0, TEBEG, POTIM, and NSW
  2. Set MDALGO=1 (MDALGO=11 in VASP 5.x), and choose an appropriate setting for ANDERSEN_PROB
  3. Set the parameters HILLS_H, HILLS_W, and HILLS_BIN
  4. Define collective variables in the ICONST-file, and set the STATUS parameter for the collective variables to 5
  5. If needed, define the bias potential in the PENALTYPOT-file

The actual time-dependent bias potential is written to the HILLSPOT-file, which is updated after adding a new Gaussian. At the beginning of the simulation, VASP attempts to read the initial bias potential from the PENALTYPOT-file. For the continuation of a metadynamics run, copy HILLSPOT to PENALTYPOT. The values of all collective variables for each MD step are listed in REPORT-file, check the lines after the string Metadynamics.

Nose-Hoover thermostat

  • For a metadynamics run with Nose-Hoover thermostat, one has to:
  1. Set the standard MD-related tags: IBRION=0, TEBEG, POTIM, and NSW
  2. Set MDALGO=21, and choose an appropriate setting for SMASS
  3. Set the parameters HILLS_H, HILLS_W, and HILLS_BIN
  4. Define collective variables in the ICONST-file, and set the STATUS parameter for the collective variables to 5
  5. If needed, define the bias potential in the PENALTYPOT-file

The actual time-dependent bias potential is written to the HILLSPOT-file, which is updated after adding a new Gaussian. At the beginning of the simulation, VASP attempts to read the initial bias potential from the PENALTYPOT-file. For the continuation of a metadynamics run, copy HILLSPOT to PENALTYPOT. The values of all collective variables for each MD step are listed in REPORT-file, check the lines after the string Metadynamics.

References