22
Molecular Modeling COSMOS 18-Jul-2008 Nate Crawford Director of the Chemistry Modeling Facility

COSMOS - University of California, Irvinepotma/COSMOS/lecture14.pdf · Molecular Modeling COSMOS 18-Jul-2008 Nate Crawford Director of the Chemistry Modeling Facility

Embed Size (px)

Citation preview

Page 1: COSMOS - University of California, Irvinepotma/COSMOS/lecture14.pdf · Molecular Modeling COSMOS 18-Jul-2008 Nate Crawford Director of the Chemistry Modeling Facility

Molecular Modeling

COSMOS18-Jul-2008

Nate Crawford

Director of the Chemistry Modeling Facility

Page 2: COSMOS - University of California, Irvinepotma/COSMOS/lecture14.pdf · Molecular Modeling COSMOS 18-Jul-2008 Nate Crawford Director of the Chemistry Modeling Facility

What is Molecular Modeling?

● Simulate molecule-sized pieces of reality with calculations

● Application of physical laws: a mixture of classical and quantum mechanics

● Impose conditions and observe how simulation responds

● Use computation to predict and explain experimental results

MOs of B12

Page 3: COSMOS - University of California, Irvinepotma/COSMOS/lecture14.pdf · Molecular Modeling COSMOS 18-Jul-2008 Nate Crawford Director of the Chemistry Modeling Facility

What Information Does It Give?

● Energies– Of isomers, reaction intermediates, excited states

● Molecular structures● Molecule behavior over time (MD)● Reactivity● Spectroscopic properties

– Vibrational (IR, Raman), electronic (UV-Vis, PES), Magnetic (NMR, EPR), etc.

● Molecule need not exist!

Page 4: COSMOS - University of California, Irvinepotma/COSMOS/lecture14.pdf · Molecular Modeling COSMOS 18-Jul-2008 Nate Crawford Director of the Chemistry Modeling Facility

Why Model?

● Experiment may give unambiguous results, but may leave how? and why? unclear– Nature of reaction intermediates

– Importance of environmental effects

● Experiment has several possible interpretations– Simulate possible explanations and choose best

● Predict exp. results – avoid problem areas● Real experiment too dangerous, or impossible

to do on Earth

Page 5: COSMOS - University of California, Irvinepotma/COSMOS/lecture14.pdf · Molecular Modeling COSMOS 18-Jul-2008 Nate Crawford Director of the Chemistry Modeling Facility

Theory and Experiment

● Laser vaporization of boron– Exp. gives mass

and cross section

– Theory gives geometry and energy

● Need both to remove ambiguity

experimentglobal min.

local min.

Cations of B12

to B25

Page 6: COSMOS - University of California, Irvinepotma/COSMOS/lecture14.pdf · Molecular Modeling COSMOS 18-Jul-2008 Nate Crawford Director of the Chemistry Modeling Facility

Molecular Mechanics

● Simple model– Uses atoms and point charges, no electrons

– Newtonian (Classical) mechanics

– Computationally cheap

● Atoms separated into types– Types based on connectivity, oxidation state, etc.

– Model parameters taken from experiment & theory

● Can give excellent results– If carefully applied to molecules similar to those that

parameters taken from

Page 7: COSMOS - University of California, Irvinepotma/COSMOS/lecture14.pdf · Molecular Modeling COSMOS 18-Jul-2008 Nate Crawford Director of the Chemistry Modeling Facility

Force Field Energy● MM potential energy model is a combination of

easily comupted analytical functions

Boas FE and Harbury PB. Current opinion in structural biology, 17 199-204 (2007).

● With n atom types, need many params.– Bonds: n2

– Angles: n3

– Torsions: 3n4/2

● Most force fields make do with thousands rather than millions

Page 8: COSMOS - University of California, Irvinepotma/COSMOS/lecture14.pdf · Molecular Modeling COSMOS 18-Jul-2008 Nate Crawford Director of the Chemistry Modeling Facility

Bond Lengths and Angles

● Bonds stretch in a Morse-like potential

● Harmonic oscillator is much simpler (faster)

● Bond angles treated similarly

● Good approx. near equilibrium geometry

● Fails at extremes Morse and harmonic oscillator potentials for a diatomic moleculeAuthor: Mark Somoza (Wikipedia)

Page 9: COSMOS - University of California, Irvinepotma/COSMOS/lecture14.pdf · Molecular Modeling COSMOS 18-Jul-2008 Nate Crawford Director of the Chemistry Modeling Facility

Torsional Interactions

0 60 120 180 240 300 360-10

-5

0

5

10

15

20

25

30

35Torsion about C-C in 1,2-difluoroethane

ModelAnti 180Eclipsed 236Gauche 289Eclipsed 360DFTModel – DFT (x 50)cos(1θ)+cos(2θ)+cos(3θ)

F-C-C-F Torsion angle (degrees)

En

erg

y (k

J/m

ol)

Page 10: COSMOS - University of California, Irvinepotma/COSMOS/lecture14.pdf · Molecular Modeling COSMOS 18-Jul-2008 Nate Crawford Director of the Chemistry Modeling Facility

Non-bonded Interactions

● Coulombic forces– Partial charges assigned

by atom type

● Van der Waals / Pauli– static and dynamic

multipole – multipole interactions

– electron spin

– Lennard-Jones potential

V r AB=qA qBr AB

V r =4 [r 12

− r 6

] Ar-Ar potentialAuthor: Poszwa (Wikipedia)

Page 11: COSMOS - University of California, Irvinepotma/COSMOS/lecture14.pdf · Molecular Modeling COSMOS 18-Jul-2008 Nate Crawford Director of the Chemistry Modeling Facility

