Biased molecular dynamics: Difference between revisions
No edit summary |
No edit summary |
||
Line 38: | Line 38: | ||
Biased molecular dynamics can be used also to introduce soft geometric constraints in which the controlled geometric parameter is not strictly constant, instead it oscillates in a narrow interval | Biased molecular dynamics can be used also to introduce soft geometric constraints in which the controlled geometric parameter is not strictly constant, instead it oscillates in a narrow interval | ||
of values. | of values. | ||
The bias potentials are supported both the NVT and NpT MD simulations regardless of the particular thermostat and/or barostat setting. | The bias potentials are supported in both the NVT and NpT MD simulations regardless of the particular thermostat and/or barostat setting. | ||
Different types of potentials can be freely combined. | Different types of potentials can be freely combined. | ||
[[File:Bias potentials.png|thumb|Graphical representation of (a) harmonic, (b) Fermi function-shaped, and (c) and Gauss function-shaped bias potentials. ]] | [[File:Bias potentials.png|thumb|Graphical representation of (a) harmonic, (b) Fermi function-shaped, and (c) and Gauss function-shaped bias potentials. ]] |
Revision as of 21:25, 6 April 2023
The probability density for a geometric parameter ξ of the system driven by a Hamiltonian:
with T(p), and V(q) being kinetic, and potential energies, respectively, can be written as:
The term stands for a thermal average of quantity X evaluated for the system driven by the Hamiltonian H.
If the system is modified by adding a bias potential acting on one or multiple selected internal coordinates of the system ξ=ξ(q), the Hamiltonian takes a form:
and the probability density of ξ in the biased ensemble is:
It can be shown that the biased and unbiased averages are related via a simple formula:
More generally, an observable :
can be expressed in terms of thermal averages within the biased ensemble:
Simulation methods such as umbrella sampling[1] use a bias potential to enhance sampling of ξ in regions with low P(ξi) such as transition regions of chemical reactions. The correct distributions are recovered afterwards using the equation for above.
A more detailed description of the method can be found in Ref.[2]. Biased molecular dynamics can be used also to introduce soft geometric constraints in which the controlled geometric parameter is not strictly constant, instead it oscillates in a narrow interval of values. The bias potentials are supported in both the NVT and NpT MD simulations regardless of the particular thermostat and/or barostat setting. Different types of potentials can be freely combined.
Supported types of bias potentials
Presently, the following types of bias potential are supported:
- sum of Harmonic potentials (see curve (a) on the plot above)
where the sum runs all () coordinates the potential acts upon, which are defined in the ICONST-file by setting the status to 8. The parameters of the potential, (force constant) and (minimum of potential), are defined, respectively, via the keywords SPRING_K and SPRING_R0 in INCAR. Optionally, it is also possible to change the value of every MD step at a constant rate defined via parameter SPRING_V. The number of items defined via SPRING_K, SPRING_R0, and SPRING_V must be equal to , otherwise the calculation terminates with an error message. This form of bias potential is employed in several simulation protocols, such as the umbrella sampling[1], umbrella integration, or steered MD, and is useful also in cases where the values need restrained.
- sum of Fermi-like step functions (see curve (b) on the plot above)
where the sum runs all () coordinates the potential acts upon, which are defined in the ICONST-file by setting the status to 4. The parameters of the potential, (the height of step), (controlling the slope around the point ), and (position of the step), are defined, respectively, via the keywords FBIAS_A, FBIAS_D, and FBIAS_R0 in INCAR. The number of items defined via FBIAS_A, FBIAS_D, and FBIAS_R0 must be equal to , otherwise the calculation terminates with an error message. This form of potential is suitable especially for imposing restriction on the upper (or lower) limit of value of .
- sum of Gauss functions (see curve (b) on the plot above)
where is the number of Gaussian functions and is the number of coordinates the potential acts upon. The latter defined in the ICONST-file by setting the status to 5. The parameters of the potentials, and are defined in the PENALTYPOT-file. The this type of bias potential is primarily intended for the use in metadynamics but since Gaussians can be used as basis functions for more general shapes, they can be used also to prepare various atypically-shaped bias potentials.
Examples of usage
Andersen thermostat
- For a biased molecular dynamics run with Andersen thermostat, one has to:
- Set the standard MD-related tags: IBRION=0, TEBEG, POTIM, and NSW
- Set MDALGO=1 (MDALGO=11 in VASP 5.x), and choose an appropriate setting for ANDERSEN_PROB
- In order to avoid updating of the bias potential, set HILLS_BIN=NSW
- Define collective variables in the ICONST-file, and set the STATUS parameter for the collective variables to 5
- Define the bias potential in the PENALTYPOT-file
Nose-Hoover thermostat
- For a biased molecular dynamics run with Nose-Hoover thermostat, one has to:
- Set the standard MD-related tags: IBRION=0, TEBEG, POTIM, and NSW
- Set MDALGO=2 (MDALGO=21 in VASP 5.x), and choose an appropriate setting for SMASS
- In order to avoid updating of the bias potential, set HILLS_BIN=NSW
- Define collective variables in the ICONST-file, and set the STATUS parameter for the collective variables to 5
- Define the bias potential in the PENALTYPOT-file
The values of all collective variables for each MD step are listed in the REPORT-file, check the lines after the string Metadynamics.
References
- ↑ a b G. M. Torrie and J. P. Valleau, J. Comp. Phys. 23, 187 (1977).
- ↑ D. Frenkel and B. Smit, Understanding molecular simulations: from algorithms to applications, Academic Press: San Diego, 2002.