24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 4240  |  回复: 10
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

léon_WANG

木虫 (小有名气)

[求助] 为什么vasp DFT与GW0计算后的wannier插值能带完全一样 已有1人参与

如题,照官网SrVO3算例弄的Bulk Si能带结构计算。从DFT获得的gap为0.62eV,G0W0获得的gap为1.16eV,但两者的wannier插值能带完全一样。求解。
脚本如下:
$ECHO "  The real work starts here ...\\n"

# DFT calculation
$ECHO "  step 1: scf calculation ...\\n"
cat > KPOINTS.8 << EOF
Automatic
0
Gamma
8 8 8
0 0 0
EOF
cp KPOINTS.8 KPOINTS
#rm WAVECAR* WAVEDER*

cat > POSCAR << EOF
Si
5.4300
0.5 0.5 0.0
0.0 0.5 0.5
0.5 0.0 0.5
2
cart
0.00 0.00 0.00
0.25 0.25 0.25
EOF


cat > INCAR.DFT << EOF
#Si_dft_exc
System  = Si
PREC = Normal ; ENCUT = 250.0
ISMEAR = 0 ; SIGMA = 0.01            ! small sigma is required to avoid partial occupancies
KPAR = 6
NBANDS = 8
LWANNIER90_RUN = .TRUE.
EDIFF = 1.E-8                        ! required tight tolerance for ground state orbitals
EOF

# Wannier90.win for bandstructure
cat > wannier90_NONE.win << EOF
num_wann=8
num_bands=8

# for GW uncomment
# exclude_bands: 9-24


Begin Projections
Si:sp3
End Projections

dis_froz_max=9
dis_num_iter=1000

guiding_centres=true

# Bandstructure plot
bands_plot      =  true
begin kpoint_path
L 0.50000  0.50000 0.5000 G 0.00000  0.00000 0.0000
G 0.00000  0.00000 0.0000 X 0.50000  0.00000 0.5000
X 0.50000  0.00000 0.5000 K 0.37500 -0.37500 0.0000
K 0.37500 -0.37500 0.0000 G 0.00000  0.00000 0.0000
end kpoint_path
bands_num_points 40
bands_plot_format: gnuplot
EOF

$ECHO "  running the DFT calculation for WAVECAR of Si ...\\n"
cp INCAR.DFT INCAR
cp wannier90_NONE.win wannier90.win
$VASP_COMMAND
check_failure $?
$ECHO " done"
cp OUTCAR OUTCAR.DFT
cp vasprun.xml vasprun.DFT.xml
cp wannier90_band.dat wannier90_NONE_band.dat

$ECHO "  step 2: obtain virtual obitals ...\\n"
cat > INCAR.DIAG << EOF
#Si_dft_exc
System  = Si

PREC = Normal ; ENCUT = 250.0

ALGO = EXACT                          ! use exact diagonalization of the Hamiltonian
NELM = 1                              ! since we are already converged stop after first step
ISMEAR = 0 ; SIGMA = 0.01             ! small sigma is required to avoid partialoccupancies
KPAR = 6                              ! number of cores per compute node or sqrt of number of cores
NBANDS = 96
LOPTICS = .TRUE.                      ! to write WAVEDER the differ of wavefunction
LPEAD = .TRUE.                        ! Derivative of the orbitals w.r.t. the k-point
OMEGAMAX = 10
NEDOS = 2000
EOF

$ECHO "  running the DFT calculation for WAVECAR of Si ...\\n"
cp INCAR.DIAG INCAR
$VASP_COMMAND
check_failure $?
$ECHO " done"
cp OUTCAR OUTCAR.DIAG
cp vasprun.xml vasprun.DIAG.xml

