码迷,mamicode.com
首页 > 其他好文 > 详细

Bader分析1

时间:2015-08-06 12:53:40      阅读:2995      评论:0      收藏:0      [点我收藏+]

标签:

      Bader分析之前需要完成的步骤和注意事项:

第一步,Bader分析之前的静态计算参数:LAECHG;

      在静态计算的INCAR中,设置LAECHG=.TRUE.(同时注意:ICHARG=2).计算结束后,会产生AECCAR0,AECCAR1, AECCAR2这3个文件,以便后续分析使用。

第二步,Bader分析需要的两个后处理工具:chgsum.pl 和bader;

    (1)进入“VASP TST tools”页面下载chgsum.pl文件,链接:http://theory.cm.utexas.edu/vasp/scripts.html   

    (2)进入“Bader Charge Analysis”页面下载bader程序,链接:http://theory.cm.utexas.edu/henkelman/code/bader/
      推荐使用Linux版本,下载后用如下命令解压:tar -zxvf  bader_lnx_64.tar.gz
      下载细节体系:使用360浏览器下载的是bader_lnx_64.gz,使用Firefox浏览器下载的是bader_lnx_64.tar.gz,这两种格式都可用上面的解压命令。
 
第三步,后处理工具的使用。
    (1)chgsum.pl 的使用方法如下:
usage: chgsum.pl (CHGCAR1) (CHGCAR2) (fact1) (fact2) 
output: CHGCAR_sum 
The values in CHGCAR_sum are (CHGCAR1*fact1+CHGCAR2+fact2). By default, fact1=fact2=1.0, so that the output is the sum of the input charge density files 
     运行:chgsum.pl AECCAR0 AECCAR2,得到CHGCAR_sum文件
 
     (2)bader的使用方法如下:
bader [ -c bader | voronoi ]
          [ -n bader | voronoi ]
          [ -b neargrid | ongrid ]
          [ -r refine_edge_method ]
          [ -ref reference_charge ]
          [ -vac off | auto | vacuum_density ]
          [ -p all_atom | all_bader ]
          [ -p sel_atom | sel_bader ] [volume list or range ]
          [ -p sum_atom | sum_bader ] [ volume list or range ]
          [ -p atom_index | bader_index ]
          [ -i cube | chgcar ]
          [ -h ] [ -v ]
          chargefile

      运行:bader -ref  CHGCAR_sum CHGCAR,得到ACF.dat(包含价电子电荷信息)、BCF.dat、AVF.dat这3个文件。

      一些帖子中使用:bader  CHGCAR  -ref  CHGCAR_sum,这样也是可以的。 

 

注意事项:

    (1)Bader 只支持PAW 的方法,需要vasp4.6.31 以及以上版本。

    (2)计算电荷布局分析时,需要比较密的FFT 网格,可以通过NG(X,Y,Z) F来调整,增大这些量,直到总的电荷数目正确。一般情况下,使用默认的FFT网格设置不会出现问题。

    (3)Bader 电荷布居分析基于电荷密度。和Mulliken ,Hirhfeld 分析比较,原子电荷:Hirshfeld <Mulliken<Bader.(这个比较是定性的)。

    (4)现在还不能分析某一个轨道的电荷布居情况,不过很快就可以了,新版本将具有这个功能(暂时没有验证新版本是否具有此功能,待后续更新补充)。

 

You probably already knew this, but a quick comment about the example on bader analysis here:

https://github.com/jkitchin/dft-book/blob/master/dft.org#bader-analysis

If you reference the charge to to core charge it seems to give a reasonable answer. You have to run vasp with laechg=True. Then chgsum the AECCAR0 and AECCAR2 files and use it as reference to Bader. Then it seems to give values comparable to https://wiki.fysik.dtu.dk/gpaw/tutorials/bader/bader.html

Also, the attach_charges function from ase.io.bader references the charge to the atomic number, which might lead to misleading results for VASP due to only using the valence charge density.

See below. http://theory.cm.utexas.edu/henkelman/code/bader/

Note for VASP users
One major issue with the charge density (CHGCAR) files from the VASP code is that they only contain the valance charge density. The Bader analysis assumes that charge density maxima are located at atomic centers (or at pseudoatoms). Aggressive pseudopotentials remove charge from atomic centers where it is both expensive to calculate and irrelevant for the important bonding properties of atoms.

Recently, the VASP developers have added a module (aedens) which allows for the core charge to be written out from PAW calculations. This module is included in vasp version 4.6.31 08Feb07 and later. 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
One finally note is that you need a fine fft grid to accurately reproduce the correct total core charge. It is essential to do a few calculations, increasing NG(X,Y,Z)F until the total charge is correct.

 

参考链接:

[1] VASP TST tools:http://ma.cms-initiative.jp/en/application-list/vasp-tst-tools/vasp-tst-tools

[2] VASP下bader电荷计算:http://wangzongguo122.blog.163.com/blog/static/2914191220143191224847/

[3] vasp_bader_charge:http://blog.163.com/zhxd1028@126/blog/static/186172302011874443402

[4] Bader分析:http://blog.chinaunix.net/uid-7726704-id-2045378.html

[5] 科普一下bader 电荷分析的一些细节:http://simulation.haotui.com/viewthread.php?tid=25750

[6] Bader Analysis #2:https://github.com/jkitchin/dft-book/issues/2

Bader分析1

标签:

原文地址:http://www.cnblogs.com/panscience/p/4704649.html

(0)
(1)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!