problem with convergence of charges
Posted: Wed Aug 25, 2021 7:30 pm
Dear all,
I am trying to compute the Bader charges of cubic LaMnO3 from VASP files. However, I am having a problem with the convergence of the charges versus numbers of grid points NG(X,Y,Z)F. When I compute the charges, I see a slight drift in the charges versus NG(X,Y,Z)F for large NG(X,Y,Z)F. Thus, I am hoping that you can suggest how to eliminate the drift.
Representing cubic LaMnO3 using the model that is given at the end of this post, I use the procedure that is given at the HenkelmanGroup website to compute the charges of the La, Mn, and O atoms (https://theory.cm.utexas.edu/henkelman/code/bader/). Specifically, I generate AECCAR0 and AECCAR2 files, add them using the chgsum.pl script, and then run bader CHGCAR -ref CHGCAR_sum. To generate the VASP files, I use a stringent wave function convergence criterion, EDIFF = 1e-6.
The charges of the La, Mn, and O atoms are given below as average charges qLa, qMn, and qO +/- sigmas for different grids. The different grids are specified by values of NG(X,Y,Z)F that are 1x, 2x, 3x, 4x, and 5x greater than the default values given by VASP and are labeled “original”, “2x greater”, “3x greater”, “4x greater”, and “5x greater”, respectively:
grid………..….qLa…..………….....….…qMn…….…....……………qO…….…....……………
original…….…2.0653 +/- 0.0003..….1.6211 +/- 0.0005…...-1.2288 +/- 0.0034
2x greater……2.0780 +/- 0.0002...…1.6453 +/- 0.0007.….-1.2411 +/- 0.0020
3x greater……2.0816 +/- 0……….....1.6542 +/- 0……..…....-1.2453 +/- 0.0030
4x greater……2.0720 +/- 0.0001...…1.6591 +/- 0.0001..….-1.2437 +/- 0.0017
5x greater……2.0756 +/- 0……...…..1.6623 +/- 0.0001…...-1.2460 +/- 0.0002
Examining the charges given above, qLa appears to level off versus grid. However, qMn changes from 1.6211 (original) to 1.6453 (2x greater) and then drifts from 1.6453 (2x greater) to 1.6623 (5x greater), while qO also seems to drift.
In addition to the above charges that are obtained using the default method (-b neargrid), the charges that are obtained using the -b weight flag are given below:
grid………..….qLa…..………….....….…qMn…….…....……………qO…….…....……………
original…….…2.0727 +/- 0……….....1.6394 +/- 0.0002…...-1.2374 +/- 0.0001
2x greater……2.0754 +/- 0……….....1.6524 +/- 0.0001…...-1.2426 +/- 0.0001
3x greater……2.0759 +/- 0……….....1.6581 +/- 0……..…....-1.2447 +/- 0.0001
4x greater……2.0762 +/- 0……….....1.6614 +/- 0.0001…...-1.2459 +/- 0.0001
5x greater……2.0764 +/- 0……….....1.6636 +/- 0……..…....-1.2467 +/- 0.0001
Examining these charges, the charges obtained using “original” and “2x greater” grids are better converged than the corresponding values in the first table. However, qLa, qMn, and qO are all drifting for grids of “2x greater” or more. For example, qMn changes from 1.6524 (2x greater) to 1.6636 (5x greater).
I would appreciate any suggestions or help to eliminate the drift in the charges versus grid for grids of “2x greater” or more and resolve the problem of converging the charges versus NG(X,Y,Z)F.
Thanks,
Yves
VASP POSCAR file of LaMnO3 model
---------------------------------------------------
LaMnO3 model - atoms are given in the order La, Mn, and O, and atoms of a certain type are symmetrically equivalent
1.00
6.75153404790348 0.00000000000000 0.00000000000000
0.00000000000000 5.51260446613033 0.00000000000000
0.00000000000000 0.00000000000000 9.54811101736883
6 6 18
Cartesian
0.00000000000000 2.75630223306517 0.00000000000000
4.50102269860232 0.00000000000000 1.59135183622814
2.25051134930116 2.75630223306517 3.18270367245627
0.00000000000000 0.00000000000000 4.77405550868442
4.50102269860232 2.75630223306517 6.36540734491256
2.25051134930116 0.00000000000000 7.95675918114069
3.37576702395174 2.75630223306517 0.00000000000000
1.12525567465058 0.00000000000000 1.59135183622814
5.62627837325290 2.75630223306517 3.18270367245627
3.37576702395174 0.00000000000000 4.77405550868442
1.12525567465058 2.75630223306517 6.36540734491256
5.62627837325290 0.00000000000000 7.95675918114069
0.00000000000000 0.00000000000000 0.00000000000000
2.25051134930116 1.37815111653258 0.79567591811407
2.25051134930116 4.13445334959775 0.79567591811407
4.50102269860232 2.75630223306517 1.59135183622814
0.00000000000000 1.37815111653258 2.38702775434221
0.00000000000000 4.13445334959775 2.38702775434221
2.25051134930116 0.00000000000000 3.18270367245627
4.50102269860232 1.37815111653258 3.97837959057035
4.50102269860232 4.13445334959775 3.97837959057035
0.00000000000000 2.75630223306517 4.77405550868442
2.25051134930116 1.37815111653258 5.56973142679848
2.25051134930116 4.13445334959775 5.56973142679848
4.50102269860232 0.00000000000000 6.36540734491256
0.00000000000000 1.37815111653258 7.16108326302662
0.00000000000000 4.13445334959775 7.16108326302662
2.25051134930116 2.75630223306517 7.95675918114069
4.50102269860232 1.37815111653258 8.75243509925476
4.50102269860232 4.13445334959775 8.75243509925476
I am trying to compute the Bader charges of cubic LaMnO3 from VASP files. However, I am having a problem with the convergence of the charges versus numbers of grid points NG(X,Y,Z)F. When I compute the charges, I see a slight drift in the charges versus NG(X,Y,Z)F for large NG(X,Y,Z)F. Thus, I am hoping that you can suggest how to eliminate the drift.
Representing cubic LaMnO3 using the model that is given at the end of this post, I use the procedure that is given at the HenkelmanGroup website to compute the charges of the La, Mn, and O atoms (https://theory.cm.utexas.edu/henkelman/code/bader/). Specifically, I generate AECCAR0 and AECCAR2 files, add them using the chgsum.pl script, and then run bader CHGCAR -ref CHGCAR_sum. To generate the VASP files, I use a stringent wave function convergence criterion, EDIFF = 1e-6.
The charges of the La, Mn, and O atoms are given below as average charges qLa, qMn, and qO +/- sigmas for different grids. The different grids are specified by values of NG(X,Y,Z)F that are 1x, 2x, 3x, 4x, and 5x greater than the default values given by VASP and are labeled “original”, “2x greater”, “3x greater”, “4x greater”, and “5x greater”, respectively:
grid………..….qLa…..………….....….…qMn…….…....……………qO…….…....……………
original…….…2.0653 +/- 0.0003..….1.6211 +/- 0.0005…...-1.2288 +/- 0.0034
2x greater……2.0780 +/- 0.0002...…1.6453 +/- 0.0007.….-1.2411 +/- 0.0020
3x greater……2.0816 +/- 0……….....1.6542 +/- 0……..…....-1.2453 +/- 0.0030
4x greater……2.0720 +/- 0.0001...…1.6591 +/- 0.0001..….-1.2437 +/- 0.0017
5x greater……2.0756 +/- 0……...…..1.6623 +/- 0.0001…...-1.2460 +/- 0.0002
Examining the charges given above, qLa appears to level off versus grid. However, qMn changes from 1.6211 (original) to 1.6453 (2x greater) and then drifts from 1.6453 (2x greater) to 1.6623 (5x greater), while qO also seems to drift.
In addition to the above charges that are obtained using the default method (-b neargrid), the charges that are obtained using the -b weight flag are given below:
grid………..….qLa…..………….....….…qMn…….…....……………qO…….…....……………
original…….…2.0727 +/- 0……….....1.6394 +/- 0.0002…...-1.2374 +/- 0.0001
2x greater……2.0754 +/- 0……….....1.6524 +/- 0.0001…...-1.2426 +/- 0.0001
3x greater……2.0759 +/- 0……….....1.6581 +/- 0……..…....-1.2447 +/- 0.0001
4x greater……2.0762 +/- 0……….....1.6614 +/- 0.0001…...-1.2459 +/- 0.0001
5x greater……2.0764 +/- 0……….....1.6636 +/- 0……..…....-1.2467 +/- 0.0001
Examining these charges, the charges obtained using “original” and “2x greater” grids are better converged than the corresponding values in the first table. However, qLa, qMn, and qO are all drifting for grids of “2x greater” or more. For example, qMn changes from 1.6524 (2x greater) to 1.6636 (5x greater).
I would appreciate any suggestions or help to eliminate the drift in the charges versus grid for grids of “2x greater” or more and resolve the problem of converging the charges versus NG(X,Y,Z)F.
Thanks,
Yves
VASP POSCAR file of LaMnO3 model
---------------------------------------------------
LaMnO3 model - atoms are given in the order La, Mn, and O, and atoms of a certain type are symmetrically equivalent
1.00
6.75153404790348 0.00000000000000 0.00000000000000
0.00000000000000 5.51260446613033 0.00000000000000
0.00000000000000 0.00000000000000 9.54811101736883
6 6 18
Cartesian
0.00000000000000 2.75630223306517 0.00000000000000
4.50102269860232 0.00000000000000 1.59135183622814
2.25051134930116 2.75630223306517 3.18270367245627
0.00000000000000 0.00000000000000 4.77405550868442
4.50102269860232 2.75630223306517 6.36540734491256
2.25051134930116 0.00000000000000 7.95675918114069
3.37576702395174 2.75630223306517 0.00000000000000
1.12525567465058 0.00000000000000 1.59135183622814
5.62627837325290 2.75630223306517 3.18270367245627
3.37576702395174 0.00000000000000 4.77405550868442
1.12525567465058 2.75630223306517 6.36540734491256
5.62627837325290 0.00000000000000 7.95675918114069
0.00000000000000 0.00000000000000 0.00000000000000
2.25051134930116 1.37815111653258 0.79567591811407
2.25051134930116 4.13445334959775 0.79567591811407
4.50102269860232 2.75630223306517 1.59135183622814
0.00000000000000 1.37815111653258 2.38702775434221
0.00000000000000 4.13445334959775 2.38702775434221
2.25051134930116 0.00000000000000 3.18270367245627
4.50102269860232 1.37815111653258 3.97837959057035
4.50102269860232 4.13445334959775 3.97837959057035
0.00000000000000 2.75630223306517 4.77405550868442
2.25051134930116 1.37815111653258 5.56973142679848
2.25051134930116 4.13445334959775 5.56973142679848
4.50102269860232 0.00000000000000 6.36540734491256
0.00000000000000 1.37815111653258 7.16108326302662
0.00000000000000 4.13445334959775 7.16108326302662
2.25051134930116 2.75630223306517 7.95675918114069
4.50102269860232 1.37815111653258 8.75243509925476
4.50102269860232 4.13445334959775 8.75243509925476