Programming Project 1: Molecular Geometry and Rotational Constants

Similar documents
NEWTON S LAWS. These laws only apply when viewed from an inertial coordinate system (unaccelerated system).

5.76 Lecture #21 2/28/94 Page 1. Lecture #21: Rotation of Polyatomic Molecules I

Salmon: Lectures on partial differential equations. Consider the general linear, second-order PDE in the form. ,x 2

Army Ants Tunneling for Classical Simulations

Tensor Analysis. For orthogonal curvilinear coordinates, ˆ ˆ (98) Expanding the derivative, we have, ˆ. h q. . h q h q

Programming Project 2: Harmonic Vibrational Frequencies

1 Matrix representations of canonical matrices

5.04, Principles of Inorganic Chemistry II MIT Department of Chemistry Lecture 32: Vibrational Spectroscopy and the IR

Some Comments on Accelerating Convergence of Iterative Sequences Using Direct Inversion of the Iterative Subspace (DIIS)

Error Bars in both X and Y

So far: simple (planar) geometries

ROTATIONAL MOTION. dv d F m m V v dt dt. i i i cm i

Composite Hypotheses testing

Quantum Mechanics I - Session 4

From Biot-Savart Law to Divergence of B (1)

Solutions to Problem Set 6

EXAM INFORMATION. Harmonic Oscillator. Anharmonic Oscillator 1 ~ 1. Rigid Rotor

= = = (a) Use the MATLAB command rref to solve the system. (b) Let A be the coefficient matrix and B be the right-hand side of the system.

Moments of Inertia. and reminds us of the analogous equation for linear momentum p= mv, which is of the form. The kinetic energy of the body is.

An Interactive Optimisation Tool for Allocation Problems

Week 9 Chapter 10 Section 1-5

COMPLEX NUMBERS AND QUADRATIC EQUATIONS

Number of cases Number of factors Number of covariates Number of levels of factor i. Value of the dependent variable for case k

Supplemental document

Molecular structure: Diatomic molecules in the rigid rotor and harmonic oscillator approximations Notes on Quantum Mechanics

CHALMERS, GÖTEBORGS UNIVERSITET. SOLUTIONS to RE-EXAM for ARTIFICIAL NEURAL NETWORKS. COURSE CODES: FFR 135, FIM 720 GU, PhD

EN40: Dynamics and Vibrations. Homework 7: Rigid Body Kinematics

APPENDIX 2 FITTING A STRAIGHT LINE TO OBSERVATIONS

MTH 263 Practice Test #1 Spring 1999

763622S ADVANCED QUANTUM MECHANICS Solution Set 1 Spring c n a n. c n 2 = 1.

Lecture 14: Forces and Stresses

Indeterminate pin-jointed frames (trusses)

LINEAR REGRESSION ANALYSIS. MODULE IX Lecture Multicollinearity

Causal Diamonds. M. Aghili, L. Bombelli, B. Pilgrim

Math 217 Fall 2013 Homework 2 Solutions

Linear Momentum. Center of Mass.

Week3, Chapter 4. Position and Displacement. Motion in Two Dimensions. Instantaneous Velocity. Average Velocity

Workshop: Approximating energies and wave functions Quantum aspects of physical chemistry

Special Relativity and Riemannian Geometry. Department of Mathematical Sciences

COMPOSITE BEAM WITH WEAK SHEAR CONNECTION SUBJECTED TO THERMAL LOAD

Spin-rotation coupling of the angularly accelerated rigid body

Nice plotting of proteins II

σ τ τ τ σ τ τ τ σ Review Chapter Four States of Stress Part Three Review Review

THE VIBRATIONS OF MOLECULES II THE CARBON DIOXIDE MOLECULE Student Instructions

Norms, Condition Numbers, Eigenvalues and Eigenvectors

