Gaussiantutorial
Gaussiantutorial
Mu Yuguang
1
1 PROGRAM SPECIFICATIONS
Gaussian 16W (G16) is a computational chemistry program that
runs on any modern Windows 64-bit PC.
VISUALIZATION SOFTWARE: Gaussian View is used for
visualization.
VIDEO TUTORIALS If you prefer watching video tutorials for a
better understanding, please see below:
• Part 1:
• https://www.youtube.com/watch?v=mm-LY_R5JM4
• Part 2:
• https://www.youtube.com/watch?v=dqKWfXsEcWs
1.1 INPUT
The input for G16 can have the following extensions:
2
Figure 1: G16 input window
This window appears when you click on File→ Open→ ... in the
• The first line : specifies the path to the file you just loaded.
• Title Section: specifies the name of the job (for the user’s ease
only)
3
• Molecule Specification: specifies the atoms and their
coordinates ← this is what we want from the ChemDraw and
Avogadro input, otherwise, we would need to calculate the
coordinates by hand.
More details on each section of the input is available in section
(3.0)
1.2 OUTPUT
To run the G16 job, click on the RUN button, on the right panel of
the Job Entry window (Figure 1). The output has only one
extension: .out. You will be prompt to save the output file before
closing G16 program.
1.3 VISUALIZATION
This tutorial will use Gaussian View software for visualization of the
G09 output. Open the .out file in Gaussian View, your input
molecule should appear on the view screen.
1.4 COMPUTATION MODEL
The mathematical models used to do the computations are called
FEM (Final Element Method) and Symplex method. Using matrices,
this method cuts the N-dimensional space into small sub-systems
that can be described by N linear equations. These equations can
be solved as soon as one of them is solved. Therefore, one must
take a guess of the solution and then, recursively solve all the other
ones. Once all solutions are obtained, the initial guess can be
modified and the calculations repeated. This process is run until the
new solution outputs the same result as in the previous iteration.
This is called convergence.
Because the initial guess can be very far off the real value, many
thousands of iterations are often needed. The basis set selected
influences, among other, the quality of the guesses, while the
theoretical model influences the type of calculations that the
matrices will be subjected to.
The calculation stops as soon as the result converges, however
convergence does not mean that the system reached its minimum.
It is very likely that the minimum outputted is actually only a saddle
point on the potential surface, but the program will not be aware of
this. The user must be careful with this, and always perform a
4
check of stability of the system. This is done by perturbing the
"stable" system and re-calculating the minimum. If the output is the
same, one can assume that the energy obtained is the total
minimum. FOR MORE DETAILS ON THE MATH: [3]
Now, find the Extensions button on the top task bar, and select
"Calculate" and then “Gaussian Calculation Setup…”. A new
window should appear (Figure 3).
5
Figure 3: Gaussian Calculation Setup
6
Figure 4 Method
Title
type in “water_test”
Link 0
If your computer has multiple cores, choose Shared
Processors 2 or 3 or 4
Specify the check point file location: Chkpoint File:
Pop.
Level of output , choose “Full”
Finally can click Preview, show all your inputs for this
calculation.
7
Figure 5 Preview
After all the parameters are set properly, click on the Submit
button. This will begin the calculation after prompting you to save
the final output. Save as water_test.out.
The job is over once the message "Processing Complete" is
shown as on Figure 6. Don’t forget to read the awesome quote at
the end of the output! Now, let’s analyze the results. To see clearer,
you can load the output into the Notepad, by clicking on the
magnifying glass button in the top right corner of the window. For a
detailed overview of the output, see the video tutorials.
Right before the Population analysis you will see the following:
SCF Done: E(RB3LYP) = -76.4337124058 A.U. after 10
cycles
8
1 hartree = 27.2107 eV = 627.503 kcal/mol = 2625.5 kJ/mol
9
Figure 7: Optimization of water.
Bond length:
Click the “Modify Bond” button. Then choose two atoms on the molecule
panel. You can find the bond length between the two atoms.
10
Bond angle
Similar Click the “Modify Angle” button. Then choose three atoms on the
molecule panel. You can find the bond angle formed by the three atoms
Compare the bond length and bond angle before and after optimization.
11
Here we can find the HOMO/LUMO energy gap, the difference
between HOMO and LUMO eigenvalues, which correspond to
their energies (the blue circles in Figure 8). The HOMO is
designated by the last orbital that is labeled by an "O", while the
LUMO is the first orbital labeled by a "V". In this case, the
HOMO is orbital 5, and the LUMO is orbital 6. Notice, that the
HOMO has a negative eigenvalue, while the LUMO has a
positive value.
THE HOMO/LUMO GAP The difference in the eigenvalues of the
LUMO and the HOMO will give you the HOMO/LUMO gap (units
are Hartrees by default).
NOTE: If you actually need the HOMO/LUMO Gap energy you
shouldn’t take simply the difference between the HOMO and the
LUMO eigenvalues. For these cases, you should compute
electronic transitions.
Now, let’s visualize these orbitals.
Open the file “water_check.chk” using GaussianView. Choose
the “MOs” option in the “Tools” function bar.
12
Click “Visualize” button (red circle), highlight/select the first 6
orbitals ( blue circle), then Click “Update…” (yellow circle).
13
2.4 EXAMPLE 4: THE ENERGY OF STEREISOMERS AND
SCALING FACTORS (BUTENE)
Let’s compare the output of a geometry optimization for the cis
and trans isomers of butene. First, draw cis-butene in Avogadro,
optimize its geometry. Generate the G16 input file selecting
Geometry Optimization, using B3LYP model with a 6-31G(d)
basis set. To see how these steps are done in details, refer to
example 1 and 2. Save as cis_butene.com. Repeat the same for
trans-butene. Save as trans_butene.com.
Trans-butene
14
Cis-butene
Run the jobs in G16. Save as their respective names with the .out
extension. You can visualize the molecules in Avogadro, but we will
focus on their SCF energies:
Cis-butene: SCF Done: E(RB3LYP) = -157.224311885
A.U. after 12 cycles
Our data :
molecule.
Hints:
of O2.
2. Choose optimization.
15
3. Compare the final energies of the two spin state.
4 REFERENCES
1. Young, D. Computational Chemistry: A Practical Guide for
Applying Techniques to Real World Problems; John Wiley &
Sons, inc: USA, 2001.
2. Jensen, F. Introduction to computational Chemistry, 2nd ed.;
John Wiley & Sons, inc: England, 2007.
3. • http://math.nist.gov/mcsd/savg/tutorial/ansys/FEM/
• http://en.wikipedia.org/wiki/Finite_element_method
• http://http://www.britannica.com/EBchecked/topic/430575/
optimization/235508/The-simplex-method
• http://www.math.cornell.edu/~web401/matt.simplex.pdf
16
11. Computational Chemistry Comparison and Benchmark
DataBase: Precomputed vibrational scaling factors
(http://cccbdb.nist.gov/vibscalejust.
asp)
12. Joseph W. Ochterski, Ph.D, Vibrational Analysis in Gaussian
(http://www. gaussian.com/g_whitepap/vib/vib.pdf)
13. Joseph W. Ochterski, Ph.D., Thermochemistry in Gaussian
(http://www. gaussian.com/g_whitepap/thermo/thermo.pdf)
14. http://www.gaussian.com/g_tech/g_ur/k_freq.htm
15. http://www.gaussian.com/g_tech/g_ur/k_stable.htm
16. Dr Patricia Hunt, Year 2, Lecture 7: Molecular Orbitals and
Population Analysis
(http://www.huntresearchgroup.org.uk/teaching/teaching_
comp_chem_year4/L7_bonding.pdf)
17. Theoretical Chemistry Institute of the University of Wisconsin,
What Are NBOs (and Other "Natural"-Type Orbitals)?
(http://www.chem.wisc.
edu/~nbo5/web_nbo.htm)
18. Dr. Kalju Kahn, Description of Electronically Excited States
(http://web.
chem.ucsb.edu/~kalju/chem126/public/elspect_theory.html)
19. Chemistry at Sheffield Hallam University, UV-Vis. Absorption
Spectroscopy Theoretical Principles
(http://teaching.shu.ac.uk/hwb/chemistry/
tutorials/molspec/uvvisab1.htm)
20. http://www.gaussian.com/g_tech/g_ur/k_td.htm
21. E. Lewars, "Computational Chemistry", Kluwer, New York,
2003.
22. http://www.gaussian.com/g_tech/g_ur/k_scan.htm
23. http://www.gaussian.com/g_tech/g_ur/k_scrf.htm
17