Fcc Ni DOS: Difference between revisions

From VASP Wiki
No edit summary
No edit summary
Line 1: Line 1:
{{Template:Bulk_systems}}
*{{TAG|INCAR}}
*{{TAG|INCAR}}



Revision as of 15:09, 2 May 2017

 SYSTEM = fcc Ni
 ISTART = 0 ; ICHARG = 2
 ENCUT  = 270
 ISMEAR = -5 
 LORBIT = 11
    
 ISPIN  = 2
 MAGMOM = 1
k-points
 0
Monkhorst Pack
 11 11 11
 0  0  0
fcc:
 3.53 
 0.5 0.5 0.0
 0.0 0.5 0.5
 0.5 0.0 0.5
   1
cartesian
0 0 0
  • The bash-script plotdos invokes awk and gnuplot to get the DOS from the vasprun.xml file and plot it.
awk 'BEGIN{i=1} /dos>/,\
                /\/dos>/ \
                 {a[i]=$2 ; b[i]=$3 ; i=i+1} \
     END{for (j=12;j<i-5;j++) print a[j],b[j]}' vasprun.xml > dos.dat

ef=`awk '/efermi/ {print $3}' vasprun.xml`

cat >plotfile<<!
# set term postscript enhanced eps colour lw 2 "Helvetica" 20
# set output "optics.eps"
plot "dos.dat" using (\$1-$ef):(\$2) w lp
!

gnuplot -persist plotfile

rm dos.dat plotfile

Download

2_8_fccNi_dos.tgz


To the list of examples or to the main page