# GW0 calculation
$ECHO "  step 3: GW0 calculation ...\\n"
cat > INCAR.GW0 << EOF
#Si_gw
System  = Si
PREC = Normal ; ENCUT = 250.0
ALGO = GW0  
LSPECTRAL = .TRUE.                          ! use the spectral method:This reduces the computational work load by almost a factor NOMEGA
ISMEAR = 0
SIGMA = 0.01
ENCUTGW = 150
NELM = 1
NOMEGA =  48                                ! specifies the number of frequency grid points
OMEGATL = 280                               ! maximum frequency for coarse part of frequency grid)
KPAR = 6
#NBANDSO=4 ; NBANDSV=8                      ! number of bands for BSE around Fermi level
LADDER=.TRUE.
# LUSEW=.TRUE.                              ! use screened WXXXX.tmp files instead of (screened) HF kernel
LRPA =.FALSE.      ! local field effects on the Hartree level (RPA); the dielectric matrix is written after the lines:  MACROSCOPIC STATIC DIELECTRIC TENSOR
# LWANNIER90=.TRUE.
NBANDS = 96
NBANDSGW = 12   !determines how many QP energies are calculated and updated in GW calculations. integer twice the number of occupied states
LWAVE = .TRUE.
PRECFOCK = Normal
LOPTICS=.TRUE.
EOF

$ECHO "  running the GW0 calculation for le ...\\n"
cp INCAR.GW0 INCAR
$VASP_COMMAND
check_failure $?
$ECHO " done"

cp OUTCAR OUTCAR.GW0
cp vasprun.xml vasprun.GW0.xml

# Wannier90.win for bandstructure
cat > wannier90_GW0.win << EOF
num_wann=8
num_bands=8

# for GW uncomment
exclude_bands: 9-96


Begin Projections
Si:sp3
End Projections

dis_froz_max=9
dis_num_iter=1000

guiding_centres=true

# Bandstructure plot
bands_plot      =  true
begin kpoint_path
L 0.50000  0.50000 0.5000 G 0.00000  0.00000 0.0000
G 0.00000  0.00000 0.0000 X 0.50000  0.00000 0.5000
X 0.50000  0.00000 0.5000 K 0.37500 -0.37500 0.0000
K 0.37500 -0.37500 0.0000 G 0.00000  0.00000 0.0000
end kpoint_path
bands_num_points 40
bands_plot_format: gnuplot
EOF

cat >INCAR.BANDS << EOF
#Si_gw
System  = Si


PREC = Normal ; ENCUT = 250.0
ALGO = Nothing   ; NELM = 1
ISMEAR = 0 ; SIGMA = 0.01
KPAR = 6
NBANDS = 96
LWAVE = .FALSE.
LOPTICS = .TRUE. ; LPEAD = .TRUE.
OMEGAMAX = 10
LWANNIER_RUN =.TRUE.
EOF

cp wannier90_GW0.win wannier90.win
cp INCAR.BANDS INCAR
$ECHO "  running for bands with GW0 ...\\n"
$VASP_COMMAND
回复此楼

» 收录本帖的淘帖专辑推荐

第一性原理相关文档

» 猜你喜欢

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

朱颜buct

新虫 (正式写手)

引用回帖:
5楼: Originally posted by newton3915 at 2017-03-18 10:41:17
这三个文件是vasp生成的。不过你用的是lib模式,我没用过,我一般是用Lwannier90=TRUE生成这三个文件,然后跑wannier90.x...

请问我在按照官网的例子做为什么没有产生三个文件呢?

发自小木虫IOS客户端
10楼2017-07-07 23:25:46
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 11 个回答

newton3915

铁杆木虫 (正式写手)

【答案】应助回帖

★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★
感谢参与,应助指数 +1
léon_WANG: 金币+20, ★★★★★最佳答案 2017-03-18 11:08:29
可能是因为你的wannier90_GW0.win这一步根本没有运行,直接读取的DFT那一步的amn mmn eig文件,你把wannier90_GW0.win的num_bands设置成96看看。
2楼2017-03-18 00:26:22
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

léon_WANG

木虫 (小有名气)

引用回帖:
2楼: Originally posted by newton3915 at 2017-03-18 00:26:22
可能是因为你的wannier90_GW0.win这一步根本没有运行,直接读取的DFT那一步的amn mmn eig文件,你把wannier90_GW0.win的num_bands设置成96看看。

