LTBOUNDLIBXC: Difference between revisions

From VASP Wiki
No edit summary
No edit summary
 
Line 9: Line 9:
:<math>\tau_{\sigma}^{\textrm{W}}=\frac{\left\vert\nabla n_{\sigma}\right\vert^{2}}{8 n_{\sigma}}.</math>
:<math>\tau_{\sigma}^{\textrm{W}}=\frac{\left\vert\nabla n_{\sigma}\right\vert^{2}}{8 n_{\sigma}}.</math>


However, for numerical reasons this may not always be the case and can potentially lead to problems depending on the meta-GGA. If {{TAG|LTBOUNDLIBXC}}=.TRUE. in {{FILE|INCAR}}, then <math>\tau_{\sigma}=\max(\tau_{\sigma},\tau_{\sigma}^{\mathrm{W}})</math> is applied before <math>\tau_{\sigma}</math> is used in a meta-GGA functional from Libxc.
However, for numerical reasons <math>\tau_{\sigma}^{\textrm{W}}<\tau_{\sigma}</math> may not be fulfilled, which can potentially lead to problems, in particular if the meta-GGA functional is not defined for negative values of <math>\tau_{\sigma}-\tau_{\sigma}^{\textrm{W}}</math>. If {{TAG|LTBOUNDLIBXC}}=.TRUE. in {{FILE|INCAR}}, then <math>\tau_{\sigma}=\max(\tau_{\sigma},\tau_{\sigma}^{\mathrm{W}})</math> is applied before <math>\tau_{\sigma}</math> is used in a meta-GGA functional from Libxc.


However, according to tests, for some of the most common meta-GGA functionals like SCAN{{cite|sun:prl:15}}, a violation of the lower bound is technically not a problem and, furthermore, applying <math>\tau_{\sigma}=\max(\tau_{\sigma},\tau_{\sigma}^{\mathrm{W}})</math> may possibly lead to very inaccurate forces and stress tensor. Therefore, by default {{TAG|LTBOUNDLIBXC}}=.FALSE. and Libxc should be compiled  with the option <code>--disable-fhc</code> has explained [[Makefile.include#Libxc_.28optional.29|here]].
However, according to tests, for some of the most common meta-GGA functionals like SCAN{{cite|sun:prl:15}}, a violation of the lower bound is technically not a problem. Furthermore, it has been observed that applying <math>\tau_{\sigma}=\max(\tau_{\sigma},\tau_{\sigma}^{\mathrm{W}})</math> may possibly lead to very inaccurate forces and stress tensor. Therefore, by default {{TAG|LTBOUNDLIBXC}}=.FALSE. and Libxc should be compiled  with the option <code>--disable-fhc</code> has explained [[Makefile.include#Libxc_.28optional.29|here]].
 
Thus, the recommendation is to set {{TAG|LTBOUNDLIBXC}}=.TRUE. only in the case convergence shows an erratic behavior. If this choice is made, then the forces and stress tensor should be carefully monitored if a geometry optimization is done.


== Related tags and articles ==
== Related tags and articles ==
Line 17: Line 19:
{{TAG|LIBXC2}},
{{TAG|LIBXC2}},
{{TAG|METAGGA}}
{{TAG|METAGGA}}


{{sc|LTBOUNDLIBXC|Examples|Examples that use this tag}}
{{sc|LTBOUNDLIBXC|Examples|Examples that use this tag}}

Latest revision as of 10:40, 11 December 2024

LTBOUNDLIBXC = .TRUE. | .FALSE.
Default: LTBOUNDLIBXC = .FALSE. 

Description: LTBOUNDLIBXC specifies whether or not the lower bound for the Kohn-Sham kinetic-energy density () is enforced before is used in a METAGGA functional from Libxc.


The Kohn-Sham kinetic-energy density

should, in principle, be larger than the von Weizsäcker kinetic-energy density[1]

However, for numerical reasons may not be fulfilled, which can potentially lead to problems, in particular if the meta-GGA functional is not defined for negative values of . If LTBOUNDLIBXC=.TRUE. in INCAR, then is applied before is used in a meta-GGA functional from Libxc.

However, according to tests, for some of the most common meta-GGA functionals like SCAN[2], a violation of the lower bound is technically not a problem. Furthermore, it has been observed that applying may possibly lead to very inaccurate forces and stress tensor. Therefore, by default LTBOUNDLIBXC=.FALSE. and Libxc should be compiled with the option --disable-fhc has explained here.

Thus, the recommendation is to set LTBOUNDLIBXC=.TRUE. only in the case convergence shows an erratic behavior. If this choice is made, then the forces and stress tensor should be carefully monitored if a geometry optimization is done.

Related tags and articles

LIBXC1, LIBXC2, METAGGA

Examples that use this tag

References