Matter Modeling Asked on December 7, 2021
In matter modelling we use self consistent approaches for calculating different properties. Many DFT codes find the ground state of the system by determining total energy self consistently. Going through literature on VASP calculations, I see that $10^{-6}$ eV is used as standard in many calculations. Also I see that in literature and sample programs the convergence criteria for phonon calculations are more stringent ($10^{-8}$ eV) than that for ground state energy calculation.
Also for geometry optimisations the default energy convergence criteria is $10^{-4}$ eV. We also use total energy convergence for estimating kinetic energy cutoff and k spacing. I see many people using 1 meV as an energy threshold for these calculations.
What levels of convergence are considered standard (required) for each type of calculation and Why?
Do these thresholds change between codes?
This is an excellent question! The reality is complicated even in LCAO calculations: every code has different defaults, which also depend on the run type.
It seems that older LCAO codes simultaneously look at the convergence of the energy, and of the density matrix. Looking only at the change in energy is really bad behavior, since it doesn't tell you anything about being close to an extremal point of the energy functional: it might be that your optimizer is just doing a poor job and that you still have a significant gradient - especially since the error in the energy is second order in the error in the density, meaning that the energy converges much faster than the density itself. Now, if you also look at the change density matrix, then you have better information on the convergence of the calculation; however, again if your optimizer is misbehaving then it might be that the change in density (and thereby the energy) are small even though the orbitals don't correspond to an extremal point.
The best way to determine convergence is to look at the orbital gradient: if it is small, then you are sure to be close to an extremal point. (It might still be just a saddle point instead of a local minimum!) Most modern LCAO codes I know rely on this measure of convergence via the DIIS error metric. If the Roothaan-Hall equations are fulfilled, ${bf FC} = {bf SCE}$, then you can show that the density matrix ${bf P}={bf C_{rm occ} C_{rm occ}^{rm T}}$ commutes with the Fock matrix: ${bf e} = {bf S P F} - {bf F P S} = {bf 0}$; if the equation does not hold, there is an orbital gradient which is measured by the numerical value of the commutator. (Remember: the Fock matrix is diagonal in the converged MO basis!)
Often, the convergence threshold for the orbital gradient i.e. DIIS error is of the order of $10^{-5}$ or smaller for single-point calculations, $10^{-7}$ for force calculations, and $10^{-9}$ for post-HF calculations. But, there's still many ways in which to measure the norm of the DIIS error: common choices are either the root-mean-square norm $e = sqrt{sum_{ij} e_{ij}^2}$ or the maximum absolute error $e = max_{ij} |e_{ij}|$. Many programs implement both metrics, and you need to check which one is used by default.
Answered by Susi Lehtola on December 7, 2021
2 Asked on December 23, 2020 by tristan-maxson
0 Asked on December 11, 2020
geometry optimization nanoparticles quantum espresso software recommendations structure
1 Asked on December 5, 2020 by anibal-bezerra
0 Asked on October 21, 2020 by andrew-rosen
1 Asked on September 26, 2020 by achintha-ihalage
1 Asked on August 19, 2020 by shahid-sattar
1 Asked on August 11, 2020 by user14717
ab initio calculations density functional theory diffusion monte carlo software visualization software
Get help from others!
Recent Questions
Recent Answers
© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir