Introduction to run Siesta Javier Junquera Université de Liège.

Slides:



Advertisements
Similar presentations
Javier Junquera Exercises on basis set generation Convergence of the basis set with size.
Advertisements

Javier Junquera Exercises on basis set generation Control of the range of the second-ς orbital: the split norm.
Javier Junquera Exercises on basis set generation 1. The default basis set.
Javier Junquera Exercises on basis set generation Control of the range: the energy shift.
Take-home postcard. Basis set: Atomic orbitals s p d f SIESTA: Strictly localized (zero beyond cut-off radius)
The H 2 molecule without convergence studies Objectives: - the (pseudo)total energy - the bond length r HH Acknowledgment: exercise inspired on the first.
Modelling of Defects DFT and complementary methods
Quantum Theory of Solids
Pseudopotentials and Basis Sets
DFT – Practice Simple Molecules & Solids [based on Chapters 5 & 2, Sholl & Steckel] Input files Supercells Molecules Solids.
BDT between Au leads Víctor García Suárez. Outline 1) Experiment 2) Previous calculations 3) Electronic and transport properties 4) Other experiments.
DFT Calculations Shaun Swanson.
Convergence with respect the number of k-points: bulk BaTiO 3 Objectives - study the convergence of the different phases of bulk BaTiO 3 with respect the.
Transport Calculations with TranSIESTA
Computing lattice constant, bulk modulus and equilibrium energies of solids Bulk Si Diamond structure.
How to optimize automatically the parameters that determine the quality of the basis Javier Junquera Alberto García.
PA4311 Quantum Theory of Solids Quantum Theory of Solids Mervyn Roy (S6) www2.le.ac.uk/departments/physics/people/mervynroy.
PHYS3004 Crystalline Solids
FUNDAMENTALS The quantum-mechanical many-electron problem and Density Functional Theory Emilio Artacho Department of Earth Sciences University of Cambridge.
Introduction to run Siesta
Javier Junquera Exercises on basis set generation Increasing the angular flexibility: polarization orbitals.
Philippe Ghosez Lattice dynamics Andrei Postnikov Javier Junquera.
Network for Computational Nanotechnology (NCN) Purdue, Norfolk State, Northwestern, MIT, Molecular Foundry, UC Berkeley, Univ. of Illinois, UTEP DFT Calculations.
Lectures Introduction to computational modelling and statistics1 Potential models2 Density Functional.
Мэдээллийн Технологийн Сургууль Монгол Улсын Их Сургууль Some features of creating GRID structure for simulation of nanotransistors Bolormaa Dalanbayar,
Computational Solid State Physics 計算物性学特論 第4回 4. Electronic structure of crystals.
Norm-conserving pseudopotentials and basis sets in electronic structure calculations Javier Junquera Universidad de Cantabria.
The Nuts and Bolts of First-Principles Simulation Durham, 6th-13th December : DFT Plane Wave Pseudopotential versus Other Approaches CASTEP Developers’
A primer on Smeagol Víctor García Suárez.
Introduction to input & output files
Javier Junquera Code structure: calculation of matrix elements of H and S. Direct diagonalization José M. Soler = N  N N  1.
The H 2 O molecule: converging the size of the simulation box Objectives - study the convergence of the properties with the size of the unit cell.
1st Summer School in Theoretical and Computational Chemistry of Catalonia July 25-29, 2007 Directors: Feliu Maseras and Pere Alemany.
Basic introduction to running Siesta Eduardo Anglada Siesta foundation-UAM-Nanotec
Université de Liège Numerical Atomic Orbitals: An efficient basis for Order-N ab-initio simulations Javier Junquera.
How to run SIESTA Víctor García Suárez (thanks to J. Junquera and J. Ferrer)
Stefano Sanvito Computational Spintronics Group Physics Department, Trinity College Dublin CCTN’05, Göteborg 2005.
- Compute and analyze the band structure of an ionic solid
The eggbox effect: converging the mesh cutoff Objectives - study the convergence of the energy and the forces with respect to the real space grid.
Comp. Mat. Science School 2001 Lecture 21 Density Functional Theory for Electrons in Materials Richard M. Martin Bands in GaAs Prediction of Phase Diagram.
Linear scaling fundamentals and algorithms José M. Soler Universidad Autónoma de Madrid.
TBPW: A Modular Framework for Pedagogical Electronic Structure Codes Todd D. Beaudet, Dyutiman Das, Nichols A. Romero, William D. Mattson, Jeongnim Kim.
Density Functional Theory Richard M. Martin University of Illinois
Optimization of Numerical Atomic Orbitals
Physics “Advanced Electronic Structure” Lecture 1. Theoretical Background Contents: 1. Historical Overview. 2. Basic Equations for Interacting Electrons.
How to generate a mixed pseudopotential Objectives Generate a mixed pseudopotential to be used in the Virtual Crystal Approximation or in simulations at.
Simulations of a ferroelectric slab under constrained electric displacement vacuum BaTiO3 vacuum Ba(O(1-x)Nx) Ba(O(1-x)Fx) Javier Junquera.
Linear scaling solvers based on Wannier-like functions P. Ordejón Institut de Ciència de Materials de Barcelona (CSIC)
Dankook Univ. Depart of Physics Solid State Physics Lab. Choi hye jin
Stefano Sanvito Physics Department, Trinity College, Dublin 2, Ireland TFDOM-3 Dublin, 11th July 2002.
Solid State Computing Peter Ballo. Models Classical: Quantum mechanical: H  = E  Semi-empirical methods Ab-initio methods.
Introduction to the SIESTA method SUMMER SCHOOL ON COMPUTATIONAL MATERIALS SCIENCE University of Illinois at Urbana-Champaign, June 13-23, 2005 Some technicalities.
Born effective charge tensor
Javier Junquera How to compute the projected density of states (PDOS)
Plotting the charge density of bulk Si
Start. Technische Universität Dresden Physikalische Chemie Gotthard Seifert Tight-binding Density Functional Theory DFTB an approximate Kohn-Sham DFT.
Phonon dispersion calculation
© copyright 2011 William A. Goddard III, all rights reservedCh121a-Goddard-L14 Periodic Boundary Methods and Applications: Ab-initio Quantum Mechanics.
How to prepare the interface between siesta and wannier90
Comp. Mat. Science School Electrons in Materials Density Functional Theory Richard M. Martin Electron density in La 2 CuO 4 - difference from sum.
Computing lattice constant, bulk modulus and equilibrium energies of bulk cubic SrTiO 3 Bulk SrTiO 3 Cubic structure.
How to plot fat bands with siesta
Integrated Computational Materials Engineering Education Calculation of Equation of State Using Density Functional Theory Mark Asta1, Katsuyo Thornton2,
Band structure of a cubic perovskite oxide:
Integrated Computational Materials Engineering Education Calculation of Equation of State Using Density Functional Theory Mark Asta1, Katsuyo Thornton2,
Prof. Sanjay. V. Khare Department of Physics and Astronomy,
The Nuts and Bolts of First-Principles Simulation
Integrated Computational Materials Engineering Education Calculation of Equation of State Using Density Functional Theory Mark Asta1, Katsuyo Thornton2,
How to test a norm-conserving pseudopotential
Integrated Computational Materials Engineering Education Calculation of Equation of State Using Density Functional Theory Mark Asta1, Katsuyo Thornton2,
Presentation transcript:

Introduction to run Siesta Javier Junquera Université de Liège

Our method Linear-scaling DFT based on NAOs (Numerical Atomic Orbitals) P. Ordejon, E. Artacho & J. M. Soler, Phys. Rev. B 53, R10441 (1996) J. M.Soler et al, J. Phys.: Condens. Matter 14, 2745 (2002) Born-Oppenheimer (relaxations, mol.dynamics) DFT (LDA, GGA) Pseudopotentials (norm conserving,factorised) Numerical atomic orbitals as basis (finite range) Numerical evaluation of matrix elements (3Dgrid) Implemented in the S IESTA program D. Sanchez-Portal, P. Ordejon, E. Artacho & J. M. Soler Int. J. Quantum Chem. 65, 453 (1997)

To run Siesta you need: 1.- Access to the executable file 2.- An input file Flexible Data Format (FDF) (A. García and J. M. Soler) 3.- A pseudopotential file for each kind of element in the input file Unformatted binary (.vps) Formatted ASCII (.psf) (more transportable and easy to look at)

Siesta package: Src: Sources of the Siesta code Docs: Documentation and user conditions User’s Guide (siesta.tex) Pseudo: ATOM program to generate and test pseudos (A. García; Pseudopotential and basis generation, Tu 12:00) Examples: fdf and pseudopotentials input files for simple systems Utils: Programs or scripts to analyze the results

