Abstract
The "egg-box effect" is a known challenge in Density Functional Theory (DFT) calculations which arises from the discretization of continuous quantities, e.g. the electron density. This effect is observed when the system is moved relative to the underlying computational grid and causes an unphysical change in the system's total energy, violating translational invariance. The pattern of energy change with translation is reminiscent of an egg-box. This effect can cause unphysical results such as geometry relaxations finding incorrect crystal symmetries or imaginary phonon modes in vibrational calculations. The egg-box effect can be mitigated by using finer grids for all continuous quantities, but this greatly increases computational cost. For plane-wave DFT the effect's origin is the evaluation of the Exchange and Correlation (XC) energy (EXC ). We present a novel technique for estimating the violation of translational invariance in EXC , using a Fourier interpolation scheme, providing an estimate of the uncertainty. Our results also show that the numerical behaviour of the XC approximations is strongly linked to the magnitude of the violation of the translation invariance. The more numerically ill behaved XC functionals, such as the more advanced meta-GGAs functionals, exhibit changes in EXC (due to violation of translation invariance) that are orders of magnitude worse than less advanced functionals. Performing this analysis at an early stage of a workflow can inform the user about the expected accuracy of subsequent calculations. Further, our results demonstrate that by selectively computing EXC and its corresponding potential (VXC ) on a finer grid, the egg-box effect can be significantly reduced. Coupled with our uncertainty quantification method, egg-box related inaccuracies can be avoided more conveniently and efficiently than just increasing grid resolution until inaccuracies appear suppressed. This work offers a promising pathway towards mitigating the egg-box effect in a diverse range of materials modelling applications.
| Original language | English |
|---|---|
| Article number | 025004 |
| Number of pages | 17 |
| Journal | Electronic Structure |
| Volume | 7 |
| DOIs | |
| Publication status | Published - 7 May 2025 |
Bibliographical note
© 2025 The Author(s).Datasets
-
EggBox paper
Durham, B. (Creator), Probert, M. (Creator) & Hasnip, P. J. (Creator), University of York, 17 Dec 2024
DOI: 10.15124/164d96af-872c-4a91-bb5d-ea99e05bd146
Dataset
Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver