Total number of electrons different in Bader and in DFT

Bader charge density analysis

Moderator: moderators

Post Reply
diego.lopez
Posts: 2
Joined: Tue Oct 17, 2023 8:57 am

Total number of electrons different in Bader and in DFT

Post by diego.lopez »

Dear Bader users,

I am using Bader code to obtain the electron transfer in a complex formed by a carbon nanotube and a transition metal oxide encapsulated. When I run the DFT calculations in CP2K I obtain a number of electrons equal to 4316 but when I run Bader on the electron density cube file i have a total number of electrons equal to 4318.8554. How should I interpretate this result? My DFT calculations are done under periodic boundary conditions and using NC PP.

Thank you in advanced
graeme
Site Admin
Posts: 2276
Joined: Tue Apr 26, 2005 4:25 am
Contact:

Re: Total number of electrons different in Bader and in DFT

Post by graeme »

If this is the total charge density, there can be errors with respect to integration around cusps at the nuclei. With plane wave calculations, the valence charge will add up properly. I can tell you that the Bader code simply adds the numbers in the charge density file and multiplies by the volume to get the total number of electrons - nothing fancy going on there.
diego.lopez
Posts: 2
Joined: Tue Oct 17, 2023 8:57 am

Re: Total number of electrons different in Bader and in DFT

Post by diego.lopez »

Thanks for your suggestion!

Then I suspect that my Bader results are not reliable since the integration of the electronic density of my system is not accurate. How could I improve this result?
graeme
Site Admin
Posts: 2276
Joined: Tue Apr 26, 2005 4:25 am
Contact:

Re: Total number of electrons different in Bader and in DFT

Post by graeme »

I'm assuming the charge density that you have is the total charge. See if you can get the valence charge as well. Then you can do the analysis on the total charge but integrate the valence. The valence charge should be smoother and will likely sum properly.
Post Reply