《VASP实用教程》第十四弹:lev00程序处理电荷密度(CHGCAR)

本文为华算科技撰写的《VASP实用教程》第14篇,全系列约60篇,将在近期陆续更新。

随后朱老师将推出《VASP入门手册》,约200篇,旨在帮助完全没有基础的同学,从最简单的内容开始,快速入门VASP计算,少走弯路。

VASP视频学习资料,可以关注朱老师B站:https://space.bilibili.com/1690382481

通过本章教程,介绍一款名为lev00的软件,这款软件可以十分方便的处理电荷密度(CHGCAR)。

侯柱峰老师已经在教程里详细描述了软件的安装方法及数据处理方法,我们这里主要进行简单的概述。

《VASP实用教程》第十四弹:lev00程序处理电荷密度(CHGCAR)

对于lev00的功能进行简要的介绍,由于软件没有中文说明书,为了避免误导读者,直接将英文原文粘贴到此处:

  • DOS/LDOS applications (presently works only for VASP and old CASTEP3.1):
  1. plot of the total and projected DOS for various choices of groups of states (or for the whole set of those) using the method of tetrahedra; one can preview several curves at the time for different choices of groups of states; this last option has proven to be useful for the identification of peaks in the LDOS;
  2. the DOS/LDOS can be smeared out by a Gaussian; this can be done either analytically or numerically;
  3. there is also a possibility to play around with various dispersions for the Gaussian smearing and compare DOS calculated with them at the same time; this helps to select the correct dispersion for smearing.
  • Charge/spin/partial densities (presently works fully for VASP and old CASTEP; however, most of the density related options work for SIESTA as well):
  1. plot of charge/spin densities or partial charge densities in the cell along a line (1-dimensional) or in a plane (2-dimensional)
  2. explore the charge density: it seeks peaks and gives their positions in the space of the cell, heights, amount of charge involved, etc.; this has been proved to be especially useful for studying partial charge densities or wave functions for particular states in the direct space which were thought to be responsible for particularly interesting features in the LDOS;
  3. integration of the (partial) charge densities over a set of spheres of given radii; this allows you to gain an idea about the chemical nature of bonding in the system, charges on atoms, etc.; note that spheres may overlap so that you can construct a quite sophisticated region in space to study the density!
  4. one can cut out parts of the density, simulate it by point charges; this may be useful if a complimentary calculation is to be done (e.g. a Coulomb correction, polarisation calculation for a defect outside the cell, etc.)
  5. dipole and quadrupole moments of the cell (useful, frankly, only for molecules, or any densities that go to zero at the border of the cell)
  6. a density file in a Cube format that allows one to plot nice surfaces of constant density using e.g. gOpenMol
  7. construction of a general linear combination of two charge densities; for example, one can subtract one density from another;
  8. recalculation of the charge density with respect to a new position of the coordinate system (shift); this is necessary if the ground state calculation charge density has been obtained for a lower symmetry position of the coordinate system3.2, while e.g. for the DOS one has to do the band-structure calculation with as high symmetry as possible to reduce the number of $mathbf{k}$-points. Instead of repeating the ground state calculation for the new choice of the coordinate system, it is possible here to recalculate and then save the electronic density for the new position prior to the band-structure run of the DFT code. This would save one ground state calculation.
  • the total Coulomb potential (including the electronic part3.3) across the cell: plotting

《VASP实用教程》第十四弹:lev00程序处理电荷密度(CHGCAR)

Si的立方晶胞以及Si(1-10)面的电荷图

侯老师教程中是以Si的电荷密度为例子来说明的。首先要计算Si的电荷密度,计算完成后,将NCAR, KPOINTS, POSCAR, OUTCAR, CHGCAR和CHG文件保存起来,然后就可以用lev00来处理电荷密度了。

lev00处理之后会得到test.gnu,test.dat和out.dat_1文件,可以通过gnuplot和origin软件对test.dat和out.dat_1文件画图。

上图所示即为gnuplot所画的电荷密度图。

参考资料:

https://nms.kcl.ac.uk/lev.kantorovitch/codes/lev00/node47.html
点击获取更多vasp教程👉:《VASP实用教程》全60篇教程汇总!

声明:如需转载请注明出处(华算科技旗下资讯学习网站-学术资讯),并附有原文链接,谢谢!
(0)
上一篇 10小时前
下一篇 10小时前

相关推荐