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.

Slides:



Advertisements
Similar presentations
Various Polarization Processes
Advertisements

How to run with the same pseudos in S IESTA and A BINIT Objectives Run examples with the same pseudos (same decomposition in local part and Kleinman-Bylander.
Javier Junquera Exercises on basis set generation Convergence of the basis set with size.
The Quantized Free Electron Theory Energy E Spatial coordinate x Nucleus with localized core electrons Jellium model: electrons shield potential.
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.
Introducing the coordinates in Z-matrix form Objectives study how to introduce the coordinates of a molecule in Z-matrix form.
Applied Econometrics Second edition
The H 2 molecule without convergence studies Objectives: - the (pseudo)total energy - the bond length r HH Acknowledgment: exercise inspired on the first.
Quantum Theory of Solids
1 A molecule of ammonia NH 3 is made up of one nitrogen and three hydrogen atoms: Coordinate bond The nitrogen atom forms three bonds and the hydrogen.
CS 282.  Last week we dealt with projectile physics ◦ Examined the gravity-only model ◦ Coded drag affecting projectiles  Used Runge-Kutta for approximating.
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.
CHAPTER 7: Dielectrics …
Meeting 31, April 7 th Theory: ZnTe, ZnSe dispersion curves.
Continuum Representations of the Solvent pp (Old Edition) Eva Zurek.
CSE351/ IT351 Modeling and Simulation
Lecture 3 The Debye theory. Gases and polar molecules in non-polar solvent. The reaction field of a non-polarizable point dipole The internal and the direction.
Temperature Simulations of Magnetism in Iron R.E. Cohen and S. Pella Carnegie Institution of Washington Methods LAPW:  Spin polarized DFT (collinear)
Computing lattice constant, bulk modulus and equilibrium energies of solids Bulk Si Diamond structure.
1 CE 530 Molecular Simulation Lecture 16 Dielectrics and Reaction Field Method David A. Kofke Department of Chemical Engineering SUNY Buffalo
How to optimize automatically the parameters that determine the quality of the basis Javier Junquera Alberto García.
Thermal Properties of Crystal Lattices
Chapter 21 & 22 Electric Charge Coulomb’s Law This force of repulsion or attraction due to the charge properties of objects is called an electrostatic.
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.
MASTANI 2014 DAY 2 – exercise 3 scf and band structure calculations for Cu (metal) Madhura Marathe No input files available, but should be generated for.
Network for Computational Nanotechnology (NCN) Purdue, Norfolk State, Northwestern, MIT, Molecular Foundry, UC Berkeley, Univ. of Illinois, UTEP DFT Calculations.
Chapter 22: Electric Fields
Monte-Carlo simulations of the structure of complex liquids with various interaction potentials Alja ž Godec Advisers: prof. dr. Janko Jamnik and doc.
The Nuts and Bolts of First-Principles Simulation Durham, 6th-13th December : DFT Plane Wave Pseudopotential versus Other Approaches CASTEP Developers’
1 Tips for solving Project 1 Reactor SO 3 SO 2 +O 2.
Raft & Piled-raft analysis (Soil-structure interaction analysis)
Introduction to run Siesta Javier Junquera Université de Liège.
Ch 9 pages Lecture 23 – The Hydrogen Atom.
How to run SIESTA Víctor García Suárez (thanks to J. Junquera and J. Ferrer)
Light and Matter Tim Freegarde School of Physics & Astronomy University of Southampton Classical electrodynamics.
VIRTUAL NANOLAB BY QUANTUMWISE
Performance of Molecular Polarization Methods Marco Masia.
How to generate a pseudopotential with non-linear core corrections Objectives Check whether the non-linear core-corrections are necessary and how to include.
- Compute and analyze the band structure of an ionic solid
Intermolecular Forces:Electrostatics “Dielectrics Different classical electrostatic interactions.
Chapter 24: Electric Potential 24-2: Electric potential energy Coulomb ’ s law looks like the gravitation law. Hence, it is conservative. What does it.
Tutorial for XFDTD Written by Cynthia Furse University of Utah.
Fundamentals of DFT R. Wentzcovitch U of Minnesota VLab Tutorial Hohemberg-Kohn and Kohn-Sham theorems Self-consistency cycle Extensions of DFT.
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.
ELEC 3105 Basic EM and Power Engineering Boundary Conditions Energy in Electric Field Corona Discharge PN Junction in Electrostatics.
Environmental and Exploration Geophysics I tom.h.wilson Department of Geology and Geography West Virginia University Morgantown, WV.
Non-Linear Optical Property-Structure relationship of N-(4- nitrophenyl)-N-[(1S)-1-phenylethyl]thiourea Bao Chau Tran, Tram Anh Pham, Donald Responte,
Electric Fields in Matter  Polarization  Electric displacement  Field of a polarized object  Linear dielectrics.
Born effective charge tensor
Javier Junquera How to compute the projected density of states (PDOS)
Plotting the charge density of bulk Si
How to generate a pseudopotential with the semicore in the valence Objectives Check whether semicore states should be explicitly included in the valence.
The Nuts and Bolts of First-Principles Simulation Durham, 6th-13th December : Testing Testing. Basic procedure to “validate” calculations CASTEP.
D. M. Ceperley, 2000 Simulations1 Neighbor Tables Long Range Potentials A & T pgs , Today we will learn how we can handle long range potentials.
Chapter 8 Bonding: General Concepts. Chapter 8 Questions to Consider  What is meant by the term “chemical bond”?  Why do atoms bond with each other.
Electrostatic field in dielectric media When a material has no free charge carriers or very few charge carriers, it is known as dielectric. For example.
How to prepare the interface between siesta and wannier90
Computing lattice constant, bulk modulus and equilibrium energies of bulk cubic SrTiO 3 Bulk SrTiO 3 Cubic structure.
Electric Charges and Their Properties II
How to plot fat bands with siesta
Band structure of a cubic perovskite oxide:
Online simulations via nanoHUB: The O2 molecule and spin
BICYCLE PEDAL STATIC ANALYSIS
How to plot the Fermi surface using siesta and wannier90
How to prepare the interface between siesta and wannier90
Presentation transcript:

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

H 2 O molecule: example of a very simple input file Go to the directory where the exercise of the H 2 O molecule is included Number of different species and atoms present in the unit cell List of different species Position of the atoms Example of a first-principles simulation: no input from experiment Inspect the input file, h2o.fdf Examine in detail the different input variables, more information at and follow the link Documentations, Manual

Many variables will take the default value PAO.BasisSize(Basis set quality) DZP XC.Functional(Exchange and correlation functional)LDA XC.Authors(Flavour of the exchange and correlation)CA SpinPolarized(Are we performing an spin polarized calc.).false. … and many others. For a detailed list, see fdf.log after running the code.

H 2 O molecule with Periodic Boundary Conditions (PBC) Although our system is aperiodic (a molecule), Siesta still does use PBC Make sure that the required physical and chemical properties are converged with the size of the supercell Strategy: the supercell approach Introduce a vacuum region that should be large enough that periodic images corresponding to adjacent replicas of the supercell do not interact significantly.

H 2 O molecule with Periodic Boundary Conditions (PBC) The default unit cell The lattice vectors will be diagonal, and their size will be the minimum size to include the system without overlap with neighboring cells, plus a buffer layer (10%)

H 2 O molecule: the first run of Siesta (we are doing better, thousand of atoms) Check that you have all the required files A pseudopotential file (.vps or.psf) for every atomic specie included in the input file For H and O within LDA, you can download it from the Siesta web page. Run the code, siesta h2o.default.out The name of the output file is free, but since we are running the H 2 O molecule with the default unit cell, this seems very sensible… Wait for a few seconds… and then you should have an output

H 2 O molecule with Periodic Boundary Conditions (PBC) Let’s make a tour on the different output files: Inspect the output file, h2o.default.out How many SCF cycles were required to arrive to the convergence criterion? How much is the total energy of the system after SCF? How large is the unit cell automatically generated by Siesta? For molecules, How much is the electric dipole of the molecule (in electrons  bohr)?

H 2 O molecule: convergence with the size of the supercell Define the supercell here Run the code, changing the lattice constant from 8.00 Å to Å in steps of 1.0 Å. Save each input file in a separate file. siesta h2o.your_lattice_constant.out Modify the input file, introducing explicitly the supercell

Tabulate the total energy as a function of the lattice constant grep “Total =” h2o.*.out > h2o.latcon.dat Edit the h2.latcon.dat file, and leave only two columns Lattice constant (Å)Total energy (eV) H 2 O molecule: convergence with the size of the supercell These numbers have been obtained with siesta-3.0-b, compiled with the g95 compiler and double precision in the grid. Numbers might change slightly depending on the platform, compiler and compilation flags

Plot the total energy versus the lattice constant gnuplot plot “h2o.latcon.dat” using 1:2 with lines H 2 O molecule: convergence with the size of the supercell

H 2 O molecule: the most important point: Analyze the results Water molecule has a dipole Ideally, for a molecule any property should be independent of the size of the simulation box… 2 …but this is not the case (at least for the energy) in the case of H 2 O. Why?

H 2 O molecule: the most important point, analyze the results When calculating the energy of an aperiodic system using periodic boundary conditions, one is interested only in the energy, E 0 in the limit L  , where L is the linear dimension of the supercell. The energy calculated for a finite supercell E(L) differs from E 0, because of the spurious interactions of the aperiodic charge density with its images in neighboring cells Water molecule has a dipole The electrostatic interaction between dipoles decay as L -3, with L the separation between dipoles G. Makov and M. C. Payne, Phys. Rev. B 51, 4014 (1995) To estimate E 0 from the calculated E(L), we need to know the asymptotic behaviour of the energy on L puntual dipole located at unit vector along

H 2 O molecule: the most important point, analyze the results G. Makov and M. C. Payne, Phys. Rev. B 51, 4014 (1995) To estimate E 0 from the calculated E(L), we need to know the asymptotic behaviour of the energy on L But this dependence is not enough. Furthermore, these interactions induce changes in the aperiodic charge density itself, which depends on L In other words, the dipole also depends on L If the molecule has a permanent dipole, then the induced dipole will be O(L -3 ) because the field generated by a dipole decays as L -3

H 2 O molecule: convergence of the dipole moment grep “Electric dipole (a.u.)” h2o.*.out > h2o.dipole.dat Edit h2o.dipole.dat and leave only the lattice constant and the components of the dipole moment (with the particular orientation of our molecule, only the y component does not vanish). gnuplot plot “h2o.dipole.dat” using 1:3 with lines Lattice constant (Å) Electric dipole (a.u.)

H 2 O molecule: convergence of the dipole moment If the molecule has a permanent dipole, then the induced dipole will be O(L -3 ) because the field generated by a dipole decays as L -3, and fitting parameters

H 2 O molecule: the most important point, analyze the results G. Makov and M. C. Payne, Phys. Rev. B 51, 4014 (1995) To estimate E 0 from the calculated E(L), we need to know the asymptotic behaviour of the energy on L If we replace p by p(L), then the leading contribution to the electrostatic energy reflecting the (dipole-induced)-dipole interaction is of the order of O(L -6 ) Direct dipole-dipole interaction (Dipole-induced) - dipole interaction,, and fitting parameters

H 2 O molecule: the most important point, analyze the results G. Makov and M. C. Payne, Phys. Rev. B 51, 4014 (1995) To estimate E 0 from the calculated E(L), we need to know the asymptotic behaviour of the energy on L If we replace p by p(L), then the leading contribution to the electrostatic energy reflecting the (dipole-induced)-dipole interaction is of the order of O(L -6 ) Direct dipole-dipole interaction (Dipole-induced) - dipole interaction,, and fitting parameters E 0 is the energy we are interested in