Dear every one,

Now I want to reproduce the electronic band structure of Nb. I calculated it with Abinit (NC potential) and VASP (PAW) code, respectively. However, there is a big difference for Fermi energy between them, as showing below.

I want know how to reset the Fermi level in Abinit?

By the way, the band structure data calculated with Abinit is extracted directly from the tffield_xo_DS2_EBANDS.agr file. Since "# Energies are in eV. Zero set to efermi, previously it was at: 9.21 [eV]", I don't modify the Fermi energy again.

Best,

Yang

## Big difference for Fermi energy between Abinit and VASP

### Re: Big difference for Fermi energy between Abinit and VASP

I'm sorry I got a mistake in calculate band structure with VASP.

But I still want to know how to modify the Fermi energy in Abinit, or some thing (such as tsmear, etc) that affect the Fermi energy.

Best wishes,

Yang

But I still want to know how to modify the Fermi energy in Abinit, or some thing (such as tsmear, etc) that affect the Fermi energy.

Best wishes,

Yang

### Re: Big difference for Fermi energy between Abinit and VASP

Hello Yang,

The Fermi energy is determined by "counting" the number of electrons in the unit cell. You can think of this as integration of the density of states from negative infinity to some energy Ef such that the result of the integral is the number of electrons in the unit cell.

Thus, the exact value of the Fermi energy that you get is a function of all the approximations you made to determine the energy of the system. So, one should not expect the exact same number for a the Fermi energy from a VASP and ABINIT calculation due to differences in approximation methods (your choice of pseudopotential being one of them).

However, to change the value of the Fermi energy, you can add or remove charge from the system using the input variable charge. See https://docs.abinit.org/variables/gstate/#charge for more information.

-Nick

The Fermi energy is determined by "counting" the number of electrons in the unit cell. You can think of this as integration of the density of states from negative infinity to some energy Ef such that the result of the integral is the number of electrons in the unit cell.

Thus, the exact value of the Fermi energy that you get is a function of all the approximations you made to determine the energy of the system. So, one should not expect the exact same number for a the Fermi energy from a VASP and ABINIT calculation due to differences in approximation methods (your choice of pseudopotential being one of them).

However, to change the value of the Fermi energy, you can add or remove charge from the system using the input variable charge. See https://docs.abinit.org/variables/gstate/#charge for more information.

-Nick

Nicholas A. Pike

Research Scientist

Research Scientist