The input file Main input file: Physical data of the system Variables to control the approximations Flexible Data Format (FDF) developped by A. García and J. M. Soler

FDF (I) Data can be given in any order Data can be omitted in favour of default values 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

FDF (II) Labels are case insensitive and characters -_. are ignored LatticeConstant is equivalent to lattice_constant Text following # are comments Logical values: T,.true., true, yes F,.false., false, no Character strings, NOT in apostrophes Complex data structures: blocks %block label … %endblock label

FDF (III) Physical magnitudes: followed by its units. Many physical units are recognized for each magnitude (Length: m, cm, nm, Ang, bohr) Automatic conversion to the ones internally required. You may ‘include’ other FDF files or redirect the search to another file

Basic input variables 1.- General system descriptors 2.- Structural and geometrical variables 3.- Functional and solution mehod 4.- Convergence of the results 5.- Self-consistency (Basis set generation related variables: A. García; Pseudopotential and basis generation, Tu 12:00)

General system descriptor SystemName: descriptive name of the system SystemName Si bulk, diamond structure SystemLabel: nickname of the system to name output files SystemLabel Si (After a succesful run, you should have files like Si.DM : Density matrix Si.XV: Final positions and velocities...)

Structural and geometrical variables NumberOfAtoms: number of atoms in the simulation NumberOfAtoms 2 NumberOfSpecies: number of different atomic species NumberOfSpecies 1 ChemicalSpeciesLabel: specify the different chemical species. %block ChemicalSpeciesLabel 1 14 Si %endblock ChemicalSpeciesLabel ALL THESE VARIABLES ARE MANDATORY

Periodic Boundary Conditions (PBC) M. C. Payne et al, Rev. Mod. Phys., 64, 1045 (92) DefectsMoleculesSurfaces Aperiodic systems: Supercell approximation Atoms in the unit cell are periodically repeated throughout space along the lattice vectors Periodic systems and crystalline solids: 

Lattice Vectors LatticeConstant: real length to define the scale of the lattice vectors LatticeConstant 5.43 Ang LatticeParameters: Crystallograhic way %block LatticeParameters %endblock LatticeParameters LatticeVectors: read as a matrix, each vector being a line %block LatticeVectors %endblock LatticeVectors

Atomic Coordinates AtomicCoordinatesFormat: format of the atomic positions in input: Bohr: cartesian coordinates, in bohrs Ang: cartesian coordinates, in Angstroms ScaledCartesian: cartesian coordinates, units of the lattice constant Fractional: referred to the lattice vectors AtomicCoordinatesFormat Fractional AtomicCoordinatesAndAtomicSpecies: %block AtomicCoordinatesAndAtomicSpecies %endblock AtomicCoordinatesAndAtomicSpecies

Functional DFT XC.FunctionalLDAGGA XC.authorsPW92CA PZ PBE DFT  Density Functional Theory LDA  Local Density Approximation GGA  Generalized Gradient Approximation CA  Ceperley-Alder PZ  Perdew-Zunger PW92  Perdew-Wang-92 PBE  Perdew-Burke-Ernzerhof SpinPolarized

