disappearing charges on non-H atoms and strange distances
Posted: Wed Mar 07, 2007 11:54 pm
I'm trying to analyze my CUBE files generated by SIESTA and have very strange behavior.
I've tested your H2O example it works fine.
My H2O file gave expected 0 on H and 8 on O.
Next I'm trying with simple thiol molecule HS-(CH2)4-CH3.
I've saved only partial core charges (used for NLCC) to make it as simple as possible i.e. very localized on atoms and exactly 0 between atoms and on the boundaries of the cell.
The resulting ACF file for 4A x 4A x 12A cell (molecule in the centre) with 98 x 98 x 172 grid:
# X Y Z CHARGE MIN DIST
----------------------------------------------------------------
1 0.0000 -0.1666 15.7422 0.0000 H 68.6933
2 0.0000 -1.1694 13.9206 0.0002 C 96.6529
3 1.6782 -2.4006 13.8791 0.0000 H 16.8121
4 -1.6782 -2.4006 13.8791 0.0000 H 17.3537
5 0.0000 0.6736 11.6876 0.0002 C 93.7153
6 1.6653 1.9249 11.8082 0.0000 H 22.1579
7 -1.6653 1.9249 11.8082 0.0000 H 22.6955
8 0.0000 -0.6715 9.1180 1.1506 C 96.7462
9 -1.6671 -1.9242 8.9995 0.0000 H 17.8655
10 1.6671 -1.9242 8.9995 0.0000 H 17.3273
11 0.0000 1.1447 6.8567 1.3867 C 94.2571
12 1.6697 2.3918 6.9525 0.0000 H 11.4817
13 -1.6697 2.3918 6.9525 0.0000 H 12.0206
14 0.0000 -0.2538 4.3246 1.3917 C 82.9846
15 -1.6876 -1.4600 4.1631 0.0000 H 6.5203
16 1.6876 -1.4601 4.1632 0.0000 H 5.8202
17 0.0001 2.0865 1.7261 5.4811 S 2.3419
18 0.0000 0.3746 -0.1867 0.0000 H 1.6147
----------------------------------------------------------------
NUMBER OF ELECTRONS: 9.41056
Don't be frightened with the non-integer charges - these are only partial cores.
Charge on H atoms is 0 as expected, charges on the 2 last C atoms and S atom are correct, while on the first C atoms it is practically 0, while they should be equal on all C atoms.
I've checked the CUBE file with Molekel and XCrysDen - the charges are exactly as I expect them.
BCF shows maxima as expected on S and C atoms:
# X Y Z CHARGE ATOM DISTANCE
-------------------------------------------------------------------------
1 0.0000 2.0054 1.7139 5.4811 17 0.0820
2 0.0000 -1.2341 13.8653 0.0002 2 0.0851
3 0.0000 -0.6171 9.0971 1.1506 8 0.0583
4 0.0000 -0.3085 4.3288 1.3917 14 0.0549
5 0.0000 0.6170 11.7119 0.0002 5 0.0616
6 0.0000 1.0798 6.9436 1.3867 11 0.1085
-------------------------------------------------------------------------
But shows 7 maxima instead of 6 (1S + 5C).
Even more strange are the min distances in ACF file. They are bigger than cell size and are growing in the direction of incorrectly analyzed atoms.
Grid refinement doesn't change the charges.
Input cell size change doesn't affect charges as well, but changes min distances in ACF (not in BCF).
ACF For 10A x 10A x 18A cell with same grid density:
# X Y Z CHARGE MIN DIST
----------------------------------------------------------------
1 0.0000 -0.1666 15.7422 0.0000 H 166.6554
2 0.0000 -1.1694 13.9206 0.0001 C 199.6380
3 1.6782 -2.4006 13.8791 0.0000 H 50.4000
4 -1.6782 -2.4006 13.8791 0.0000 H 49.7300
5 0.0000 0.6736 11.6876 0.0001 C 198.9569
6 1.6653 1.9249 11.8082 0.0000 H 69.4512
7 -1.6653 1.9249 11.8082 0.0000 H 68.7861
8 0.0000 -0.6715 9.1180 1.2040 C 201.7094
9 -1.6671 -1.9242 8.9995 0.0000 H 51.1873
10 1.6671 -1.9242 8.9995 0.0000 H 51.8531
11 0.0000 1.1447 6.8567 1.3939 C 199.2812
12 1.6697 2.3918 6.9525 0.0000 H 25.7107
13 -1.6697 2.3918 6.9525 0.0000 H 25.0439
14 0.0000 -0.2538 4.3246 1.4700 C 183.8613
15 -1.6876 -1.4600 4.1631 0.0000 H 7.5192
16 1.6876 -1.4601 4.1632 0.0000 H 8.5121
17 0.0001 2.0865 1.7261 5.4747 S 3.7647
18 0.0000 0.3746 -0.1867 0.0000 H 1.1343
----------------------------------------------------------------
NUMBER OF ELECTRONS: 9.54291
I've tried to visualize Bader volumes - but they are absolutely nonsensical - they don't have any symmetry of the system, instead each of the 7 volumes look like 9 ellipsoids in 3x3 regular pattern in one plane (as if it was square and then stretched to the shape of the cell), moreover all these 9 points are in one plane.
I haven't tried to draw Bader volumes for you H2O example since it is too big.
Analysis of just valence electrons and core+valence shows same behavior.
I've tested your H2O example it works fine.
My H2O file gave expected 0 on H and 8 on O.
Next I'm trying with simple thiol molecule HS-(CH2)4-CH3.
I've saved only partial core charges (used for NLCC) to make it as simple as possible i.e. very localized on atoms and exactly 0 between atoms and on the boundaries of the cell.
The resulting ACF file for 4A x 4A x 12A cell (molecule in the centre) with 98 x 98 x 172 grid:
# X Y Z CHARGE MIN DIST
----------------------------------------------------------------
1 0.0000 -0.1666 15.7422 0.0000 H 68.6933
2 0.0000 -1.1694 13.9206 0.0002 C 96.6529
3 1.6782 -2.4006 13.8791 0.0000 H 16.8121
4 -1.6782 -2.4006 13.8791 0.0000 H 17.3537
5 0.0000 0.6736 11.6876 0.0002 C 93.7153
6 1.6653 1.9249 11.8082 0.0000 H 22.1579
7 -1.6653 1.9249 11.8082 0.0000 H 22.6955
8 0.0000 -0.6715 9.1180 1.1506 C 96.7462
9 -1.6671 -1.9242 8.9995 0.0000 H 17.8655
10 1.6671 -1.9242 8.9995 0.0000 H 17.3273
11 0.0000 1.1447 6.8567 1.3867 C 94.2571
12 1.6697 2.3918 6.9525 0.0000 H 11.4817
13 -1.6697 2.3918 6.9525 0.0000 H 12.0206
14 0.0000 -0.2538 4.3246 1.3917 C 82.9846
15 -1.6876 -1.4600 4.1631 0.0000 H 6.5203
16 1.6876 -1.4601 4.1632 0.0000 H 5.8202
17 0.0001 2.0865 1.7261 5.4811 S 2.3419
18 0.0000 0.3746 -0.1867 0.0000 H 1.6147
----------------------------------------------------------------
NUMBER OF ELECTRONS: 9.41056
Don't be frightened with the non-integer charges - these are only partial cores.
Charge on H atoms is 0 as expected, charges on the 2 last C atoms and S atom are correct, while on the first C atoms it is practically 0, while they should be equal on all C atoms.
I've checked the CUBE file with Molekel and XCrysDen - the charges are exactly as I expect them.
BCF shows maxima as expected on S and C atoms:
# X Y Z CHARGE ATOM DISTANCE
-------------------------------------------------------------------------
1 0.0000 2.0054 1.7139 5.4811 17 0.0820
2 0.0000 -1.2341 13.8653 0.0002 2 0.0851
3 0.0000 -0.6171 9.0971 1.1506 8 0.0583
4 0.0000 -0.3085 4.3288 1.3917 14 0.0549
5 0.0000 0.6170 11.7119 0.0002 5 0.0616
6 0.0000 1.0798 6.9436 1.3867 11 0.1085
-------------------------------------------------------------------------
But shows 7 maxima instead of 6 (1S + 5C).
Even more strange are the min distances in ACF file. They are bigger than cell size and are growing in the direction of incorrectly analyzed atoms.
Grid refinement doesn't change the charges.
Input cell size change doesn't affect charges as well, but changes min distances in ACF (not in BCF).
ACF For 10A x 10A x 18A cell with same grid density:
# X Y Z CHARGE MIN DIST
----------------------------------------------------------------
1 0.0000 -0.1666 15.7422 0.0000 H 166.6554
2 0.0000 -1.1694 13.9206 0.0001 C 199.6380
3 1.6782 -2.4006 13.8791 0.0000 H 50.4000
4 -1.6782 -2.4006 13.8791 0.0000 H 49.7300
5 0.0000 0.6736 11.6876 0.0001 C 198.9569
6 1.6653 1.9249 11.8082 0.0000 H 69.4512
7 -1.6653 1.9249 11.8082 0.0000 H 68.7861
8 0.0000 -0.6715 9.1180 1.2040 C 201.7094
9 -1.6671 -1.9242 8.9995 0.0000 H 51.1873
10 1.6671 -1.9242 8.9995 0.0000 H 51.8531
11 0.0000 1.1447 6.8567 1.3939 C 199.2812
12 1.6697 2.3918 6.9525 0.0000 H 25.7107
13 -1.6697 2.3918 6.9525 0.0000 H 25.0439
14 0.0000 -0.2538 4.3246 1.4700 C 183.8613
15 -1.6876 -1.4600 4.1631 0.0000 H 7.5192
16 1.6876 -1.4601 4.1632 0.0000 H 8.5121
17 0.0001 2.0865 1.7261 5.4747 S 3.7647
18 0.0000 0.3746 -0.1867 0.0000 H 1.1343
----------------------------------------------------------------
NUMBER OF ELECTRONS: 9.54291
I've tried to visualize Bader volumes - but they are absolutely nonsensical - they don't have any symmetry of the system, instead each of the 7 volumes look like 9 ellipsoids in 3x3 regular pattern in one plane (as if it was square and then stretched to the shape of the cell), moreover all these 9 points are in one plane.
I haven't tried to draw Bader volumes for you H2O example since it is too big.
Analysis of just valence electrons and core+valence shows same behavior.