C/CS/Phy191 Problem Set 3 Solutions Out: Oct 1, 2008., where ( 00. ), so the overall state of the system is ) ( ( ( ( 00 ± 11 ), Φ ± = 1

On the symmetric character of the thermal conductivity tensor

This model contains two bonds per unit cell (one along the x-direction and the other along y). So we can rewrite the Hamiltonian as:

332600_08_1.qxp 4/17/08 11:29 AM Page 481

Report on Image warping

Mathematical Preparations

Order parameters of crystals in LAMMPS

8.4 COMPLEX VECTOR SPACES AND INNER PRODUCTS

p 1 c 2 + p 2 c 2 + p 3 c p m c 2

V. ROTATIONAL (MICROWAVE) SPECTROSCOPY

Chapter 3 Describing Data Using Numerical Measures

Celestial Mechanics. Basic Orbits. Why circles? Tycho Brahe. PHY celestial-mechanics - J. Hedberg

1 Derivation of Point-to-Plane Minimization

ENGN 40 Dynamics and Vibrations Homework # 7 Due: Friday, April 15

(δr i ) 2. V i. r i 2,

A DARK GREY P O N T, with a Switch Tail, and a small Star on the Forehead. Any

CS 523: Computer Graphics, Spring Shape Modeling. PCA Applications + SVD. Andrew Nealen, Rutgers, /15/2011 1

3 d Rotations Rotating dumbbells in lab frame Moment of Inertial Tensor

CSci 6974 and ECSE 6966 Math. Tech. for Vision, Graphics and Robotics Lecture 21, April 17, 2006 Estimating A Plane Homography

Point cloud to point cloud rigid transformations. Minimizing Rigid Registration Errors

2.3 Nilpotent endomorphisms

MATH Sensitivity of Eigenvalue Problems

Section 8.3 Polar Form of Complex Numbers

Structure from Motion. Forsyth&Ponce: Chap. 12 and 13 Szeliski: Chap. 7

Chapter Newton s Method

Lecture Torsion Properties for Line Segments and Computational Scheme for Piecewise Straight Section Calculations

Inner Product. Euclidean Space. Orthonormal Basis. Orthogonal

An Algorithm to Solve the Inverse Kinematics Problem of a Robotic Manipulator Based on Rotation Vectors

DISCRIMINANTS AND RAMIFIED PRIMES. 1. Introduction A prime number p is said to be ramified in a number field K if the prime ideal factorization

Physics 111: Mechanics Lecture 11

Errors for Linear Systems

Hongyi Miao, College of Science, Nanjing Forestry University, Nanjing ,China. (Received 20 June 2013, accepted 11 March 2014) I)ϕ (k)

Chapter 11 Angular Momentum

OPTIMISATION. Introduction Single Variable Unconstrained Optimisation Multivariable Unconstrained Optimisation Linear Programming

Lecture 10 Support Vector Machines II

Electronic Quantum Monte Carlo Calculations of Energies and Atomic Forces for Diatomic and Polyatomic Molecules

Feb 14: Spatial analysis of data fields

Structure and Drive Paul A. Jensen Copyright July 20, 2003

Formulas for the Determinant

Physics 181. Particle Systems

Singular Value Decomposition: Theory and Applications

Which Separator? Spring 1

CHAPTER 14 GENERAL PERTURBATION THEORY

Bézier curves. Michael S. Floater. September 10, These notes provide an introduction to Bézier curves. i=0

IV. Performance Optimization

Srednicki Chapter 34

NUMERICAL DIFFERENTIATION

Please review the following statement: I certify that I have not given unauthorized aid nor have I received aid in the completion of this exam.

ISQS 6348 Final Open notes, no books. Points out of 100 in parentheses. Y 1 ε 2

One-sided finite-difference approximations suitable for use with Richardson extrapolation

Transfer Functions. Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: ( ) system

LAGRANGIAN MECHANICS

arxiv: v2 [quant-ph] 29 Jun 2018

Important Instructions to the Examiners:

Lecture 12: Discrete Laplacian

Transcription:

Programmng Project 1: Molecular Geometry and Rotatonal Constants Center for Computatonal Chemstry Unversty of Georga Athens, Georga 30602 Summer 2012 1 Introducton Ths programmng project s desgned to provde a basc ntroducton to C or C++ scentfc programmng. You wll read n the molecular geometry from an nput fle, and compute the molecule s geometrc parameters and rotatonal constants. The geometrc parameters nclude bond lengths, bond angles, out-of-plane angles, and torsonal angles. Based on the molecule s rotatonal constants, you wll determne the molecular type (symmetrc top, asymmetrc top, or sphercal top). The sample nput fle contans the geometry for ethylene (D 2h ), but you should make your program general enough to work on any nput molecule. 1

2 Procedure 1. Read n the Cartesan coordnates of a molecule from fle11.dat. Ths can be done usng C s fscanf() or C++ s fstream objects. Note that the molecular geometry s provded n Bohr. You wll also need the atomc masses of the atoms, whch can be determned from the atomc number. 2. Compute all possble nteratomc dstances. R j = (X X j ) 2 + (Y Y j ) 2 + (Z Z j ) 2 (1) These should be stored n a matrx ndexed by and j. They wll be computed n Bohr, but should be prnted to the output n angstroms. 3. Compute all nteratomc unt vectors, e j. You wll need these vectors to compute the angles requred. The vector e j s the unt vector pontng from atom to atom j. where e j = (x j, y j, z j ) (2) x j = (X X j )/R j y j = (Y Y j )/R j z j = (Z Z j )/R j (3a) (3b) (3c) These should be stored n a three-dmensonal matrx ndexed by, j, and a thrd ndex ndcatng the x, y, or z component of the vector. 4. Compute all possble angles usng the drecton vectors. cos φ jk = e j e jk (4) The normalzaton factor normally present n the dot product defnton of an angle s unnecessary, snce the drecton vectors are unt vectors. For a graphcal defnton of the bond angle, see Fgure 1. These should be stored n a three-dmensonal matrx ndexed by, j, and k. We wll use the angles n later steps. The angles wll be computed and stored n radans, but should be prnted to the output n degrees. 2

j ɸjk k Fgure 1: Graphcal defnton of bond angle (φ jk ). 5. Compute all possble out-of-plane angles usng the drecton vectors and the bond angles. sn θ jkl = e lj e lk sn φ jlk e l (5) The out-of-plane angle s the angle between vector e l and the plane formed by j-k-l. For a graphcal defnton of the out-of-plan angle, see Fgures 2 and 3. Snce we do not use out-of-plane angles later, they do not need to be stored. Compute each angle and prnt t to the output n degrees. l j ɸjlk k Fgure 2: Graphcal defnton of out-of-plane angle θ jkl, top vew. 3

θjkl k l Fgure 3: Graphcal defnton of out-of-plane angle θ jkl, sde vew. 6. Compute all possble torsonal angles usng the drecton vectors and the bond angles. cos τ jkl = (e j e jk ) (e jk e kl ) sn φ jk sn φ jkl (6) The torsonal angle, τ jkl, s the angle between bonds -j and k-l, sghtng down the j-k bond. For a graphcal defnton of the torsonal angle, see Fgures 4 and 5. Agan, these can just be prnted to output, and do not need to be stored. ɸjk j k ɸjkl l Fgure 4: Graphcal defnton of torson angle τ jkl, sde vew. 4

τjkl j l Fgure 5: Graphcal defnton of torson angle τ jkl, sghtng down the j-k bond. 7. Fnd the center of mass of the molecule, and move the orgn to the center of mass. X cm = m X m Y cm = m Y m Z cm = m Z m (7) In order to compute a vald nerta tensor, the orgn of the coordnate system must be at the molecule s center of mass. In order to shft the coordnate system, subtract the center of mass coordnates from each set of atomc coordnates. x,new = x,old x C.O.M. (8) y,new = y,old y C.O.M. (9) z,new = z,old z C.O.M. (10) 8. Form the nerta tensor. The nerta tensor s a symmetrc 3 3 matrx: I xx I xy I xz I = I yx I yy I yz (11) I zx I zy I zz The dagonal elements are: I xx = m (y 2 + z 2 ) (12a) 5

I yy = m (x 2 + z 2 ) (12b) I zz = The off-dagonal elements are: m (x 2 + y 2 ) (12c) I xy = I yx = m x y (13a) I xz = I zx = m x z (13b) I yz = I zy = m y z (13c) 9. Dagonalze the nerta tensor to fnd the prncpal moments of nerta. By the spectral theorem, snce the moment of nerta tensor s real and symmetrc, t s possble to fnd a Cartesan coordnate system n whch t has the form: I a 0 0 I = 0 I b 0 (14) 0 0 I c I a, I b, and I c are the prncpal moments of nerta about three mutually orthogonal axes A, B, and C wth the orgn at the center of mass. Thus, dagonalzng the nerta tensor yelds the prncpal moments of nerta (egenvalues) and the the prncpal axes of rotaton (egenvectors). The moments of nerta should be reported n unts of amu Å 2 and g cm 2. 10. Determne the rotatonal constants. Conversons between moments of nerta and rotatonal constants are as follows: A = h B = h C = h (15) 8π 2 I a 8π 2 I b 8π 2 I c such that A B C The rotatonal constants should be reported n cm 1 and MHz. 6

11. Determne the molecular type. Molecules can be dvded nto several dfferent classes based on ther sze and rotatonal constants. a) sngle atom b) homonuclear datomc c) sphercal top: I a = I b = I c. d) lnear: 0 I a I b = I c. e) oblate symmetrc top (frsbee): I a = I b < I c f) prolate symmetrc top (football): I a < I b = I c g) asymmetrc top: All three prncpal moments of nerta are dfferent. 7

3 Text Fle Formats 3.1 Fle11.dat The frst lne of fle11.dat specfes the computatonal detals, ncludng the bass set. The next lne contans the number of atoms, N, and the computed energy. The next N lnes contan the atomc number and the Cartesan coordnates of each atom. All unts are Bohr. Z 1 x 1 y 1 z 1 Z 2 x 2 y 2 z 2.... Z n x n y n z n (16) The fnal N lnes contan the dervatves of the energy wth respect to each Cartesan coordnate, whch are rrelevant to ths project. 4 Sample Output A sample output s provded n sample.out. Please note that double-precson arthmetc may generate slght dscrepances n the answers. 8

5 References E.B. Wlson, Jr., J.C. Decus, and P.C. Cross, Molecular Vbratons, McGraw-Hll, 1955. Moment of nerta. Wkpeda, The Free Encyclopeda. 26 June 2009 <http://en.wkpeda.org/w/ndex.php?ttle=moment_of_nerta&oldd= 298733364>. Rotatonal spectroscopy. Wkpeda, The Free Encyclopeda. 29 Apr 2009 <http://en.wkpeda.org/w/ndex.php?ttle=rotatonal_spectroscopy&oldd= 286945517>. 9