Nosé-Hoover chain thermostat: Difference between revisions

From VASP Wiki
No edit summary
Line 1: Line 1:
The standard Nose Hoover suffers from well known issues, such as the ergodicity violation in the case of simple harmonic oscillator<ref name="martyna:jcp:92"/>. As proposed by Martyna and Klein<ref name="martyna:jcp:92">[https://pubs.aip.org/aip/jcp/article/97/4/2635/927962/Nose-Hoover-chains-The-canonical-ensemble-via J. Martyna, M. L. Klein, and M. Tuckerman, ''J. Chem. Phys.'' 97, 2635 (1992)]</ref>, these problems can be solved by using multiple Nose Hoover thermostats connected in a chain. Although the underlining dynamics is non-Hamiltonian, the corresponding equations of motion conserve the following energy term:  
The [[Nose-Hoover thermostat|standard Nosé-Hoover thermostat]] suffers from well-known issues, such as the ergodicity violation in the case of simple harmonic oscillator{{cite|martyna:jcp:92}}. As proposed by Martyna and Klein{{cite|martyna:jcp:92}}, these problems can be solved by using multiple Nose Hoover thermostats connected in a chain. Although the underlining dynamics is non-Hamiltonian, the corresponding equations of motion conserve the following energy term:  


::<math>
::<math>
\mathcal{H'} = \mathcal{H}(\bold{r},\bold{p}) +  \sum\limits_{j=1}^{M} \frac{p_{\eta_j}^2}{2Q_j} + (3N-N_c)k_{B} T \eta_1 + k_{B} T \sum\limits_{j=2}^{M} \eta_j
\mathcal{H'} = \mathcal{H}(\bold{r},\bold{p}) +  \sum\limits_{j=1}^{M} \frac{p_{\eta_j}^2}{2Q_j} + (3N-N_c)k_{B} T \eta_1 + k_{B} T \sum\limits_{j=2}^{M} \eta_j,
</math>
</math>


where <math>\mathcal{H}(\bold{r},\bold{p})</math> is the Hamiltonian of the physical system, <math>M</math>, <math>N</math> and <math>N_c</math> are the numbers of thermostats, atoms in the cell, and geometric constraints, respectively, and <math>\eta_{j}</math>, <math>p_{\eta_j}</math>, and <math>Q_{j}</math> are the position, momentum, and mass-like parameter associated with the thermostat <math>j</math>. Just like the total energy in NVE ensemble,<math>\mathcal{H'}</math> is valuable for diagnostics purposes. Indeed, a significant drift in <math>\mathcal{H'}</math> indicate that the corresponding computational setting is suboptimal. Typical reasons for this behavior involve noisy forces (e.g., because of a poor SCF convergence) and/or a too large integration step (defined via {{TAG|POTIM}}).   
where <math>\mathcal{H}(\bold{r},\bold{p})</math> is the Hamiltonian of the physical system, <math>M</math>, <math>N</math> and <math>N_c</math> are the numbers of thermostats, atoms in the cell, and geometric constraints, respectively, and <math>\eta_{j}</math>, <math>p_{\eta_j}</math>, and <math>Q_{j}</math> are the position, momentum, and mass-like parameter associated with the thermostat <math>j</math>. Just like the total energy in NVE ensemble,<math>\mathcal{H'}</math> is valuable for diagnostics purposes. Indeed, a significant drift in <math>\mathcal{H'}</math> indicates that the corresponding computational setting is suboptimal. Typical reasons for this behavior involve noisy forces (e.g., because of a poor SCF convergence) and/or a too large integration step (defined via {{TAG|POTIM}}).   


The number of thermostats is controlled by the flag  {{TAG|NHC_NCHAINS}}. Typically, this flag is set to a value between 1 and 5, the maximal allowed value is 20. In the special case of {{TAG|NHC_NCHAINS}}=0, the thermostat is switched off, leading to a MD in microcanonical ensemble. Another special case of {{TAG|NHC_NCHAINS}}=1 corresponds to the  standard {{TAG|Nose-Hoover thermostat}}.  
The number of thermostats is controlled by the flag  {{TAG|NHC_NCHAINS}}. Typically, this flag is set to a value between 1 and 5, the maximal allowed value is 20. In the special case of {{TAG|NHC_NCHAINS}}=0, the thermostat is switched off, leading to a MD in microcanonical ensemble. Another special case of {{TAG|NHC_NCHAINS}}=1 corresponds to the  standard {{TAG|Nose-Hoover thermostat}}.  
Line 23: Line 23:


{{TAG|NHC_NS}}
{{TAG|NHC_NS}}
----
==References==
<references/>

Revision as of 10:32, 24 April 2023

The standard Nosé-Hoover thermostat suffers from well-known issues, such as the ergodicity violation in the case of simple harmonic oscillator[1]. As proposed by Martyna and Klein[1], these problems can be solved by using multiple Nose Hoover thermostats connected in a chain. Although the underlining dynamics is non-Hamiltonian, the corresponding equations of motion conserve the following energy term:

[math]\displaystyle{ \mathcal{H'} = \mathcal{H}(\bold{r},\bold{p}) + \sum\limits_{j=1}^{M} \frac{p_{\eta_j}^2}{2Q_j} + (3N-N_c)k_{B} T \eta_1 + k_{B} T \sum\limits_{j=2}^{M} \eta_j, }[/math]

where [math]\displaystyle{ \mathcal{H}(\bold{r},\bold{p}) }[/math] is the Hamiltonian of the physical system, [math]\displaystyle{ M }[/math], [math]\displaystyle{ N }[/math] and [math]\displaystyle{ N_c }[/math] are the numbers of thermostats, atoms in the cell, and geometric constraints, respectively, and [math]\displaystyle{ \eta_{j} }[/math], [math]\displaystyle{ p_{\eta_j} }[/math], and [math]\displaystyle{ Q_{j} }[/math] are the position, momentum, and mass-like parameter associated with the thermostat [math]\displaystyle{ j }[/math]. Just like the total energy in NVE ensemble,[math]\displaystyle{ \mathcal{H'} }[/math] is valuable for diagnostics purposes. Indeed, a significant drift in [math]\displaystyle{ \mathcal{H'} }[/math] indicates that the corresponding computational setting is suboptimal. Typical reasons for this behavior involve noisy forces (e.g., because of a poor SCF convergence) and/or a too large integration step (defined via POTIM).

The number of thermostats is controlled by the flag NHC_NCHAINS. Typically, this flag is set to a value between 1 and 5, the maximal allowed value is 20. In the special case of NHC_NCHAINS=0, the thermostat is switched off, leading to a MD in microcanonical ensemble. Another special case of NHC_NCHAINS=1 corresponds to the standard Nose-Hoover thermostat.

The only parameter of this thermostat is the characteristic time scale ([math]\displaystyle{ \tau }[/math]), defined via flag NHC_PERIOD. This parameter is used to setup the mass-like variables via the relations:

[math]\displaystyle{ Q_1 = 3 (N -N_c)k_{B} T \tau^2 }[/math]
[math]\displaystyle{ Q_j = k_{B} T \tau^2; \; \; \; j=2,\dots,M }[/math]


NHC_NRESPA


NHC_NS


References