|
本帖最后由 去离子水 于 2015-10-27 19:15 编辑
对一系列固定体积的结构进行弛豫,然后根据birch-murnaghan拟合E-V曲线,得到基态的平衡体积V0。知道平衡体积之后何获得a和c的值呢?用到的脚本如下,采用PBE泛函。
INCAR.relax
- ENCUT = 520 eV # energy cut-off for the calculation
- PREC = High
- LREAL = .FALSE # real space projection .FALSE. or Auto
- NSW = 999
- IBRION = 2 # CG algorithm
- ISIF = 4 # forces and stress are optimized
复制代码 INCAR.static
- PREC = High
- ISTART = 0
- ICHARG = 2
- ISMEAR = -5
- ENCUT = 520 eV
复制代码 KPOINTS
- Automatic mesh
- 0
- Gamma
- 5 5 5
- 0 0 0
复制代码 vasp.pbs
- #!/bin/bash
- #$ -S /bin/bash
- #$ -cwd
- #$ -j y
- #$ -N test_opt
- #$ -pe make 12
- source /share/apps/intel/Compiler/11.1/073/bin/iccvars.sh intel64
- source /share/apps/intel/Compiler/11.1/073/bin/ifortvars.sh intel64
- source /share/apps/intel/impi/3.2.0.011/bin64/mpivars.sh
- for a in 3.74 3.75 3.76 3.78 3.79 3.80 3.81 3.82 3.83 3.84
- do
- cat > POSCAR <<!
- Anatase
- 1.0
- $a 0.0000000000 0.0000000000
- 0.0000000000 $a 0.0000000000
- 0.0000000000 0.0000000000 9.737
- Ti O
- 4 8
- Direct
- 0.000000000 0.000000000 0.000000000
- 0.500000000 0.500000000 0.500000000
- 0.000000000 0.500000000 0.250000000
- 0.500000000 0.000000000 0.750000000
- 0.000000000 0.000000000 0.208059996
- 0.500000000 0.500000000 0.708060026
- 0.000000000 0.500000000 0.458059996
- 0.500000000 0.000000000 0.958060026
- 0.500000000 0.000000000 0.541939974
- 0.000000000 0.500000000 0.041940004
- 0.500000000 0.500000000 0.291940004
- 0.000000000 0.000000000 0.791939974
- !
- cp INCAR.relax INCAR
- echo "a = $a"; mpirun -r ssh -np 12 ~/bin/vasp5.3.3
- cp CONTCAR POSCAR
- cp INCAR.static INCAR
- echo "a = $a"; mpirun -r ssh -np 12 ~/bin/vasp5.3.3
- 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 $a $V $E >> SUMMARY.dat
- done
复制代码
得到的结果
SUMMARY.dat
- 3.74 136.2000 -105.833996
- 3.75 136.9300 -105.865334
- 3.76 137.6600 -105.892136
- 3.78 139.1300 -105.928546
- 3.79 139.8600 -105.944722
- 3.80 140.6000 -105.955402
- 3.81 141.3400 -105.960574
- 3.82 142.0900 -105.960563
- 3.83 142.8300 -105.954437
- 3.84 143.5800 -105.949877
复制代码
根据birch-murnaghan状态方程拟合的曲线
V0=141.863A^3
1. Select one volume and relax from starting structure keeping the volume fixed (ISIF=4 see sec. 6.24; ISMEAR=0 or 1, see section 6.38).
2. Start a second relaxation from previous CONTCAR file (if the initial cell shape was reasonable this step can be skipped, if the cell shape is kept fixed, you never have run VASP twice).
3. As a final step perform one more energy calculation with the tetrahedron method switched on (ISMEAR=-5), to get very accurate unambiguous energies (no relaxation for the final run).
计算流程参考:http://cms.mpi.univie.ac.at/vasp/vasp/Accurate_bulk_relaxations_with_internal_parameters_two.html
脚本文件参考:http://cms.mpi.univie.ac.at/vasp/vasp/Bulk_calculations_with_internal_parameters.html & 侯老师VASP入门教程
得到平衡体积V0=141.863A^3,在POSCAR里面如果第二行为负,则代表体积,所以我又这样试了一下:
INCAR
- ENCUT = 520 eV # energy cut-off for the calculation
- PREC = High
- LREAL = .FALSE # real space projection .FALSE. or Auto
- NSW = 999
- IBRION = 2 # CG algorithm
- ISIF = 4 # forces and stress are optimized
复制代码
POSCAR
- Anatase
- -141.863
- 3.7844998837 0.0000000000 0.0000000000
- 0.0000000000 3.7844998837 0.0000000000
- 0.0000000000 0.0000000000 9.5143003464
- Ti O
- 4 8
- Direct
- 0.000000000 0.000000000 0.000000000
- 0.500000000 0.500000000 0.500000000
- 0.000000000 0.500000000 0.250000000
- 0.500000000 0.000000000 0.750000000
- 0.000000000 0.000000000 0.208059996
- 0.500000000 0.500000000 0.708060026
- 0.000000000 0.500000000 0.458059996
- 0.500000000 0.000000000 0.958060026
- 0.500000000 0.000000000 0.541939974
- 0.000000000 0.500000000 0.041940004
- 0.500000000 0.500000000 0.291940004
- 0.000000000 0.000000000 0.791939974
复制代码
KPOINTS
- Automatic mesh
- 0
- Gamma
- 5 5 5
- 0 0 0
复制代码
vasp.pbs
- #!/bin/bash
- #$ -S /bin/bash
- #$ -cwd
- #$ -j y
- #$ -N isif4
- #$ -pe make 12
- source /share/apps/intel/Compiler/11.1/073/bin/iccvars.sh intel64
- source /share/apps/intel/Compiler/11.1/073/bin/ifortvars.sh intel64
- source /share/apps/intel/impi/3.2.0.011/bin64/mpivars.sh
- mpirun -r ssh -np 12 ~/bin/vasp5.3.3
复制代码 最后得到的CONTCAR
- Anatase
- 1.01350313575973
- 3.7709606715685475 0.0000000000000000 0.0000000000000000
- 0.0000000000000000 3.7709606715685475 0.0000000000000000
- 0.0000000000000000 0.0000000000000000 9.5827430546962322
- Ti O
- 4 8
- Direct
- 0.0000000000000000 0.0000000000000000 0.0000000000000000
- 0.5000000000000000 0.5000000000000000 0.5000000000000000
- 0.0000000000000000 0.5000000000000000 0.2500000000000000
- 0.5000000000000000 0.0000000000000000 0.7500000000000000
- 0.0000000000000000 0.0000000000000000 0.2066888233929389
- 0.5000000000000000 0.5000000000000000 0.7066888533929343
- 0.0000000000000000 0.5000000000000000 0.4566888233929389
- 0.5000000000000000 0.0000000000000000 0.9566888533929343
- 0.5000000000000000 0.0000000000000000 0.5433111466070657
- 0.0000000000000000 0.5000000000000000 0.0433111766070611
- 0.5000000000000000 0.5000000000000000 0.2933111766070611
- 0.0000000000000000 0.0000000000000000 0.7933111466070657
-
- 0.00000000E+00 0.00000000E+00 0.00000000E+00
- 0.00000000E+00 0.00000000E+00 0.00000000E+00
- 0.00000000E+00 0.00000000E+00 0.00000000E+00
- 0.00000000E+00 0.00000000E+00 0.00000000E+00
- 0.00000000E+00 0.00000000E+00 0.00000000E+00
- 0.00000000E+00 0.00000000E+00 0.00000000E+00
- 0.00000000E+00 0.00000000E+00 0.00000000E+00
- 0.00000000E+00 0.00000000E+00 0.00000000E+00
- 0.00000000E+00 0.00000000E+00 0.00000000E+00
- 0.00000000E+00 0.00000000E+00 0.00000000E+00
- 0.00000000E+00 0.00000000E+00 0.00000000E+00
- 0.00000000E+00 0.00000000E+00 0.00000000E+00
复制代码 体积是能对上的:V0=141.863=1.01350313575973^3 * 3.7709606715685475 * 3.7709606715685475 * 9.5827430546962322
所以最后a=1.013*3.771=3.820, c=1.013*9.583=9.707
文献计算值a=3.786, c=9.737(Phys. Rev. B 2001, 63 (15), 155409.)
实验值a=3.782, c=9.502(J. Am. Chem. Soc. 1987, 109 (12), 3639–3646.)
这样对吗?
补充:侯老师VASP入门教程里得到平衡体积之和,不知如何得到循环变量$i的值??
|
|