WOLFRAM

  • Import supports the Gaussian log file format.

Background & Context

    • MIME type: chemical/x-gaussian-log
    • Gaussian log file.
    • Used to store results of quantum chemistry calculations.
    • Plain text format.

Import

Import Elements

  • General Import elements:
  • "Elements" list of elements and options available in this file
    "Summary"summary of the file
    "Rules"list of rules for all available elements
  • Data elements:
  • "Molecule"a symbolic representation of the molecule model
    "Metadata"an Association containing results from the file
  • Results such as molecular-orbital energies and occupation are stored in the "Metadata".
  • The calculation results are also included in the "Molecule" element. Use mol["MetaInformation"] to retrieve them from the molecule mol.
  • Three-dimensional coordinates from the log file are stored in the molecule in the AtomCoordinates option value.
  • Use mol["AtomCoordinates"] to retrieve the coordinates from the imported molecule mol.

Examples

open allclose all

Basic Examples  (1)Summary of the most common use cases

Import a Gaussian log file as a molecule:

Out[1]=1

Show the molecule in 3D:

Out[2]=2

Dipole and orbital information is stored in the molecule's MetaInformation:

Out[3]=3

Scope  (2)Survey of the scope of standard use cases

Some Gaussian log files contain information on the normal vibrational modes:

Out[2]=2

Assume a Lorentzian line shape for each mode, and plot the calculated infrared absorption spectrum:

Out[5]=5

Use the Cartesian displacement vectors to make animations of the normal vibrational modes:

Out[1]=1

Create a function to generate an animation:

Animate the asymmetric chlorine stretching mode:

Out[4]=4

Animate the symmetric chlorine stretching mode:

Out[5]=5