µÚÒ»²½£ºscf¼ÆËã
±à¼ run-ni.scfÄÚÈÝÈçÏ£ºCODE: &CONTROL
calculation = 'scf' ,
restart_mode = 'from_scratch' ,
outdir = './' ,
pseudo_dir = './' ,
prefix = 'ni' ,
/
&SYSTEM
ibrav = 2,
celldm(1) = 6.48,
nat = 1,
ntyp = 1,
ecutwfc = 24.0 ,
ecutrho = 288.0 ,
occupations = 'smearing' ,
degauss = 0.02 ,
smearing = 'methfessel-paxton' ,
nspin = 2 ,
starting_magnetization(1) = 0.7,
exxdiv_treatment = 'gygi-baldereschi' ,
/
&ELECTRONS
conv_thr = 1.0e-8 ,
mixing_beta = 0.7 ,
/
ATOMIC_SPECIES
Ni 58.69000 NiUS.RRKJ3.UPF
ATOMIC_POSITIONS
Ni 0.000000000 0.000000000 0.000000000
K_POINTS automatic
12 12 12 0 0 0
ÔËÐÐÃüÁ pw.x <run-ni.scf >run-ni.scf.out
µÚ¶þ²½:nscf¼ÆË㣨ΪʲôÐèÒªÕâÒ»²½£¿£©
±à¼run-ni.nscfÄÚÈÝÈçÏ£ºCODE: &CONTROL
calculation = 'nscf' ,
restart_mode = 'from_scratch' ,
outdir = './' ,
pseudo_dir = './' ,
prefix = 'ni' ,
/
&SYSTEM
ibrav = 2,
celldm(1) = 6.48,
nat = 1,
ntyp = 1,
ecutwfc = 24.0 ,
ecutrho = 288.0 ,
nbnd = 8,
occupations = 'smearing' ,
degauss = 0.02 ,
smearing = 'methfessel-paxton' ,
nspin = 2 ,
starting_magnetization(1) = 0.7,
exxdiv_treatment = 'gygi-baldereschi' ,
/
&ELECTRONS
conv_thr = 1.0e-8 ,
mixing_beta = 0.7 ,
/
ATOMIC_SPECIES
Ni 58.69000 NiUS.RRKJ3.UPF
ATOMIC_POSITIONS
Ni 0.000000000 0.000000000 0.000000000
K_POINTS automatic
12 12 12 0 0 0
ÔËÐÐÃüÁpw.x <run-ni.nscf >run-ni.nscf.out
µÚÈý²½£º¼ÆËãdos
±à¼run-ni.dosÄÚÈÝÈçÏ£ºCODE: &dos
outdir='./'
prefix='ni'
fildos='ni.dos'
Emin=5.0, Emax=25.0, DeltaE=0.1
/
ÔËÐÐÃüÁdos.x <run-ni.dos>run-ni.dos.out
µÚËIJ½£º»Í¼
Ç°ÃæÒ»²½ÒѾ¼ÆËã³öÀ´ÁËDOS£¬ÕâÒ»²½Ö»ÐèÒª°Ñͼ»³öÀ´¾ÍÐÐÁË£¬DOSµÄÊý¾Ý±£´æÔÚni.dosÖС£
gnuplot
> p 'ni.dos' u 1:2 w l lw 3 tit 'spin up'
>p 'ni.dos' u 1:3 w l lw 3 'spin down'
¼´¿ÉµÃµ½ÏÂͼ¡£
1.jpg
²»ÖªµÀÔõôµÃµ½·ÑÃ×Äܼ¶µÄÖµ£¿»¹ÓоÍÊÇ£¬´ó¼ÒÓÐûÓа취ÓÃgnuplot»³öÈçϵÄͼ£¿
2.jpg
[ Last edited by HSE06 on 2013-6-6 at 22:31 ]