Energy Zero?

Total energy, geometry optimization, DFT+U, spin....

Moderator: bguster

Locked
asorini
Posts: 13
Joined: Wed Apr 07, 2010 12:23 am

Energy Zero?

Post by asorini » Fri Aug 20, 2010 1:57 am

Hi Forum,

I was wondering, to what zero is the energy in ABINIT referenced? For example, if ABINIT says the chemical potential is -0.2 Hartree does that mean -0.2 Hartree relative to the vacuum, or what? I don't think it is referenced relative to the vacuum... but I could be wrong... I haven't been able to find out to what zero the values of the energy are referenced.

Anyone know? If so I'd appreciate learning about it.

Mostly I am interested in looking at slab calculations and extracting the Work function. For example, if the vacuum were set to the zero of energy (I.e., the true electrostatic potential far from the slab goes to zero) then the highest occupied eigenvalue would be the work function, but if not then there is a shift...

Any tips would be appreciated. Cheers,

Adam

gonze
Posts: 412
Joined: Fri Aug 14, 2009 8:29 pm

Re: Energy Zero?

Post by gonze » Fri Aug 20, 2010 10:27 pm

Dear Adam,

Technical answer : in ABINIT, the G=0 component of the
combined Hartree+local potential is set to zero.

Physcal answer : with only a periodic calculation, there is no correct way
to compute the work function ! Indeed, the latter depends
on the dipole at the surface of the sample (so, different facet
of a crystal have -slightly- different work functions).
You must compute a work function by doing a slab calculation,
that includes : the vacuum level, for comparison, and a model for your interface.
And this is true not only for DFT but also GW calculations.
There are many references of calculations of work functions
with first-principles codes. For an example in which ABINIT was used,
see e.g. M. Verstraete et al Phys. Rev. B 70, 205427 (2004).

Regards,
Xavier

asorini
Posts: 13
Joined: Wed Apr 07, 2010 12:23 am

Re: Energy Zero?

Post by asorini » Mon Aug 23, 2010 1:28 am

Thanks for your reply. I am indeed trying to do slab calculations.

From the paper you referenced it looks like there are two ways to calculate the Work function.

One way is to simply include a good amount of vacuum in the supercell and then subtract the value of the slab calculation fermi level from the value of the potential (obtained from prt1dm 1) as far from the slab as possible. I.e.,

W=v_KS_slab(far away) - E_F_slab

...And presumably very far from the slab the KS potential v_KS and the electrostatic (v_es = v_ext+v_hartree) potential do not differ much since the density is very low.

The second way to calculate the work function given in the paper is to subtract the BULK fermi level corrected by the average (electrostatic) potential in the slab minus the average (electrostatic) potential in the bulk from the value of the potential as far from the slab as possible. I.e.,

W=v_KS_slab(far away) - (<v_es_slab> + E_F_bulk - <v_es_bulk>)

...This (<v_es_slab> - <v_es_bulk>) correction is supposed to adjust the bulk and slab calculations to roughly the same zero level, I believe.

And one of the conclusions of the referenced paper is that the first method of calculating W works only slightly less well than the second method.

Is this correct?



Cheers,

Adam

asorini
Posts: 13
Joined: Wed Apr 07, 2010 12:23 am

Re: Energy Zero?

Post by asorini » Mon Aug 23, 2010 1:59 am

gonze wrote:Technical answer : in ABINIT, the G=0 component of the
combined Hartree+local potential is set to zero.


Here I think "local potential" means the local part of the pseudo potential and the local part of the xc potential?

So this means that the equations which ABINIT solves are actually
$$
\left(-\nabla^2/2 + v_{KS}-C\right)\psi = E\psi\;,
$$
where
$$
C=\int_{cell} \frac{d^3r}{V_{cell}}\left(v_{Hartree}({\bf r})+v_{loc}({\bf r})\right)\equiv <v_H+v_L>\;.
$$

And thus the potential at infinity given by ABINIT prt1dm should be equal to -C
since both local and nonlocal parts of v_KS go to zero at infinity.

But I guess it is the case that the only way in practice to extract the potential value at infinity is by printing it out for a slab with a lot of vacuum using prt1dm or prtpot?

Locked