Solution method Hamiltonian, H, and Overlap, S, matrices Order N operations SolutionMethoddiagonOrder-N From the atomic coordinates and the unit cell E. Artacho, Running with Order-N, Wed 11:40

k-sampling Many magnitudes require integration of Bloch functions over Brillouin zone (BZ) In practice: integral  sum over a finite uniform grid Essential for: Small systems Real space  Reciprocal space MetalsMagnetic systems Good description of the Bloch states at the Fermi level Even in same insulators : Perovskite oxides

k-sampling kgrid_cutoff: kgrid_cutoff 10.0 Ang kgrid_Monkhorst_Pack: %block kgrid_Monkhorst_Pack %endblock kgrid_Monkhorst_Pack Spetial set of k-points: Accurate results for a small # k-points: Baldereschi, Chadi-Cohen, Monkhorst-Pack

Self-consistent iterations MaxSCFIterations Initial guess Total energy Charge density Forces DM.Tolerance Mixing Linear: DM.MixingWeigth NonLinear (Pulay): DM.NumberPulay

How to run Siesta To run the serial version: [path]siesta myoutput & To see the information dumped in the output file during the run: tail –f myoutput

Output: the header

Output: dumping the input file

Output: processing the input

Output: coordinates and k-sampling

Output: First MD step

Output: Self-consistency

Output: Eigenvalues, forces, stress

Output: Total energy

Output: timer

Saving and reading information (I) Some information is stored by Siesta to restart simulations from: Density matrix: DM.UseSaveDM Localized wave functions (Order-N): ON.UseSaveLWF Atomic positions and velocities: MD.UseSaveXV Conjugent gradient history (minimizations): MD.UseSaveCG All of them are logical variables EXTREMLY USEFUL TO SAVE LOT OF TIME!

Saving and reading information (II) Information needed as input for various post-processing programs, for example, to visualize: Total charge density: SaveRho Deformation charge density: SaveDeltaRho Electrostatic potential: SaveElectrostaticPotential Total potential: SaveTotalPotential Local density of states: LocalDensityOfStates Charge density contours: WriteDenchar Atomic coordinates: WriteCoorXmol and WriteCoorCerius All of them are logical variables

Analyzing the electronic structure (I) Band structure along the high symetry lines of the BZ BandLineScale: scale of the k vectors in BandLines BandLineScale pi/a BandLines: lines along with band energies are calculated. %block BandLines L \Gamma X \Gamma %endblock BandLines

Analyzing the electronic structure (II) Density of states: total and projected on the atomic orbitals - Compare with experimental spectroscopy - Bond formation - Defined as: ProjectedDensityOfStates: %block ProjectedDensityOfStates eV %endblock ProjectedDensityOfStates

Analyzing the electronic structure (III) Population analysis: Mulliken prescription - Amounts of charge on an atom or in an orbital inside the atom - Bond formation - Be careful, very dependent on the basis functions WriteMullikenPop WriteMullikenPop 0 = None 1 = Atomic and orbitals charges 2 = 1 + atomic overlap pop. 3 = 2 + orbital overlap pop.

Tools (I) Various post-processing programs: -PHONONS: -Finite differences: VIBRA (P. Ordejón) -Linear response: LINRES ( J. M. Alons-Pruneda et al.) -Interphase with Phonon program (Parlinsky) -Visualize of the CHARGE DENSITY and POTENTIALS -3D: PLRHO (J. M. Soler) -2D: CONTOUR (E. Artacho) -2D: DENCHAR (J. Junquera)

Tools (II) -TRANSPORT PROPERTIES: -TRANSIESTA (M. Brandbydge et al.) -PSEUDOPOTENTIAL and BASIS information: -PyAtom (A. García) -ATOMIC COORDINATES: -Sies2arc (J. Gale)