vasp软件包使用入门指南
vasp软件包使用入门指南
vasp软件包使用入门指南
ûι
([email protected])
E ÆÔnXƬ
2005 c 11 28 F
Á
Ãþ=ø2005c123F4F3®÷ê^úiÞVASPÔþ¦^§áu
Ãþö"©¥J §S§±Jø¦^"3ë¦^ÃþL§¥§XØ
Ù/§±ëVASP=©Ãþ½email5\ÎÃþö"X@Ãþ, /I
½?U§emailÏÃþö"Ãþë VASP=©manual!G. Kresse
w±9lpëþÂ8]"
ÃþÃþ:3uéVASP^¦^?1\50 §k'VASP^?1á
[nØÄ:gCë'©zÚ]"
8 ¹
§1 VASP^{ü0 2
§2 VASP§S?ÈÚSC 3
§2.1 ¤I© . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
§2.2 ?ÈSCÚ½ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
§3 VASP§SÌÑ\© 5
§3.1 INCAR© . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
§3.2 POTCAR© . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
§3.3 POSCAR© . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
§3.4 KPOINTS© . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
§4 VASP§SÌÑÑ© 11
§4.1 OUTCAR© . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
§4.2 CHGÚCHGCAR© . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
§4.3 DOSCARÚEIGENVAL© . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
§4.4 Ù¦© . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
1
§5 ëêÀJE| 14
§5.1 ENCUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
§5.2 PREC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
§5.3 EDIFFÚEDIFFG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
§5.4 ISTARTÚICHARG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
§5.5 GGAÚVOSKOWN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
§5.6 ISIF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
§5.7 ISMEARÚSIGMA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
§5.8 RWIGS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
§5.9 k:ê8½k-mesh`z . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
§6 áÄ5O{ÚÚ½ 20
§6.1 üfO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
§6.2 (ë꣬~êÚf ëê¤`z . . . . . . . . . . . . . . . . . . . . 22
§6.2.1 {ü¹ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
§6.2.2 E,¹ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
§6.2.3 g.`z½Ü`z . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
§6.3 (ÜU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
§6.4 gU>ÖÝ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
§6.5 U( . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
§6.6 >fÝ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
§6.7 á^55O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
§6.8 L¡NXO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
§6.8.1 áN5O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
§6.8.2 slab.E . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
§6.8.3 L¡NX(`z . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
§6.8.4 L¡NX5O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
§7 tools¥§S`² 33
§7.1 murn.f . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
§7.2 gk.fÚpbnd.f . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
§7.3 split dosÚvp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
§1 VASP^{ü0
2
^Vanderbilt^³(ultra-soft Vanderbilt pseudopotentials, US-PP)½M\ÝKÅ{(projector-
augmented wave method, PAW)5£ã§Ïd3?n¹LÞ7á½±ÏL¥1ü
NXU~O¤I²¡Åê8"
<@, VASPÓa>f(O^' äk`:3uµ
• ,vkã/.¡§´¦^© [§\¯"
• ¤|±OŲ(üÅ!O8+!?IþOÅÚ?þOÅ)~2§A
3¤ke(IntelPentiumX!AthlonXCPU!DECAlphaÅ)OÅì
þÑk~p$1Ç"
VASP^äkrOõU§V)/ù§§äk±eõUµ
• æ^±Ï5>.^(½.)?nf!©f!ìq!B(½+)! !¬N!
O¬Úý5᧱9L¡NX!NXÚN¶
• OáG§ÚåÆ5(N5þÚ5~ê)¶
• Oá>f((U?!>ÖÝ©Ù!U!>fÝÚELF)§¿«á¥
zÆ A¶
• lÞ©fÄåÆ[¶
• Oá1Æ!^ÆÚ¬ÄåÆ5¶
• 8c3mu§Oá-u(GWOâf?)¡5"
8cVASP^3¥I/«nû´®÷ê^úi(http://www.hongcam.com.cn)§
XJs ïVASP^±éXTúi"
§2 VASP§S?ÈÚSC
e¡±VASP4.6~§0 ÙG11¬?ÈSC"
§2.1 ¤I©
• VASP èµvasp.4.6.tar.gzÚvasp.4.lib.tar.gz
• êÆ¥µLAPACKÚBLAS (http://www.netlib.org/)§
½mkl(Üintelfotran?Èì^)§
½ATLAS (http://math-atlas.sourceforge.net/)§
½Lib GOTO (http://www.cs.utexas.edu/users/flame/goto/)
3
• Fortran?ÈìµPGI fortran 4.0±þ(http://www.pgroup.com/)§
½Intelifc (8.0±þ´ifort, http://www.intel.com/software/products/compilers/flin/)"
§2.2 ?ÈSCÚ½
VASP?Èæ^´makefile5?1§XJ\éLinux^SCØÙG§±k3Intelnet
þ^google5|¢' c/makefile linux )”5Ö¿'SN"
e¡æ^PGI fortan?Èìpgf90!ATLASêÆ¥éVASP4.6?1?È"ùpb½®²SC
Ð fortran?È짤k©Ñ3/home/xxxx/VASP SRC8¹e§Åì´LinuxRedhat9.0ö
XÚ"
)Ø 8¹Linux P4SSE2§3d8¹eklibf8¹§Tlibf8¹¥©
libatlas.a, libcblas.a, libf77blas.a, liblapack.a, ù Ò´?Èvasp¤IêÆ¥©
"
• ^Xe·-)Øvasp.4.6.tar.gzÚvasp.4.lib.tar.gzµ
)Ø ©O8¹vasp.4.6Úvasp.4.lib§8¹vasp.4.6¥©´vaspÌ è§vasp.4.lib´
?ÈvaspI A½êÆ¥§S§3ùü8¹¥Ñk?Ȥ^makefile©
§éÅìÚfortran?Èì§ÀJAmakefile"
cd vasp.4.lib
cp makefile.linux_pg makefile
make
?Ȥõ §libdmy.a©"
4
• òÑvasp.4.lib8¹§?\vasp.4.68¹§ÀJmakefile.linux pg§¿r§¤makefile§?
6makefile©§ÏL?U311291?ATLASHOMECþD§§c¡)
ØLinux P4SSE2¤38¹(/home/xxxx/VASP SRC/Linux P4SSE2)"?UcSN:
?U SNµ
?U makefile©§ \make·-m©?Èvasp"·-µ
cd ..
cd vasp.4.6
cp makefile.linux_pg makefile
?6?Umakefile©
make
?Ȥõ §Ò±VASP^G11©vasp¬"XJ?Èmakeparam
¬(ù´VASPóä)§±$1make makeparam·-5"
• ±rootáÒ¹Åì§r¤õ?ÈVASPvasp/bin8¹e§K?ÛÊÏ^
rѱ¦^vasp"dvasp±¤ulinux·-5¦^ §Ø2Irvasp
cO8¹e"
§3 VASP§SÌÑ\©
5
§3.1 INCAR©
• é¤ONX?15ºµSYSTEM
• ½Â>f`zµ
– ²¡ÅäÄUÚM\>ÖäµENCUT, ENAUG
– >fÜ©`z{µALGO, IALGO, LDIAG
– >ÖÝ·Ü{µIMIX, AMIX, AMIN, BMIX, AMIX MAG, BMIX MAG, WC,
INIMIX, MIXPRE, MAXMIX
– gUSÚêÚÂñIOµNELM, NELMIN, NELMDL, EDIFF
• ½Âlf¢½f`zµ
• ½ÂÝÈ©{Úëê:
– smearing{ÚëêµISMEAR, SIGMA
– OÝUþÚ:ê:EMIN, EMAX, NEDOS
– O©ÅÝëêµRWIGS, LORBIT
• Ù¦µ
– O°Ý:PREC
– ^5O:ISPIN, MAGMOM, NUPDOWN
– 'é¼ê:GGA, VOSKOWN
– OELFÚoÛ³:LELF, LVTOT
– (`zëê:ISIF
– "٦ѧëVASP=©manual"
6
General:
SYSTEM = fcc Si !gUOfcc(Si
ISTART = 0 !m©#O
ICHARG = 2 !lf>ÖÝUEЩ>ÖÝ
ENCUT = 240 !²¡ÅäÄU
ISMEAR = 0; SIGMA = 0.1 !æ^Gaussian smearing{§Ð°0.1eV
PREC = Accurate !O°Ý
§3.2 POTCAR©
³©§Ñ\©"³¥¥³©±?1Xe©aµ
• â{ØÓkUltra-soft³(USPP)ÚÝKM\ų(PAW)
• â'é¼êØÓkLDAÚGGA(q±2©PW91ÚPBE)
ùpA´¶¡"
XÛO?
XJ\<³©ª^A·-r³Ü¿©POTCAR¥:
• ´±Z*橧^·-µ
zcat POTCAR.Z >>aa
• ´)Ø ©POTCAR§^·-:
cat POTCAR >>aa
£kõaf§UPOSCAR©af^S§g¦^þ¡·-§rAf
POTCAR.ZÜ¿aa©¥¤
• , raa©£O8¹¥(mv aa O8¹/POTCAR).
5ºµ3?n^5᧤ONX¹kw7á!wè7á!±ÏL>3dLÞ
!JXÚX§í^PAW³§O°ÝkJp"3æ^³(USPP)§¦
^PW91GGA§íVOSKOWN = 1"3æ^PAW³§í^LDAÚPBE"
e¡ÑPAWéØÓ§æ^Û«a.PAW±9ENCUTõ§¤L§
øÀJ³ë£e¡AL¥§NL«3¹eÄÀ^ù«a.PAW³§
L¥êiL«´äÄU§ùÜ©SN´ëG.Kressew¥SN¤µ
5ºµX dL«´§d>f5?n" pO°Ý§íæ
^X d³"X hL«T³'M§´äÄU^駧´^¹kùaf
zÔO¥§ JpO°Ý"Ù¥Si h^3¹Si£á¥"
5ºµù éJz§AO´>K5ér£'XF¤(ܧO
Ø Ñ'"X svL«rs>f?n§X pvÄrp>f5?n"
7
Bh 700 Ch 700 Nh 700 Oh 700 Fh 700
B 318 C 400 N 400 O 400 F 400
Bs 250 Cs 273 Ns 250 Os 250 Fs 250
Al 240 Si 245 P 270 S 280 Cl 280
Al h 295 Si h 380 Ph 390 Sh 402 Cl h 409
Ga 134 Ge 173 As 208 Se 211 Br 216
Ga d 282 Ge d 287
Ga h 404 Ge h 410
In 95 Sn 103 Sb 172 Te 174 I 175
In d 239 Sn d 241
Tl 95 Pb 98 Bi 105
Tl d 239 Pb d 237 Bi d 242
L1
H 250
Hh 700
Li 140 Be 300
Li sv 271 Be sv 308
Na 81 Mg 210
Na pv 300 Mg pv 265
Na sv 700
L2
• 3d§À^X pv§´X³´UÑ'Ün(J"
• 5d§du5p>fÛzér§lHfm©§±À^X³§íÀ^ØÓ
³§?1ÿÁe§, À^Ü·³"
5ºµXJf>f´itinerant£Ñ£¤§K±?n¹ù NX"XJf>f´Û5
ér£Ò´r'éA¤§OÑy¯K LÞ7ázÔ£'XNiO, V2 O3 ÚFeO¤
"
§3.3 POSCAR©
£ã¤ONX¬ëê,fê9¬¥f §±9©fÄåÆOf
ЩÝ(Ø~^)"
8
Ti 178 V 192 Cr 227 Mn 269
Sc sv 222 Ti pv 222 V pv 263 Cr pv 265 Mn pv 269
Mo 224 Tc 228
Y sv 211 Zr sv 229 Nb pv 207 Mo pv 224 Tc pv 228
Hf 220 Ta 223 W 223 Re 226
Hf pv 220 Ta pv 223 W pv 223 Re pv 226
L3
L4
~fµ
Si-fcc !5º1§{á£ãNX
5.43 !Ä¥ Xê,@´¬~ê
0.00 0.50 0.50 !ĥر Xê §þ1å£ãÄ¥
0.50 0.00 0.50
0.50 0.50 0.00
2 !fê
Direct !L«fI´éuÄ¥Ñ.
0.00 0.00 0.00 !f
0.25 0.25 0.25
1Ô1´Ci1mÞ§KL«e¡I´±k(IX5ÑfýéI£
ر 11 Xê I¤"'Xþ¡~f±æ^e¡ªµ
9
Si-fcc !5º1§{á£ãNX
5.43 !Ä¥ Xê,@´¬~ê
0.00 0.50 0.50 !ĥر Xê §þ1å£ãÄ¥
0.50 0.00 0.50
0.50 0.50 0.00
2 !fê
Carti !L«fI´±k(IXÑI.
0.00 0.00 0.00 !f
0.25 0.25 0.25
§3.4 KPOINTS©
Ùp«k:½U(O÷pé¡k:µ
• ÃÄÑ\=g½Âk:IÚµí3UO^§Ù¦¹eØæ^
ù«{"3 ¡U(O¬[0 XÛOÃÄÑ\k:"
~f:
• Line-modeµ3OU^(4.6±þâ|±)"
~fµ
J«µXJk:´éuk(IX§K1o1UCartesian(±i1cmÞ?Û
cѱ)
10
• §SgÄ)k:µ~^§½Â
~fµ
J«µÄ¥þ©êÛꧦ)k:´±Gamma:¥%"â
Ä¥á5Ü·©ê"
é8¬X:æ^Gamma centered
~f:
§4 VASP§SÌÑÑ©
§4.1 OUTCAR©
OUTCAR©¹ vaspO
ýÜ©(J§zÚS[¹"e¡0
XÛlOUTCARÑ k^&Eµ
• w¤ONXNȧ¦^e¡·-:
grep -volume.OUTCAR
Xeaq(J
11
11ÑNXNÈ©O±Å3 /atomÚa.u.3 /atomü "11ÑNXNÈ´
±Å3 /unit cellü "
• w¤ONXoU§¦^e¡·-:
Xeaq(J
Xeaq(J
• w¤ONX¤U?§¦^e¡·-:
Xeaq(Jµ
12
BZINTS: Fermi energy: 6.171330; 20.000000 electrons
þ1¥1êÒ´NX¤U?§1êÒ´NXod>fê"
5ºµéNNX§VASPdº¤U?"é¥y7á5NX§¤U?
Ò´TNXý¢£äkÔn¿Â¤¤U?"
• w¤ONXfÄ¥§3æ^viéOUTCAR?6§^e¡·-5é
• w¤ONX¥fÉ幧3æ^viéOUTCAR?6§^e¡·-5é
g/TOTAL-FORCE
f¤Éåü ´eVangstrom"
§4.2 CHGÚCHGCAR©
ùüÑ´Ñ NX>ÖÝ©§§SN´Ó§´cöÑêâ
°Ý' ö°ÝÑ$ "e¡´CHGCAR©~fµ
Au-Zn_zig
1.00000000000000
15.000000 0.000000 0.000000
0.000000 15.000000 0.000000
0.000000 0.000000 6.600000
1 1
Direct
0.000000 0.000000 0.000000
0.000000 0.000079 0.500000
160 160 72
0.18441120499E+05 0.17909524567E+05 0.16406959292E+05 0.14179806898E+05 0.11554638997E+05
0.88581841033E+04 0.63620171557E+04 0.42583169365E+04 0.26537018923E+04 0.15676950926E+04
...................................
d©Þ91ÑNX¬ëê§POSCAR¥SNÄÓ§3111¥nê©
O´NGX, NGY, NGZ§§L«3nÄ¥þ§é¤O?1©§NGX
* NGY * NGZ:§¤O¥>ÖÝ^nÝ A(NGX, NGY, NGZ)5Ñ"
13
ùü©3zÚSL§¥Ñ¬#£Ø 3INCAR©¥kICHGAR=11½12 ¤"
²LS gUCHGÚCHGCAR±^5xã©Û¡>ÖÝ©Ù£XÛ§3 ¡
¬[0 ¤"3 ¡Ú½¥U(Úݧ¤Ö\>ÖÝ©CHGÚCHGCAR7
L´²LSgU©"
§4.3 DOSCARÚEIGENVAL©
DOSCARѤONX>fݧEIGENVALÑ´¤ONX"ù
ü©¥Uþ§Ñ´ýé§ Ø´±¤U?ë":"
§4.4 Ù¦©
• WAVECARÑ´¤ONX>fżê§?©§Ø?6"
• OSZICARzgS½lf£Ä¹{ü®o"
• CONTCARÑlf?1¶þ§zg£Ä NX¬ëê§POSCARSNÓ"
3éNX?1¶þ½©fÄåÆO§ CONTCAR±¤POSCAR§
?1 ¡O"
• IBZKPTÑ´ØÙp«k:I"
§5 ëêÀJE|
§5.1 ENCUT
²¡ÅäÄU"æ^%@´ÃÄÑ\"í{´æ^ ö§3?Û5
Oc§?1ENCUTÂñ¹O§dd5(½Ü·äÄU§, ÃÄ/
"
e¡±7f(Si¿æ^USPP!LDA~§?1`²µ
ÙPOSCAR©µ
Si-Diamond
5.430
0.0 0.5 0.5
0.5 0.0 0.5
0.5 0.5 0.0
2
Direct
0.0 0.0 0.0
0.25 0.25 0.25
14
ÙKPOINTS©µ
Automatic generation
0
Monhkorst-Pack
9 9 9
0.0 0.0 0.0
^5?1Oshell §Sµ
#!/bin/sh
rm WAVECAR
for i in 150 200 250 300 350 400
do
cat > INCAR <<!
SYSTEM = Si-Diamond
ENCUT = $i
ISTART = 0 ; ICHARG = 2
ISMEAR = -5
PREC = Accurate
!
echo "ENCUT = $i eV" ; time vasp
E=‘grep "TOTEN" OUTCAR | tail -1 | awk ’{printf "%12.6f \n", $5 }’‘
echo $i $E >>comment
done
150 -11.900655
200 -11.938864
250 -11.944599
300 -11.945248
350 -11.945503
400 -11.945622
15
§5.2 PREC
PREC´O°Ýëꧧû½ ENCUT!FFT!ÚROPT
%@"ULow, Medium, High, Normal, Accurate ( üU34.5±þ¥â
å^)"3Oíµ4.5¥^Normal§4.4¥^Medium"JpåÚStress
tensorO°Ý§±æ^High½Accurate§¿ÃÄENCUT"
§5.3 EDIFFÚEDIFFG
EDIFF´>f(Ü©gUŞä´ÄgU ^§þgÚcügS
¥oUÚCzÑuEDIFF§K>f(Ü©SÌÊ"XJEDIFF = 0§K?
1NELMÚS ÊS"%@1E-4§¹vk7"
EDIFFG´lfÜ©¶þ§lf¶þ3þÚÚcÚ¥oUCzuEDIFFG§
Klf¶þÊ"Ù%@EDIFF*10"5¿´µkEDIFFGKê§â´^5lf¶
þ§lf½f¤Éå"EDIFFG±0§KL«lf¶þNSWÚ ÒÊ"EDIFFG3
©fÄåÆ¥Øå^"
§5.4 ISTARTÚICHARG
§5.5 GGAÚVOSKOWN
§5.6 ISIF
ISIF´~k^ëê§^5(ëê`z"IBRION = 0§Ù%@0§
Ù¦¹e2"
Trace onlyL«=koØå´(§oØå´3OUTCAR©¥ù1/external pressure
= ... kB0Ñ"3éNȽ/G?1`z§ENCUTÑ £'X1.3
* ENCUT%@½öPREC = High¤±ØPulay StressØ "
16
ISIF Of O f UC UC
¤Éå stress tensor ¶þ /G NÈ
0 ´ Ä ´ Ä Ä
1 ´ trace only ´ Ä Ä
2 ´ ´ ´ Ä Ä
3 ´ ´ ´ ´ ´
4 ´ ´ ´ ´ Ä
5 ´ ´ Ä ´ Ä
6 ´ ´ Ä ´ ´
7 ´ ´ Ä Ä ´
L 5 ISIFU±9A¿g
§5.7 ISMEARÚSIGMA
ISMEAR^5(½XÛ½^Û«{5zżêÜ©Ókêfnk "3æ^k
§Ý{fnk §smearing{¥smearing°Ýσ"§%@©OISMEAR = 1,
SIGMA = 0.2"U-5, -4, -3, -2, -1, 0, N£NL«ê¤§é^-2Ú-3"
• ISMEAR = -5§L«æ^Blöchl?o¡N{"
• ISMEAR = -4§L«æ^o¡N{§´vkBlöchl?"
Al-fcc
5.430
0.0 0.5 0.5
17
0.5 0.0 0.5
0.5 0.5 0.0
2
Direct
0.0 0.0 0.0
0.25 0.25 0.25
ÙKPOINTS©µ
Automatic generation
0
Monhkorst-Pack
9 9 9
0.0 0.0 0.0
#!/bin/sh
rm WAVECAR
for i in 0.10 0.12 0.14 0.16 0.18 0.20 0.22 0.24 0.26 0.28 0.30
do
cat > INCAR <<!
SYSTEM = Al-fcc
ENCUT = 250
ISTART = 0 ; ICHARG = 2
ISMEAR = 0; SIGMA = $i
PREC = Accurate
!
echo "SIGMA = $i eV" ; time vasp
TS=‘grep "EENTRO" OUTCAR | tail -1 | awk ’{printf "%12.6f \n", $5 }’‘
echo $i $TS >>comment
done
O comment©§ÙSNµ
0.10 -0.003426
0.12 -0.004408
0.14 -0.005645
0.16 -0.007127
0.18 -0.008833
0.20 -0.010763
0.22 -0.012928
0.24 -0.015336
0.26 -0.017988
0.28 -0.020878
0.30 -0.023999
18
ÀJentropy T*S EENTRO¥@¤éASIGMA"d~f¥§KÀJSIGMA = 0.1"
ISMEAR = 1½2§±Uù~f5?1", §k:ê8Cz §dSIGMA ¬
2?1`z"
§5.8 RWIGS
Wigner Seitz»§^3O©Åݱ9zUéAżêUspdÚÝK"
RWIGS = 1.2 1.5 ,,UPOSCAR©¥zaf^SA/Ñ"¦+3VASPmanual¥
Ñ oKµNRWIGS§¿O §u3OUTCAR©¥§zafWigner
Seitz¥NÈÚAÑCNÈ"NX¥kõaf§éJN§Ï~Ò
POTCAR©¥±Åü RWIGS"
§5.9 k:ê8½k-mesh`z
±fcc(AlO~?1`²µ
INCAR±·O¹5"
SYSTEM = Al-fcc
ENCUT = 250
ISTART = 0 ; ICHARG = 2
ISMEAR = -5
PREC = Accurate
#!/bin/sh
rm WAVECAR
for i in 5 7 9 11 13 15
do
cat > KPOINTS <<!
Automatic generation
0
Monhkorst-Pack
$i $i $i
0.0 0.0 0.0
!
echo "k mesh = $i x $i x $i" ; time vasp
E=‘grep "TOTEN" OUTCAR | tail -1 | awk ’{printf "%12.6f \n", $5 }’‘
KP=‘grep "irreducible" OUTCAR | tail -1 | awk ’{printf "%5i \n", $2 }’‘
echo $i $KP $E >>comment
done
19
§6 áÄ5O{ÚÚ½
3Oc§²(æ^´Û«³¶²¡ÅäÄUõ¶k:õ¶æ^Gaussian-
,Fermi-smearing{½Methfessel-Paxton smearing{§SIGMAõ¶O¤À°ÝPREC¶
æÛ«'é¼ê"
, §3zÚO §Æ¬©£INCAR, KPOINTS, POSCAR, OUTCAR±9Ù¦
¤O5'©DOSCAR, EIGENVAL¤"'X·O gU>Ö
ݧ±ïá8¹scf§, rINCAR, KPOINTS, POSCAR, OUTCAR, CHGCAR, CHG
e5§ù±æ^e¡·-5¤µ
mkdir scf
tar czvf chg.tgz CHG*
cp INCAR KPOINTS POSCAR OUTCAR chg.tgz scf/.
J«µduCHGCAR©'§Ø ±~^m"^§rchg.tgz)Ø
Ò±^ "
'XOU(§±ïá8¹band§, rINCAR, KPOINTS, POSCAR, OUT-
CAR, EIGENVAL, syml©e5§ÏLe¡·-5¤µ
mkdir band
cp INCAR KPOINTS POSCAR OUTCAR EIGENVAL syml band/.
, ?\8¹bande¡^pbnd.x§S5?nEIGENVAL"
'XO>fݧ±ïá8¹dos§, rINCAR, KPOINTS, POSCAR, OUTCAR,
DOSCAR©e5§ÏLe¡·-5¤µ
mkdir dos
cp INCAR KPOINTS POSCAR OUTCAR DOSCAR dos/.
, ?\8¹dose¡^split dos§S5?n©DOSCAR"
§6.1 üfO
üfOkü8µ
• 1)!u³Ð
• 2)!é¡5» g^4z¹efÄUþ§é(ÜU?1?"
20
é1¤¹§3VASP³¥§duVASP´ûz^§ù ³Ñ´²Lu
L"¹e§äÄUENCUTv §±9Oüf¬~êv §
UþAT31meV*10meVm§Ò´VASPOüfUþf
ë|Uþ "3VASP¤OoUÑ´ Ofë|
Uþ§Ò´POTCAR¥EATOM"
±O1Al¹~µ
KPOINTSSNµ
Automatic
0
Gamma
1 1 1
0 0 0
POSCARSNµ
atom
15.00
1.00000 .00000 .00000
.00000 1.00000 .00000
.00000 .00000 1.00000
1
Direct
0 0 0
INCARSNµ
21
ISYM = 0 ! no symmetry
ISPIN = 2 ! allow for spin polarisation
VOSKOWN = 1 ! this is important, in particular for GGA
ISMEAR = 0 ! Gaussian smearing, otherwise negative occupancies
SIGMA = 0.1 ! intermid. smearing width
AMIX = 0.2 ! mixing set manually
BMIX = 0.0001
NELM = 20 ! 20 electronic steps
ICHARG = 1
§6.2.1 {ü¹
`zëê=¬~êa§ÙÚ½Xe£±Ofcc(Al¬~ê~?1`
²¤µ
SYSTEM = Al-fcc
ENCUT = 250
ISTART = 0; ICHARG = 2
ISMEAR = -5
PREC = Accurate
• OÐKPOINTS§POTCAR£USPP, LDA¤
Automatic generation
0
Monhkorst-Pack
9 9 9
0.0 0.0 0.0
22
#!/bin/sh
rm WAVECAR
for i in 3.80 3.85 3.90 3.95 4.00 4.05 4.10 4.15 4.20 4.25 4.30
do
cat > POSCAR <<!
Al-fcc
$i
0.0 0.5 0.5
0.5 0.0 0.5
0.5 0.5 0.0
1
Direct
0.0 0.0 0.0
!
echo / a = $i angstrom /; time vasp
E=‘grep /TOTEN0 OUTCAR | tail -1 | awk -{printf /%12.6f \n0, $5 }.‘
V=‘grep /volume0 OUTCAR | tail -1 | awk -{printf /%12.4f \n0 , $5}.‘
echo $V $E >>EtVo.dat
done
EtVo.dat©§ÙSNXeµ
13.7200 -4.094976
14.2700 -4.137590
14.8300 -4.163643
15.4100 -4.176403
16.0000 -4.176731
16.6100 -4.166067
17.2300 -4.145942
17.8700 -4.117937
18.5200 -4.083448
19.1900 -4.043300
19.8800 -3.998039
• æ^Birch-MurnaghanG§[ܬ~ê"
§6.2.2 E,¹
¹ü±þëê§'Xo½8¬X(a,c)§¬X(a,b,c)¶±9¹kf ëê
I`z§Ú½£±O8(Mg¬ëê~?1`²¤µ
• ±¢¬(ëêÄ:§ÐPOSCAR§k(½ÐENCUT§k-mesh§SIGMA
§2O¶INCAR.relax©§ÙSNXeµ
23
SYSTEM = Mg-hex
ENCUT = 250
ISTART = 0; ICHARG = 2
ISMEAR = 1; SIGMA = 0.2
NSW = 60; IBRION = 2
ISIF = 5
POTIM = 0.2
EDIFF = 1E-5; EDIFFG = -1E-3
PREC = Accurate
2O¶INCAR.static©§ÙSNXeµ
SYSTEM = Mg-hex
ENCUT = 250
ISTART = 0; ICHARG = 2
ISMEAR = -5
PREC = Accurate
Ù¥KPOINTSSNXeµ
Auto generation
0
Gamma
9 9 7
0.0 0.0 0.0
• k?1gNȱØClf¶þO£ÏLISIF5§dISIFU2§4½5¤
ISIFÀJâ¤`z(ëê5?1ÀJ§þÜ©éISIF`²"Ù¥
/UC/G0§Ò´N¥c/aÚb/a"
• 2r`zCONTCAR¤POSCAR§?1g·O
• éa10m:§z:Eþ¡üÚ§·OeVolume-Etot'X"ù
nÚ±ÏL$1 §Srun cell5?1§Ù¥run cellSNXeµ
#!/bin/sh
rm WAVECAR
for i in 2.81 2.91 3.01 3.11 3.21 3.31 3.41 3.51 3.61 3.71
do
cat > POSCAR <<!
Mg-hex
24
$i
0.0 -1.0 0.0
0.8660254037844 0.5 0.0
0.0 0.0 1.6230529595
2
Direct
0.6666666666666667 0.3333333333333333 0.750
0.3333333333333333 0.6666666666666667 0.250
!
cp INCAR.relax INCAR
echo "a = $i angstrom " ; time vasp
cp CONTCAR POSCAR
cp INCAR.static INCAR
echo "a = $i angstrom " ; time vasp
E=‘grep "TOTEN" OUTCAR | tail -1 | awk ’{printf "%12.6f \n", $5 }’‘
V=‘grep "volume" OUTCAR | tail -1 | awk ’{printf "%12.4f \n", $5 }’‘
echo $V $E >>EtVo.dat
done
• æ^G§[ܲïGeNȧN5þ
• 3TNÈe§Eþ¡12Ú13Ú§²ïGeÙ¦¬ëê"ùÚÒ´µ3
E(V) §ÏLG§[ܲïGeNȧOÑþ¡ ¥Cþ$i
§¿UC$i̧2$1run cellOg§Ù¦(ëêcÚ u."
§6.2.3 g.`z½Ü`z
, «{Ò´éNX(ëê?1g5.O£ù«{´^5O§
OÜn§´°ÝØp¤"ùÏLISIF5?1"´±O8(Mg~µ
OINCAR©µ
SYSTEM = Mg-hex
ENCUT = 250
ISTART = 0; ICHARG = 2
ISMEAR = 1; SIGMA = 0.2
NSW = 60; IBRION = 2
ISIF = 3
POTIM = 0.2
EDIFF = 1E-6; EDIFFG = -1E-3
PREC = Accurate
5ºµd±rEDIFFÚEDIFFG°ÝJp ±O(¬ëê"
KPOINTSc¡Ó"POSCARSNµ
25
Mg-hex
3.21
0.0 -1.0 0.0
0.8660254037844 0.5 0.0
0.0 0.0 1.6230529595
2
Direct
0.6666666666666667 0.3333333333333333 0.750
0.3333333333333333 0.6666666666666667 0.250
§6.3 (ÜU
VASPOoU®²~ 3±fë|OfUþ£Ò´E
³§oU§éAuPOTCAR©¥EATOM¤"O((ÜU§I~c¡
üfO¥12¤«¹O?"
§6.4 gU>ÖÝ
2`z ¬ëê §?1·OÒ±gU>Öݧ¿e5§
3 ¡OÙ¦5^¶, ±â§xÑ¡>ÖÝ㧩Ûfm Ü
^"Ú½£¿±Ofcc(Al~?1`²¤µ
• OÐINCAR§=½ÂENCUT§ISTART=0§ICHARG=2§ISMEAR=-5
SYSTEM = Al-fcc
ENCUT = 250
ISTART = 0; ICHARG = 2
ISMEAR = -5
PREC = Accurate
• OÐKPOINTSÚPOTCAR
Automatic generation
0
Monhkorst-Pack
9 9 9
0.0 0.0 0.0
£ù´KPOINTS©¥SN¤
26
• OÐPOSCAR©½±`z¬ëêÄ:§r`zCONTCAR¤POSCAR"
Al-fcc
3.975
0.0 0.5 0.5
0.5 0.0 0.5
0.5 0.5 0.0
1
Direct
0.0 0.0 0.0
• J$1µ^·-
• O¤ §CHGCARÚCHGµ^·-
Al-fcc_P1_charge / Al /
3.97500000000000
0.000000 0.500000 0.500000
0.500000 0.000000 0.500000
0.500000 0.500000 0.000000
1
Direct
0.000000 0.000000 0.000000
28 28 28
,,,,,,
27
§6.5 U(
OáU(=ÚÑE(k)§Ú½£¿±Ofcc(AlU(~?1
`²¤µ
• âAÏk:r§ÀAÏk:9AÏk:m©:ê§OÐ)k:Ñ\©
syml
6 !AÏk:ê
20 20 20 10 20 !AÏk:m©:ê
X 0.5 0.0 0.5 !AÏk:I,éuf¥þ
G 0.0 0.0 0.0
L 0.5 0.5 0.5
W 0.5 0.25 0.75
K 0.375 0.375 0.75
G 0.0 0.0 0.0 !e¡n1,cn´fÄ¥, n´fÄ¥
0.000000000 1.987500000 1.987500000 -0.251572327 0.251572327 0.251572327
1.987500000 0.000000000 1.987500000 0.251572327 -0.251572327 0.251572327
1.987500000 1.987500000 0.000000000 0.251572327 0.251572327 -0.251572327
-20.0 15.0 !3xU(§zAÏk:¤éAçUþ
7.068339 !¤U?
• ^§Sgk.x)k:§KPOINTS©"
5ºµ§Sgk.x´dgk.f©?È 8I©§ÙÑ\©syml§ÑÑ©KPOINTS,
inp.kpt"
• ;X|^c¡OgU>ÖÝggUO"
æ^·-)Ø>ÖÝ©chg.tgzµtar xzvf chg.tgz
, ISTART=1, ICHARG=11, ¿O\NBANDS§ISMEARæ^%@
SYSTEM = Al-fcc
ENCUT = 250
ISTART = 1; ICHARG = 11
#ISMEAR = -5
NBANDS = 12
PREC = Accurate
O ©EIGENVAL"
5¿µéu4.4X§3OU(NBANDSATOgU>
ÖÝNBADS"é4.5±þ§±Ø"
28
• lgU>ÖÝOOUTCAR©¥éf¥þÚ¤U?§¿Êbsyml©
¥§, ^§Spbnd.xrEIGENVAL=¤bnd.dat£§¿±¤U?ë"
:¤Úhighk.dat£^5x礧, ^^originxã"
5ºµ§Spbnf.x´ÏL?Èpbnd.f1©§ÙÑ\©EIGENVALÚ
syml§ÑÑ©BANDS!bnd.datÚhighk.dat"pbnd.f±?ng^4z¹eO
EIGENVAL§Ø2ÑÑbnd.dat ´upbnd.datÚdnbnd.datùü©§©OéAg^
þÚeU"
J«µ3OU(§æ^ISMEAR = 0½1é(JK~§±@´
"´ØUæ^ISMEAR = -5 ½-4"
§6.6 >fÝ
Oá>fݱ)oÝÚ©Åݧڽ£±Ofcc(Al
Ý~f?1`²¤µ
• OÐKPOINTS©§O\k:
Automatic generation
0
Mohkorst-Pack
19 19 19
0.0 0.0 0.0
• lPOTCAR©¥éafRWIGS£vi?6POTCAR§¿^·-g/ RWIGS¤
SYSTEM = Al-fcc
ENCUT = 250
ISTART = 1; ICHARG = 11
ISMEAR = -5
RWIGS = 1.402
PREC = Accurate
• |^c¡OgU>Öݧ?1ggUO
29
O §¹ ÝDOSCAR©§
• æ^split doséÝ©DOSCAR?1©§oÝDOS0§f©Å
ÝDOS1§DOS2,,", 3$1split dos§SéDOSCAR©©§yc8
¹ekéAOUTCARÚPOSCAR©"
© DOS0§DOS1,©Uþ´±¤U?Uþë":"DOS01
êâ´Uþ§ü eV¶1êâ´oݧü State/eV.unit cell¶1nê
â´oÝÈ©§Ò´>fê§ü electrons"DOS1´1f©ÅÝ
§Ù¥1êâ´Uþ§ü eV¶1!n!oêâ©OéAus!p!d©Å
ݧü State/eV.atom"Ù¦DOS©DOS1aq"
§6.7 á^55O
^5O§Ù¢^5O'§ÒI3INCAR¥\\ISPIN = 2±9
afЩ^ݧùÏLMAGMOM5"E,^55O§)noncollinear^
5!spin orbitalp^ÚSpin sprial^5§I2O\Ù¦' c"e¡Ìù´XÛ
?1{ü^5O"âMAGMOMØÓ5(½Oác^!c^±9æc^
5"±Ofcc(Nic^5~?1`²£3~f§æ^´PBE!PAW³¤µJ«µ
^5O§íæ^PAW³§(J¬O( "
Ù¬ëê!Ä5OÄ^5OÓ§I3INCAR©¥\\SPIN
= 2±9MAGMOM"
INCAR©SNµ
SYSTEM = Ni-FM
ISTART = 0; ICHARG = 2
ENCUT = 350 eV
ISMEAR = -5
GGA = PE; VOSKOWN = 1
ISPIN = 2
MAGMOM = 1
PREC = Accurate
30
Automatic generation
0
Monhkorst-Pack
9 9 9
0.0 0.0 0.0
£ù´KPOINTS©¥SN¤
Ni-FM
3.52
0.0 0.5 0.5
0.5 0.0 0.5
0.5 0.5 0.0
1
Direct
0.0 0.0 0.0
£ù´POSCAR©SN¤O§lOSZICAR 1±éNXo^Ý´0.567µB"
ù±lÏLgrep-magnetization-OUTCAR3OUTCAR©¥é£w/number of elec-
tron ,magnetization ,0ù1ê⤧ù´ézf3Wigner Seitz»S^Ý(ù
¬ÑuOSZICAR¥Ño^Ý)"
3 ¡OU(Ú>fݧ©O¬g^þÚg^eüÜ©"
§6.8 L¡NXO
3L¡5O§y3Ñ´æ^slab£/¬ 0½/ ¡0¤.5[L¡N
X"ÏdL¡NXO±©oÚ½µ1!áN5O¶2!slab.
E¶3!L¡NX(`z¶4!L¡NX5O"
§6.8.1 áN5O
ùÚ¹ c¡áÄ5O"Ì´ (½ ¡3?1L¡O¤I
ëêµENCUT§æ^ISMEAR = 1½0SIGMA§±9Ná¬ëê£Ï
Eslab.´±Ná¬ëêÄ:5?1¤"XÛ(½ù ë꧱ëc
¡¤0 {ÚÚ½"Ù¥SIGMA`z´7L§Ï ¡éL¡NX(?1`z
§smearing{Ñ´æ^Gaussian{½Methfessel-Paxton smearing{"
§6.8.2 slab.E
31
§6.8.3 L¡NX(`z
3éL¡NX(?1`zc§Iék:ê8½k mesh?1`z§ù`z
±ëc¡0 "3éL¡NX(?1`z§Ì´éf ?1`z§
Ø2é£Slab.¤?1`z§æ^´Selective Dynamic£Ò´k
ÀJ5 ¶þ¤"ù´3POSCAR?1§, 3INCAR©A\\lf¶þ
' c"e¡±`zAl(100)-p(1x1)~?1`²µ
INCAR©SNµ
SYSTEM = Al(100)-p(1x1)
ENCUT = 200
ISMEAR = 1; SIGMA = 0.20
ISTART = 0; ICHARG = 2
EDIFF = 1E-5; EDIFFG = -1.0E-3
NSW = 60; IBRION = 2
POTIM = 0.1
PREC= Accurate
KPOINTS©SNµ
auto
0
Monkhorst-Pack
1 11 11
0.0 0.0 0.0
POSCAR©SNµ
Al(100)-p(1x1)
1.00000
0.0000000000 2.0247500000 -2.0247500000
0.0000000000 2.0247500000 2.0247500000
22.1485000000 0.0000000000 0.0000000000
7
Selective dynamics
Direct
0.0000000000 0.0000000000 0.0000000000 F F T
0.0000000000 0.0000000000 0.1828340520 F F F
0.0000000000 0.0000000000 0.3656681039 F F F
0.0000000000 0.0000000000 0.5485021559 F F T
0.5000000000 0.5000000000 0.0914170260 F F T
0.5000000000 0.5000000000 0.2742510780 F F F
0.5000000000 0.5000000000 0.4570851299 F F T
32
Ù¥éf þeü f?1¶þ§¥mn f ½"3INCAR©¥EDIFF§EDIFFG§NSW
f ¶þÚê"f¤ÉåuEDIFFG§f ÒÊ£Ä"CONTCAR©
§Ò´¶þ "fÉ幧±3OUTCAR©¥éTOTAL-FORCE5
w"
§6.8.4 L¡NX5O
3 `z(§Ò±?1X5O§ÙÚ½c¡Ná5O
"
J«µÃØ´éNá´L¡NX(`z§3(`z §I?1?1·
O§±gU>Öݧ2?1 ¡5O"(`z>ÖÝ©Ø
^3 ¡5O¥"
§7 tools¥§S`²
dÜ©´étools¥ §S?1`²µ
§7.1 murn.f
ù§S´æ^MurnG§5[ܬ~êÚON5þ"linternetþÂ8
"?ȵ
1©murn.x"
¦^µ
ÙÑ\©inp.m§inp.mSN±9ªµ
2
0.25
6.00 7.45 50
8
6.0849 -.62120891E+01
6.2739 -.64553428E+01
6.4629 -.65246916E+01
6.6518 -.64694519E+01
6.8408 -.63284020E+01
7.0298 -.61271095E+01
7.2188 -.58843994E+01
7.4077 -.56183090E+01
-----------------------------------------
11L«e¡Ñ\Uþü ´æ^eV!Ry½Hartree"æ^´Ry§K1¶XJ
´eV§K^2¶XJ´Hartree§K^3"
33
11±w¤´NȬNÈ'"ùp¬NÈOúªµ¬~ê
ng§NÈOúªUNÔnÖ¥{5O"'X¤ONX´fcc§
√
K0.25¶XJ´bcc§K0.5¶XJ´8 23 ∗ ac "Ù¦gCí "
1n1´^5[ܬ~ê¬~꧱9:ê"1ê´¬~ê
§1ê´¬~ê§1n´[Üõ:§ùê30*50"
1o1´¤O õ¬~êUþ^5[Ü"
l1Ê1姴O¬~êUþéA§1´¬~ê¶1´
Uþ§§ü c¡11(½ü "¬~ê¨Uþéê1o
1ê"
©OÐ §¦^{µ
¦^murn.x[Ü [Ü3©fout.dat¥§[ܹ9(Jout.m©
¥"^vi?6out.m§, ^·-g/alat=5é[ܬ~ê£ü a.u.¤ÚN5
þ£ü Mbar¤"
§7.2 gk.fÚpbnd.f
gk.f´^5)OU(¤Ik:§ÙÑ\©syml§3Ãþ¥k[0
z1¿g§ùpÒØ2Kã"ÑÑ©KPOINTSÚinp.kpt"`²e§3syml¥AÏk:
oêØUL10"XÑ10§K±rgk.f¥k'½ÂAÏk:ê|êN"
?ȵ
pbnd.f´^5r©EIGENVAL=±^origin^5xãêâ"ÙÑ\©
symlÚEIGENVAL"ÑÑ©bnds.dat(½upbnd.datÚdnbnd.dat)Úhighk.dat"`²
e§pbnd.fUÑUê§%@´100§XJL 100§±3pbnd.f¥N½Â
"
?ȵ
34
§7.3 split dosÚvp
ë©z
35