24小时热门版块排行榜    

查看: 4557  |  回复: 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的回帖

newton3915

铁杆木虫 (正式写手)

引用回帖:
4楼: Originally posted by léon_WANG at 2017-03-18 10:23:11
改了num_bands,重跑第三步,能带没变换。另外输出只有chk文件,没有amn mmn eig,这些应该是wannier90.x才会产生的吧...

这三个文件是vasp生成的。不过你用的是lib模式,我没用过,我一般是用Lwannier90=TRUE生成这三个文件,然后跑wannier90.x
5楼2017-03-18 10:41:17
已阅   回复此楼   关注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的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 为什么资助数各大高校都创新高,自己申请怎么就这么难 +8 Kittylucky 2026-08-27 8/400 2026-08-27 18:33 by raiy123
[基金申请] 青基如何破局 +6 lyz123lyz 2026-08-27 7/350 2026-08-27 17:31 by 宁静致远sy
[基金申请] 基金不中,共勉 +10 eulota 2026-08-26 10/500 2026-08-27 17:23 by lqllinqiaoli
[基金申请] 基金未中,这种答复是模板吗? +5 zhaosm1982 2026-08-27 6/300 2026-08-27 16:00 by lfy8008
[基金申请] 我不理解! +15 Edward_pc 2026-08-26 23/1150 2026-08-26 20:34 by zzuzxg
[基金申请] 2026年的国家社科基金项目通讯评审的新规则与新动向、新挑战 +7 process2012 2026-08-23 10/500 2026-08-26 19:23 by hmhminy
[基金申请] 系统查不到 +10 董八千 2026-08-26 10/500 2026-08-26 16:30 by Equinoxhua
[基金申请] 范进中举一文的中心思想 +9 炎黄贵胄 2026-08-22 10/500 2026-08-26 15:40 by semaglutide
[基金申请] 2026国自然函评费到账 +22 羊腰板 2026-08-21 25/1250 2026-08-26 15:00 by zuocuiping
[基金申请] 2026年8月25日国自然放榜前突然收到列入评审专家邮件,有关系吗? +25 木水思豆 2026-08-25 28/1400 2026-08-26 14:53 by draco1987
[基金申请] 出来了 +9 trojank 2026-08-26 9/450 2026-08-26 14:25 by 宝贝虫子
[基金申请] 哪位高人中了,把查询到的截图贴出来让我看看,让我长长见识 +4 yuleib84 2026-08-26 5/250 2026-08-26 13:40 by yuleib84
[基金申请] 国合里面能看到了 +7 一怀馨秋 2026-08-26 7/350 2026-08-26 11:23 by zhaosm1982
[基金申请] 系统进不去 +4 yanglien 2026-08-26 5/250 2026-08-26 11:10 by wenfengw83
[基金申请] 项目信息和经费信息在系统里都可以看到了 +6 wittyboy 2026-08-26 14/700 2026-08-26 10:55 by wittyboy
[基金申请] 国合可查了 +3 paperzjh 2026-08-26 3/150 2026-08-26 10:41 by LemmonTr
[基金申请] 在坚冰还盖着北海的时候,我看到了怒放的梅花。 (金币+10) +6 ziyangfang 2026-08-25 9/450 2026-08-25 20:26 by huagongfeihu
[基金申请] 建议基金发布提前给出明确的时间点 +13 kulium 2026-08-21 16/800 2026-08-24 16:27 by superceng
[教师之家] 跳槽后在研项目怎么办? +5 简单化xn 2026-08-22 10/500 2026-08-23 12:38 by 简单化xn
[基金申请] 时间戳今天,20号变了 +5 archvillain 2026-08-20 5/250 2026-08-22 06:12 by hui_daxiao
信息提示
请填处理意见