Dear VASP users,
I’m trying to better understand how to extract the electrostatic energy contributions from a DFT total energy calculation using VASP.
As an example, I performed a relaxation of CaHfS₃ (Materials Project ID: mp-1190098) using meta-GGA (R2SCAN). The breakdown of the total free energy is shown in the attached screenshot from the OUTCAR file.
To compute the electrostatic energy, I believe it should consist of the ion-ion, electron-electron, and ion-electron interaction terms. Based on this archived post from 2005, the partitioning appears to be:
Ion-ion interactions:
alpha Z + Ewald energy
Electron-electron interactions:
Hartree energy (possibly divided by 2 to account for double-counting?)
Ion-electron interactions:
This is where I’m unclear. The old forum thread suggests this may be: “embedded in the eigenvalues,” or "the expectation value of the pseudopotential."
However, I’m still not sure how to explicitly extract the ion-electron term, or how to compute it from available OUTCAR data.
Does anyone have insight on how to obtain the ion-electron interaction energy from a standard PAW-based VASP run?
Thanks in advance for your help!
Best,
Adelina