hutao0726的个人博客分享 http://blog.sciencenet.cn/u/hutao0726

博文

VASP计算EELS

已有 4537 次阅读 2019-3-28 15:10 |系统分类:科研笔记

http://han.ess.sunysb.edu/EELS/#opennewwindow

This program calculates the Electron Energy Loss Spectrum (EELS)

To use this code, first use script "script_EELS" to generate input for this code.

To use in conjuction with USPEX - ONLY FOR VASP CODE

Remember to use this utility, user must specify few VASP tags in the INCAR file for the last stage of VASP calculations, such as:

    LOPTICS  = .TRUE.
    CSHIFT   =  0.01
    NEDOS    =  2000
    NOMEGA   =   100
    OMEGAMAX =    20
    OMEGATL  =   260

so that VASP can calculates imaginary and real parts of frequency dependent dielectric constant. The values of these variables should be choosen as per user's requirement. To know more about these tags refer to the VASP manual.

Once the OUTCAR from the last stage of VASP is obtained, one should run "./script_EELS" first and then upload OMEGA.dat, EPS_RE.dat and EPS_IM.dat files here to get the file having data which can be used to plot EELS correspoing to x, y and z-directions. The first column of the output file "LOSS_FN.txt" contains energies in eV, while 2nd, 3rd and 4th columns contain the data corresponding to EELS along x, y, and z-directions, respectively.

Note: One may need to edit the script if they change the value of NOMEGA and OMEGAMAX in INCAR file.

Should you have any question, feel free to contact Prof. Priya Johari.

Example: OMEGA.datEPS_RE.datEPS_IM.dat

Authors: Priya Johari (main code), Mahdi DavariMaksim Rakitin (web interface)


Script_EELS:

grep -A2002  "IMAGINARY DIELECTRIC FUNCTION"  OUTCAR > 1
tail -2000  1 > EPS_IM.dat
grep -A2002  "REAL DIELECTRIC FUNCTION"   OUTCAR > 1
tail -2000  1 > EPS_RE.dat
grep "NOMEGA" INCAR > 2
sed 's/\(.\{7\}\)//'  2 > NOMEGA.dat
grep "OMEGAMAX" INCAR > 2
sed 's/\(.\{9\}\)//'  2 > OMEGAMAX.dat
cat NOMEGA.dat OMEGAMAX.dat > OMEGA.dat
rm -f NOMEGA.dat OMEGAMAX.dat




https://blog.sciencenet.cn/blog-907836-1170147.html

上一篇:搭建溶液模型
下一篇:[转载]shell 特殊变量
收藏 IP: 222.92.237.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-11-23 03:49

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部