Geometry Optimization and Normal Modes
Copyright (c) RDMCHEM LLC 2019
Overview
Initialize
Define Molecule
Geometry Optimization
Vibrational Frequencies
References
In this exercise, you will determine the optimum geometry for gaseous hypochlorous acid, HOCl. Namely, you will determine the two bond lengths and one bond angle that minimize the potential energy due to all nuclear and electronic interactions. Furthermore, you will determine the vibrational frequencies of HOCl using a normal mode analysis, which treats the potential surface in the vicinity of the minimum as being harmonic and calculates the corresponding 3N - 6 (for non-linear molecule) or 3N - 5 (for a linear molecule) vibrational modes, each corresponding to a concerted motion of all atoms. For a non-linear triatomic, this corresponds to a symmetric and antisymmetric stretch and a bending motion. For a linear triatomic, this corresponds to symmetric and antisymmetric stretch and two degenerate bending motions. Once you have calculated the geometry and vibrational frequencies, they can be compared with experimental measurements.
While computational chemistry can be a powerful tool, the quality of results depends on the accuracy of the electronic structure method employed and the atomic orbital basis used. In this activity, you can compare geometries and vibrational frequencies calculated using Hartree-Fock, Density Functional Theory, or any method supported by the QuantumChemistry package. Note that geometry optimizations for more sophisticated methods can be computationally expensive!
Here you can choose the electronic structure method and atomic orbital basis for the geometry optimization and frequency calculation.
withQuantumChemistry;Digits≔15;
AOLabels,ActiveSpaceCI,ActiveSpaceSCF,AtomicData,BondAngles,BondDistances,Charges,ChargesPlot,CorrelationEnergy,CoupledCluster,DensityFunctional,DensityPlot3D,Dipole,DipolePlot,Energy,ExcitationEnergies,ExcitationSpectra,ExcitationSpectraPlot,ExcitedStateEnergies,ExcitedStateSpins,FullCI,GeometryOptimization,HartreeFock,Interactive,Isotopes,MOCoefficients,MODiagram,MOEnergies,MOIntegrals,MOOccupations,MOOccupationsPlot,MOSymmetries,MP2,MolecularData,MolecularGeometry,NuclearEnergy,NuclearGradient,OscillatorStrengths,Parametric2RDM,PlotMolecule,Populations,RDM1,RDM2,RTM1,ReadXYZ,Restore,Save,SaveXYZ,SearchBasisSets,SearchFunctionals,SkeletalStructure,Thermodynamics,TransitionDipolePlot,TransitionDipoles,TransitionOrbitalPlot,TransitionOrbitals,Variational2RDM,VibrationalModeAnimation,VibrationalModes,Video
Digits≔15
ESmethod≔HartreeFock;
ESmethod≔HartreeFock
AObasis≔sto-3g;
AObasis≔sto-3g
In this exercise, you will determine the geometry of the hypochlorous acid compound. In order to generate a starting structure, begin by estimating bond lengths and angle.
r1≔1.0;
r1≔1.00000000
r2≔1.7;
r2≔1.70000000
theta≔104.5;
θ≔104.50000000
Now, convert the bond-angle coordinates to a three-dimensional Cartesian coordinate. For simplicity, allow the molecule to occupy the 2D xy plane and the H-O bond along the x-axis: H (0,0,0) and O (r1,0,0). Then, the coordinates of the Cl atom becomes (r1+ r2 cos (180 - theta), r2 sin(180 - theta), 0). (Verify for yourself this is correct!)
theta≔theta⋅Pi180.0;
θ≔1.82386907
molec≔H,0,0,0,O,r1,0,0,Cl,r1+r2⋅cosPi− theta,r2⋅sinPi−theta,0;
molec≔H,0,0,0,O,1.00000000,0,0,Cl,1.42564601,1.64585099,0
PlotMoleculemolec;
To get an idea of how good (or bad) your initial guess was, first calculate the energy of the initial geometry.
data0≔ESmethodmolec,basis=AObasis;
Now optimize the geometry using the GeometryOptimization function. This will not only determine the optimum geometry for the electronic structure method and basis of interest but will also output the new energy:
molec,data≔GeometryOptimizationmolec,ESmethod,basis=AObasis;
How well did your initial geometry match the optimized geometry?
r1≔sqrtmolec2,22+molec2,32+molec2,42;
r1≔1.00151141
r2≔sqrtmolec2,2−molec3,22+molec2,3−molec3,32+molec2,4−molec3,42;
r2≔1.73758823
r3≔sqrtmolec1,2−molec3,22+molec1,3−molec3,32+molec1,4−molec3,42;
r3≔2.15601093
theta≔arccosr12+r22−r322⋅r1⋅r2⋅180Pi;
θ≔100.36420347
Is the compound more or less bent than water?
Answer
For Hartree-Fock and STO-3G, the bond angle is less than that of water, so HOCl is more bent!
Now that you have determined the optimum geometry, calculate the vibrational frequencies of the triatomic using a normal mode analysis. You may animate each normal mode using the VibrationalModeAnimation function.
emodes,vmodes≔VibrationalModesmolec,ESmethod,basis=AObasis;
VibrationalModeAnimationmolec,Reemodes,vmodes,1;
How well do the calculated values compare to experimental values: 3609 cm-1 (OH stretch), 1239 cm-1 (bend), and 724 cm-1 (Cl-O stretch)?
For the Hartree-Fock and STO-3G basis, we see that the motions are consistent with the assignments but the calculated frequencies are too high.
In the overview, it was mentioned that there should be only 3 normal modes for a nonlinear triatomic. If using Hartree-Fock and the STO-3G basis, note you get 4 modes, not 3. Can you reconcile the 4th mode?
The 4th mode is a rotation, not a vibration. This is obvious from the magnitude of the frequency, which is on the order of 20 cm-1.
1. https://webbook.nist.gov/cgi/cbook.cgi?ID=7790-92-3
Download Help Document