Modeling Quantum Mechanics

● Can't ignore the electrons forever● Too small and quick (and only probably there)● QM allows calculation from first principles (ab

inito), avoiding need to determine empirical parameters

● Semi-empirical methods use QM framework, but substitute experimentally derived parameters for some expensive parts

E x= H x =−ℏ 2

2m∇

2 x V x x

Page 12: COSMOS - University of California, Irvinepotma/COSMOS/lecture14.pdf · Molecular Modeling COSMOS 18-Jul-2008 Nate Crawford Director of the Chemistry Modeling Facility

MO-LCAO

● Not possible to solve exactly with more than a single electron

● Can use hydrogenic AOs as a basis set to build more complex answers

● QM programs use a large number of AO-like basis functions from all atoms in molecule to create an MO

Page 13: COSMOS - University of California, Irvinepotma/COSMOS/lecture14.pdf · Molecular Modeling COSMOS 18-Jul-2008 Nate Crawford Director of the Chemistry Modeling Facility

Eigenvalues and Eigenvectors

● When squared and integrated, each MO is one e- worth of the total electron density

● They are a set of functions (eigenvectors) that are unchanged by the hamiltonian operator, except by multiplication by a corresponding energy (eigenvalue)

-34.268 eV -26.064 eV -15.221 eV -12.594 eV

Page 14: COSMOS - University of California, Irvinepotma/COSMOS/lecture14.pdf · Molecular Modeling COSMOS 18-Jul-2008 Nate Crawford Director of the Chemistry Modeling Facility

Self-Consistent Field (SCF)

● Getting A solution to the Schrödinger Eqn. relatively easy

● Finding the best, lowest energy solution is work● The V(x) part of H depends on the MOs, which

depend on H...

Guess initial MOs

Build hamiltonian operator from MOsAre changesin MOs and Esmall enough?

Yes

No

Diagonalize Hto get new Mosand total energy Done

Page 15: COSMOS - University of California, Irvinepotma/COSMOS/lecture14.pdf · Molecular Modeling COSMOS 18-Jul-2008 Nate Crawford Director of the Chemistry Modeling Facility

What Use is Having Ψ?

● With the exact wavefunction, the molecular system is fully determined

● Applying mathematical operators other than H can give you properties other than the energy

● Every observable property has (in principle) a corresponding operator, although actually implementing them may be difficult

Page 16: COSMOS - University of California, Irvinepotma/COSMOS/lecture14.pdf · Molecular Modeling COSMOS 18-Jul-2008 Nate Crawford Director of the Chemistry Modeling Facility

Hierarchy of Methods

● Molecular mechanics

● Semi-empirical● HF● DFT/MP2● CCSD(T)

Computation Time

Acc

urac

yMM

HF

DFT MP2

CCSD(T)

SE

Page 17: COSMOS - University of California, Irvinepotma/COSMOS/lecture14.pdf · Molecular Modeling COSMOS 18-Jul-2008 Nate Crawford Director of the Chemistry Modeling Facility

Potential Energy Surface

● Assume electrons respond instantly to nuclear motion

● Molecular energy on 3N-6 dimension surface

● Change in energy when moving (dE/dx) called gradient – represents force on atoms

M. P. Deskevich, M. Y. Hayes, K. Takahashi, R. T. Skodje, and D. J. Nesbitt, J. Chem. Phys , 124, 224303 (2006).

Page 18: COSMOS - University of California, Irvinepotma/COSMOS/lecture14.pdf · Molecular Modeling COSMOS 18-Jul-2008 Nate Crawford Director of the Chemistry Modeling Facility

Geometry OptimizationInput starting coordinates

Compute energy (E) and gradient (dE/dx)

Are gradientand change in Esmall enough?

Geometry is at a stationary point

Use gradient to select(probably) lower energy

geometry

Yes

No

Arevibrational frequencies

all real?

At minimum

At a transition state.Follow imaginaryfrequency normal mode to generate

lower energygeometry

Yes

No

Page 19: COSMOS - University of California, Irvinepotma/COSMOS/lecture14.pdf · Molecular Modeling COSMOS 18-Jul-2008 Nate Crawford Director of the Chemistry Modeling Facility

Transition States

● Lowest energy path from reactant to product passes through TS

● All motion except towards product or reactant increases energy

● Relative energy of TS is reaction barrier

● Find using same tools as energy minimum, but much trickier

Page 20: COSMOS - University of California, Irvinepotma/COSMOS/lecture14.pdf · Molecular Modeling COSMOS 18-Jul-2008 Nate Crawford Director of the Chemistry Modeling Facility

Molecular Dynamics

● Like geometry optimization, but with momentum

● Simulate system responding to force from PES

● With big computers and fast MM, whole (small) virus particles can be modeled

Page 21: COSMOS - University of California, Irvinepotma/COSMOS/lecture14.pdf · Molecular Modeling COSMOS 18-Jul-2008 Nate Crawford Director of the Chemistry Modeling Facility

A Short MD Trajectory

0 1000 2000 3000 4000 5000 6000 7000 8000 90000

60

120

180

240

300

360

1,2-difluoroethane1000K Nosé-Hoover Thermostat

Time Step (40 au, ~1fs)

FC

CF

Tor

sion

Ang

le

Page 22: COSMOS - University of California, Irvinepotma/COSMOS/lecture14.pdf · Molecular Modeling COSMOS 18-Jul-2008 Nate Crawford Director of the Chemistry Modeling Facility

Demonstration Time