Requests for technical support from the VASP group should be posted in the VASP-forum.

# Difference between revisions of "SCALEE"

(22 intermediate revisions by the same user not shown) | |||

Line 1: | Line 1: | ||

{{TAGDEF|SCALEE|[real]|1}} | {{TAGDEF|SCALEE|[real]|1}} | ||

− | Description: This tag specifies the | + | Description: This tag specifies the coupling parameter of the energies and forces between a fully interacting system and a reference system. |

---- | ---- | ||

− | + | A detailed description of calculations using thermodynamic integration within VASP is given in the supplemental information of reference {{cite|dorner:PRL:2018}} ('''caution''': the tag ''ISPECIAL''=0 used in that reference is not valid anymore, instead the tag {{TAG|PHON_NSTRUCT}}=-1 is used). | |

− | |||

− | |||

− | + | The free energy of a fully interacting system can be written as the sum of the free energy a non-interacting reference system and the difference in the free energy of the fully interacting system and the non-interacting system | |

+ | |||

+ | <math> F_{1} = F_{0} + \Delta F_{0\rightarrow 1} </math>. | ||

+ | |||

+ | Using thermodynamic integration the free energy difference between the two systems is written as | ||

+ | |||

+ | <math> \Delta F_{0\rightarrow 1} = \int\limits_{0}^{1} d\lambda \langle U_{1}(\lambda) - U_{0}(\lambda) \rangle_{\lambda} </math>. | ||

+ | |||

+ | Here <math>U_{1}(\lambda)</math> and <math>U_{0}(\lambda)</math> describe the potential energies of a fully-interacting and a non-interacting reference system, respectively. The coupling strength of the systems is controlled via the coupling parameter <math>\lambda</math>. It is neccessary that the connection of the two systems via the coupling constant is reversible. The notation <math>\langle \ldots \rangle_{\lambda}</math> denotes an ensemble average of a system driven by the following classical Hamiltonian | ||

+ | |||

+ | <math> H_{\lambda}= \lambda H_{1} + (1-\lambda) H_{0} </math>. | ||

+ | |||

+ | |||

+ | The tag {{TAG|SCALEE}} sets the coupling parameter <math>\lambda</math> and hence controls the Hamiltonian of the calculation. | ||

+ | By default {{TAG|SCALEE}}=1 and the scaling of the energies and forces via the coupling constant is internally skipped in the code. To enable the scaling {{TAG|SCALEE}}<math>\ne</math>1 has to be specified. A VASP calculation outputs the integrand for a given coupling constant at every molecular dynamics step. How to choose the ensemble size and carry out the integration is described in the main text and especially in the supplementary information of reference {{cite|dorner:PRL:2018}}. | ||

+ | |||

+ | |||

+ | Two possible options are available for the reference system: | ||

+ | |||

+ | *Ideal gas: | ||

+ | By default the thermodynamic integration is carried out from the ideal gas to the fully interacting case (in the case when no {{TAG|DYNMATFULL}} is present in the calculation folder). Usually the Stirling approximation is used for the free energy of the ideal gas written as | ||

+ | |||

+ | <math> F = -\frac{1}{\beta} \mathrm{ln} \left[ \frac{V^{N}}{\Alpha^{3N} N!} \right] </math> | ||

+ | |||

+ | whre <math>V</math> is the volume of the system, <math>N</math> is the number of particles in the system and <math>\Alpha</math> is the de Broglie wavelength. The Stirling approximation applies in principle only in the limes of infinitely many particles. In reference {{cite|dorner:PRL:2018}} the exact ideal gas equation was used since it helped to speed up the convergence of the final free energy of liquid Si with respect to the system size. | ||

+ | |||

+ | *Harmonic solid: | ||

+ | If the file {{TAG|DYNMATFULL}} exists in the calculation directory and {{TAG|SCALEE}}<math>\ne</math>1, the second order Hessian matrix is added to the force and thermodynamic integration from a harmonic model to a fully interacting system is carried out. The {{TAG|DYNMATFULL}} file stores the eigenmodes and eigenvalues from diagonalizing the dynamic matrix. This file is written by a previous calculation using the {{TAG|INCAR}} tags {{TAG|IBRION}}=6 and {{TAG|PHON_NSTRUCT}}=-1. | ||

− | |||

== Related Tags and Sections == | == Related Tags and Sections == | ||

− | {{TAG|VCAIMAGES}}, {{TAG|IMAGES}}, {{TAG|NCORE IN IMAGE1}}, {{TAG|PHON_NSTRUCT}} | + | {{TAG|VCAIMAGES}}, {{TAG|IMAGES}}, {{TAG|NCORE IN IMAGE1}}, {{TAG|PHON_NSTRUCT}}, {{TAG|IBRION}} |

+ | |||

+ | == References == | ||

+ | <references/> | ||

+ | <noinclude> | ||

---- | ---- | ||

[[Category:INCAR]][[Category:Molecular Dynamics]][[Category:Thermodynamic integration]] | [[Category:INCAR]][[Category:Molecular Dynamics]][[Category:Thermodynamic integration]] |

## Latest revision as of 08:19, 3 April 2020

SCALEE = [real]

Default: **SCALEE** = 1

Description: This tag specifies the coupling parameter of the energies and forces between a fully interacting system and a reference system.

A detailed description of calculations using thermodynamic integration within VASP is given in the supplemental information of reference ^{[1]} (**caution**: the tag *ISPECIAL*=0 used in that reference is not valid anymore, instead the tag PHON_NSTRUCT=-1 is used).

The free energy of a fully interacting system can be written as the sum of the free energy a non-interacting reference system and the difference in the free energy of the fully interacting system and the non-interacting system

.

Using thermodynamic integration the free energy difference between the two systems is written as

.

Here and describe the potential energies of a fully-interacting and a non-interacting reference system, respectively. The coupling strength of the systems is controlled via the coupling parameter . It is neccessary that the connection of the two systems via the coupling constant is reversible. The notation denotes an ensemble average of a system driven by the following classical Hamiltonian

.

The tag SCALEE sets the coupling parameter and hence controls the Hamiltonian of the calculation.
By default SCALEE=1 and the scaling of the energies and forces via the coupling constant is internally skipped in the code. To enable the scaling SCALEE1 has to be specified. A VASP calculation outputs the integrand for a given coupling constant at every molecular dynamics step. How to choose the ensemble size and carry out the integration is described in the main text and especially in the supplementary information of reference ^{[1]}.

Two possible options are available for the reference system:

- Ideal gas:

By default the thermodynamic integration is carried out from the ideal gas to the fully interacting case (in the case when no DYNMATFULL is present in the calculation folder). Usually the Stirling approximation is used for the free energy of the ideal gas written as

whre is the volume of the system, is the number of particles in the system and is the de Broglie wavelength. The Stirling approximation applies in principle only in the limes of infinitely many particles. In reference ^{[1]} the exact ideal gas equation was used since it helped to speed up the convergence of the final free energy of liquid Si with respect to the system size.

- Harmonic solid:

If the file DYNMATFULL exists in the calculation directory and SCALEE1, the second order Hessian matrix is added to the force and thermodynamic integration from a harmonic model to a fully interacting system is carried out. The DYNMATFULL file stores the eigenmodes and eigenvalues from diagonalizing the dynamic matrix. This file is written by a previous calculation using the INCAR tags IBRION=6 and PHON_NSTRUCT=-1.

## Related Tags and Sections

VCAIMAGES, IMAGES, NCORE IN IMAGE1, PHON_NSTRUCT, IBRION

## References