Difference between revisions of "Solution LAB2 guanine 4"

From Wiki Max
Jump to navigation Jump to search
Line 28: Line 28:
 
Here is a sketch of the guanine HOMO isosurface:
 
Here is a sketch of the guanine HOMO isosurface:
 
[[File:Guanine HOMO.png|none|300px|top|]]
 
[[File:Guanine HOMO.png|none|300px|top|]]
 +
 +
* Total and projected density of states are calculated using <code>projwfc.x</code>. An example of input file is:
 +
&PROJWFC
 +
  prefix='guanine_DFT'
 +
  outdir="./SCRATCH"
 +
  ngauss=0
 +
  degauss=0.01
 +
/
 +
 +
by running as
 +
projwfc.x < pdos.in > pdos.out
 +
 +
it produces a file containing the total density of states (guanine_DFT.pdos_tot) and a series of files containing the density of states projected on each atom and each atomic orbital e.g.
 +
guanine_DFT.pdos_atm#1(C)_wfc#1(s)  contains the dos projected on the s orbital of the first Carbon atom
 +
guanine.pdos_atm#8(N)_wfc#2(p) contains the dos projected on the p orbitals of the eighth Nitrogen atom

Revision as of 10:04, 1 April 2021

An example of input file for pp.x to plot the HOMO of guanine (pp_HOMO.in) follows:

&INPUTPP
   prefix="guanine_DFT"
   outdir="./SCRATCH"
   plot_num=7
   filplot = "wfc_HOMO.pp"
   kband=28
   kpoint=1
   lsign=.true.
/
&PLOT
   nfile=1
   filepp(1)="wfc_HOMO.pp"
   iflag=3
   output_format=5
   fileout="wfc_HOMO.xsf"
/

by running as

 pp.x < pp_HOMO.in > pp_HOMO.out

should produce as output the file wfc_HOMO.xsf that can be plotted using xcrysden.

Here is a sketch of the guanine HOMO isosurface:

Guanine HOMO.png
  • Total and projected density of states are calculated using projwfc.x. An example of input file is:
&PROJWFC
 prefix='guanine_DFT'
 outdir="./SCRATCH"
 ngauss=0
 degauss=0.01
/

by running as

projwfc.x < pdos.in > pdos.out 

it produces a file containing the total density of states (guanine_DFT.pdos_tot) and a series of files containing the density of states projected on each atom and each atomic orbital e.g. guanine_DFT.pdos_atm#1(C)_wfc#1(s) contains the dos projected on the s orbital of the first Carbon atom guanine.pdos_atm#8(N)_wfc#2(p) contains the dos projected on the p orbitals of the eighth Nitrogen atom