Harmonic vibrational frequencies (H₂O)
Harmonic frequencies are meaningful only at a stationary point of the same method, so the structure of water is first optimized with jobex (ridft, rdgrad and statpt), and the analytic second derivatives are then computed with aoforce at the relaxed geometry.
The input is the PBE-D3(BJ)/def2-SVP setup of the optimization example: $coord file=coord, $atoms with basis =def2-SVP, $dft with functional pbe and $disp3 -bj. ridft switches on RI-J with the matching auxiliary basis and adds $rij to control, which aoforce reads to use the RI approximation for the Coulomb part of the Hessian as well; the C₂ᵥ point group is exploited throughout. Force constants are sensitive to the SCF convergence, so for production work a tighter threshold such as $scfconv 8 can be added.
The results are at the end of aoforce.out under NORMAL MODES and VIBRATIONAL FREQUENCIES (cm**(-1)): one column per mode with the wavenumber, the irrep, the IR intensity and the normal-mode vector. The spectrum is also written to the file vibspectrum and the Hessian to hessian. The first six entries are translations and rotations; a minimum has no imaginary frequency. Thermodynamic functions follow from freeh.
Run
In the directory that holds the files below:
jobex -ri -c 40 > jobex.log
aoforce > aoforce.out
control
$coord file=coord
$atoms
basis =def2-SVP
$dft
functional pbe
$disp3 -bj
$end
coord
$coord
0.00000000000000 0.00000000000000 -0.12178983933899 o
1.41713420892173 0.00000000000000 0.96657854674257 h
-1.41713420892173 0.00000000000000 0.96657854674257 h
$end