Page 1 of 1

Not correct total electron numbers for BADER analysis

Posted: Mon Apr 11, 2011 1:52 pm
by yxcai
..................................................................................
reading WAVECAR
augmentation electrons 4.788032103886808E-002
soft electrons 0.000000000000000E+000
augmentation electrons 4.788032103886808E-002
soft electrons 0.000000000000000E+000
augmentation electrons 4.788032103886808E-002
soft electrons 0.000000000000000E+000
augmentation electrons 4.788032103886808E-002
soft electrons 0.000000000000000E+000
augmentation electrons 4.788032103886808E-002
soft electrons 0.000000000000000E+000
augmentation electrons 4.788032103886808E-002
soft electrons 0.000000000000000E+000
augmentation electrons 4.788032103886808E-002
soft electrons 0.000000000000000E+000
augmentation electrons 4.788032103886808E-002
soft electrons 0.000000000000000E+000
augmentation electrons 4.788032103886808E-002
augmentation electrons 4.788032103886808E-002
soft electrons 0.000000000000000E+000
augmentation electrons 4.788032103886808E-002
soft electrons 0.000000000000000E+000
augmentation electrons 4.788032103886808E-002
soft electrons 0.000000000000000E+000
soft electrons 0.000000000000000E+000
total electrons 4.788032103886808E-002
total electrons 4.788032103886808E-002
total electrons 4.788032103886808E-002
total electrons 4.788032103886808E-002
total electrons 4.788032103886808E-002
total electrons 4.788032103886808E-002
total electrons 4.788032103886808E-002
total electrons 4.788032103886808E-002
total electrons 4.788032103886808E-002
total electrons 4.788032103886808E-002
total electrons 4.788032103886808E-002
total electrons 4.788032103886808E-002
augmentation electrons 1685.82528788824
soft electrons 0.000000000000000E+000
augmentation electrons 1685.82528788824
soft electrons 0.000000000000000E+000
augmentation electrons 1685.82528788824
soft electrons 0.000000000000000E+000
augmentation electrons 1685.82528788824
soft electrons 0.000000000000000E+000
augmentation electrons 1685.82528788824
soft electrons 0.000000000000000E+000
augmentation electrons 1685.82528788824
soft electrons 0.000000000000000E+000
augmentation electrons 1685.82528788824
soft electrons 0.000000000000000E+000
augmentation electrons 1685.82528788824
soft electrons 0.000000000000000E+000
augmentation electrons 1685.82528788824
soft electrons 0.000000000000000E+000
augmentation electrons 1685.82528788824
soft electrons 0.000000000000000E+000
augmentation electrons 1685.82528788824
soft electrons 0.000000000000000E+000
augmentation electrons 1685.82528788824
soft electrons 0.000000000000000E+000
total electrons 1685.82528788824
total electrons 1685.82528788824
total electrons 1685.82528788824
total electrons 1685.82528788824
total electrons 1685.82528788824
total electrons 1685.82528788824
total electrons 1685.82528788824
total electrons 1685.82528788824
total electrons 1685.82528788824
total electrons 1685.82528788824
total electrons 1685.82528788824
total electrons 1685.82528788824
entering main loop
........................................................................................................

H C N Si
32 6 4 192

Total electron =32*1+6*6+4*7+192*14=2784

In my calculation, the total electrons is 1685 which is not equal to 2784. What cause this error?

Re: Not correct total electron numbers for BADER analysis

Posted: Mon Apr 11, 2011 7:34 pm
by graeme
Did you look at the suggestion given here:
viewtopic.php?f=1&t=163&p=2996#p2996

Re: Not correct total electron numbers for BADER analysis

Posted: Wed Apr 13, 2011 1:02 am
by yxcai
Dear graeme

I have prerformed Bader calculations according to the guides from http://theory.cm.utexas.edu/bader/vasp.php.
In my system investigaed, total electrons are 2784, but the total electrons reported are 1685.82528788824. I just wonder that if the core charge is correct? I have set high accuate and high NGX(Y,Z)F. In addition, the bader analysis shows that 1.5 electron transfers from the substrate Si (saturated dangling bonds with H) to the molecule C6N4. (bader CHGCAR -ref CHGCAR_sum) It seems reasonable . The valence electrons is 844 and is also correct. But the total electrons are not correct. Thus the core electrons are unreasonable.

H C N Si
32 6 4 192
Total electron =32*1+6*6+4*7+192*14=2784


--------------------------------------------------------------------------------------------------------------------------------------------------
Are you integrating the valence charge? I'm going to cut-and-paste from: http://theory.cm.utexas.edu/bader/vasp.php
Note that the partitioning is done on the total charge (CHGCAR_sum) but the integration is done on the normal CHGCAR file from vasp, containing only the valence electrons.

-------

By adding the LAECHG=.TRUE. to the INCAR file, the core charge is written to AECCAR0 and the valance charge to AECCAR2. These two charge density files can be summed using the chgsum.pl script:

chgsum.pl AECCAR0 AECCAR2
The total charge will be written to CHGCAR_sum.
The bader analysis can then be done on this total charge density file:

bader CHGCAR -ref CHGCAR_sum
---------------------------------------------------------------------------------------------------------------------------------------------------

Re: Not correct total electron numbers for BADER analysis

Posted: Wed Apr 13, 2011 6:59 pm
by graeme
It will be very hard to get the total number of electrons correct (including the core) because you need a very fine grid to represent the cusps in electronic density at the atomic nuclei. This is why we use the total charge (valence+core) to do the Bader analysis, but only the valence for the integration.