感觉最后一步vasp计算就是第一步重新来一遍,wannier插值用的都是DFT的值而不是中间GW0计算的IP值,官网上这个算例http://cms.mpi.univie.ac.at/wiki ... ture_of_SrVO3_in_GW不知你跑过没有。照理它没理由算两个一样的能带前后对比。难道要在GW0计算中加LWANNIER_RUN =.TRUE.才行
3楼2017-03-18 10:09:42
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

léon_WANG

木虫 (小有名气)

引用回帖:
2楼: Originally posted by newton3915 at 2017-03-18 00:26:22
可能是因为你的wannier90_GW0.win这一步根本没有运行,直接读取的DFT那一步的amn mmn eig文件,你把wannier90_GW0.win的num_bands设置成96看看。

改了num_bands,重跑第三步,能带没变换。另外输出只有chk文件,没有amn mmn eig,这些应该是wannier90.x才会产生的吧
4楼2017-03-18 10:23:11
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 288求调剂 一志愿哈工大 材料与化工 +30 洛神哥哥 2026-03-31 32/1600 2026-04-02 14:49 by 赖春艳
[考研] 275学硕081000服从调剂到其他专业,保不住本专业了 +7 一只小小水牛 2026-04-02 8/400 2026-04-02 14:23 by alice-2022
[考研] 一志愿北京科技大学材料学硕328分求调剂 +6 1段时间 2026-03-31 7/350 2026-04-02 13:57 by 3041
[考研] 265求调剂11408 +4 刘小鹿lu 2026-03-27 4/200 2026-04-02 11:27 by guyan1000
[考研] 324分 085600材料与化工 +20 呆鹅oor 2026-03-27 20/1000 2026-04-02 10:13 by oooqiao
[考研] 重庆大学材料与化工085600,初试370+,求求调剂建议 +5 shzhou_ 2026-04-01 6/300 2026-04-02 10:05 by olim
[考研] 348环境工程调剂 +3 吴彦祖24k 2026-04-01 3/150 2026-04-02 09:14 by nanaliuyun
[考研] 材料与化工(0856)304求B区调剂 +8 邱gl 2026-03-30 16/800 2026-04-01 17:58 by 邱gl
[考研] 309求调剂 +19 谁不是少年 2026-03-29 19/950 2026-04-01 15:47 by jp9609
[硕博家园] 考研调剂 +5 骆驼男人 2026-04-01 5/250 2026-04-01 14:28 by syjjj0321
[考研] 考研材料工程351分调剂 +5 整个好的 2026-03-31 5/250 2026-04-01 09:36 by topgun2009
[考研] 335求调剂 +3 321* 2026-03-31 4/200 2026-04-01 00:00 by 321*
[考研] 0856求调剂 +9 楒桉 2026-03-28 9/450 2026-03-31 19:06 by 暮泽12
[考研] 求调剂 生物学 377分 +6 zzll03 2026-03-31 6/300 2026-03-31 17:33 by 唐沐儿
[考研] 求化学调剂 +12 wulanna 2026-03-28 12/600 2026-03-31 16:38 by 690616278
[考研] 286求调剂 +5 丢掉懒惰 2026-03-27 8/400 2026-03-31 11:27 by Delta2012
[考研] 342求调剂 +4 加油a李zs 2026-03-26 4/200 2026-03-30 16:39 by 晶体之美
[考研] 本科双非材料,跨考一志愿华电085801电气,283求调剂,任何专业都可以 +6 芝士雪baoo 2026-03-28 8/400 2026-03-29 08:16 by 松花缸1201
[硕博家园] 招收生物学/细胞生物学调剂 +4 IceGuo 2026-03-26 5/250 2026-03-29 01:25 by griffith2014
[考研] 341求调剂 +7 青柠檬1 2026-03-26 7/350 2026-03-27 00:19 by wxiongid
信息提示
请填处理意见