Sei sulla pagina 1di 36

1

SIESTA
Spanish Initiative for Electronic
Simulations with Thousands of Atoms

The SIESTA code is freely available for the academic community.

(http://www.uam.es/siesta)

2
We are going to do our calculation on
an infinite structure

simulation

3
Structure simulation

Smallest piece of a infinite structure


+
repeat

=
infinite structure
4
simulation
We need to figure
1- a cell which repeat in space and make the infinite structure
2- how many atoms are in this cell
3- three vectors which this cell will repeat with them in space

5
6
What do we need?
Access to the executable file: siesta
An input file
Flexible Data Format (FDF) (A. Garca & J.M.
Soler).

A psedopotential file for each kind of


element in the input file.
Unformatted binary (vps)
Formatted ASCII (.psf): more transportable
and readable
7
Siesta package: (under
license)
Src: Sources of the Siesta code
Docs: Documentation and user
conditions
Users Guide (siesta.tex)
Pseudo: ATOM program to generate
and test pseudopotentials
Examples: fdf and pseudopotentials
input files for simple systems
Utils: Programs or scripts to analyze 8
FDF

9
FDF characteristics(I)

Data can be given in any order

Data can be omitted in favour of default


values.

Text following # are comments

10
FDF characteristics (II)
Syntax: data label followed by its value
Character string: SystemLabel h2o
Integer: NumberOfAtoms 3
Real: PAO.SplitNorm 0.15
Logical: SpinPolarized .false.
Physical magnitudes LatticeConstant 5.43 Ang

Physical magnitudes: followed by their units.


Many units are valid for the same magnitude (m, cm,
nm, Ang, Bohr).

Character strings, NOT in apostrophes


11
FDF characteristics (III)
Logical values: T / .true. / true / yes
F / .false. / false / no

Complex data structures: blocks


%block label

%endblock label

12
General System description
SystemName: descriptive name of the system
SystemName C surface, .
SystemLabel: nickname to label output files
SystemLabel graphene
After a succesful run, you should have files like
graphene.XV : Final positions and velocities
graphene.EIG : Eigen-energies
...
13
Geometrical and structural
variables
NumberOfAtoms: number of atoms in the
simulation
NumberOfAtoms 2

NumberOfSpecies: number of different


NumberOfSpecies 1
atomic species

ChemicalSpeciesLabel: specify the


different chemical species. ALL THESE
%block ChemicalSpeciesLabel
1 6 C VARIABLES ARE
%endblock ChemicalSpeciesLabel MANDATORY!!14
Lattice Vectors
LatticeConstant: length to define the scale of the lattice
vectors LatticeConstant 2.47 Ang
LatticeParameters: Crystallograhic way
%block LatticeParameters
1.0 1.0 1.0 60.0 60.0 90.0
%endblock LatticeParameters

LatticeVectors: read as a matrix, each vector being a


line
%block LatticeVectors
0.866 0.5 0.0
-0.866 0.5 0.0
0.0 0.0 10
15
%endblock LatticeVectors
XC-functional DFT

XC.Functional LDA GGA

CA PW92 PBE
XC.authors
PZ CA Ceperley-Alder
PZ Perdew-Zunger
PW92 Perdew-Wang-92
PBE Perdew-Burke-
Ernzerhof 16
K-point sampling
Spetial set of k-points: Accurate results for a
small # k-points:
Baldereschi, Chadi-Cohen, Monkhorst-Pack
kgrid_cutoff:

Kgrid_cutoff 10.0 Ang


kgrid_Monkhorst_Pack:
%block kgrid_Monkhorst_Pack
40 0 0 0.5
0 40 0 0.5
0 0 40 0.5
17
%endblock kgrid_Monkhorst_Pack
18
Analyzing the electronic
structure (I)
Band structure along the high symetry lines
of the BZ
BandLineScale: scale of the k vectors in
BandLines
BandLinesScale pi/a

BandLines: lines along with band energies are


calculated. %block BandLines
1 0.577 1.000 0.000 M
20 0.000 0.000 0.000 \Gamma
25 0.000 2.309 0.000 K
30 0.577 1.000 0.000 M
19
%endblock BandLines
Analyzing the electronic structure
(II)
Density Of States: total and projected on the
atomic orbitals

ProjectedDensityOfStates:

%block ProjectedDensityOfStates
-20.00 10.00 0.200 500 eV
%endblock ProjectedDensityOfStates
Lower energy Higher energy width # points 20
Run Siesta

esta < systemname.fdf | tee outputname.out

esta < systemname.fdf > outputname.out

21
Output files

Self-
consistenc
y

22
Output files

Total energy

23
Symbolname.XV

xv2xsf

24
Symbolname.EIG
Fermi level add: eta, ne, emin, ema
Number of bands Spin components number of k-points
K-point, e1, e2, , en

25
eig2dos < silicon.EIG | tee dos.out

eig2dos < silicon.EIG > dos.out

xmgrace dos.out

26
Symbolname. DOS

27
symbolname.PDOS

28
Symbolname.bands
Fermi level
Kmin Kmax
Emin Emax
Number of bands number of spin (1 or 2) number of kpoints

29
gnuband < graphene.bands | tee band.out

gnuband < graphene.bands > band.out

Xmgrace band.out
30
Band structure

31
Lattice constant optimization

Edit the fdf, changing lattice constant in


a small range around the number which is
experimental.
Run SIESTA.
Write down the total energies after any
run.
Plot the Energy vs. Lattic constant , to
see the
convergence 32
optimization

33
MeshCutoff optimization

Edit the fdf, changing MeshCutoff in a rang


that you want.
Run SIESTA.
Write down the total energies after any run.

Plot the Energy vs. MeshCutoff, to see the


convergence

34
Meshcutoff optimization

35
Thanks
36

Potrebbero piacerti anche