5.4 Force Field Calculations

5.4.1 Purpose

uff preoptimizes a structure and calculates an analytical Hessian which can be used as a start Hessian in a geometry optimization. This will accelerate the convergence of an optimizations. For optimizations in cartesian space this will be faster by a factor of two for any molecule.

5.4.2 How to Perform a UFF Calculation

You have to generate cartesian coordinates (file coord), nothing else. You can start an single-point calculation calculation by typing


To start an uff geometry optimization, one has to change the number of cycles (parameter maxcycle) in the block $uff in the file control. The ouput is the optimized structure (file coord), the analytical gradient (file uffgradient) and the analytical cartesian hessian (file uffhessian0-0). Furthermore the control file will be modified:

$forceinit on  
$uffhessian file=uffhesian0-0

These commands have the effect to inititialize the force constant matric for a geometry optimization with the hessian one.

In some cases uff cannot recognize the connectivity, then one can specify the connectivity in the file ufftopology. The program will calculate the bond, angle, torsion, inverison and non-bonded terms (force field terms) based on the connectivity specified in the topology file.

5.4.3 The UFF implementation

The uff implementation follows the paper by Rappé [7]. The energy expression in uff is as follows:

2- KIJ (r - rIJ )2 (5.1)
+ NA (                   KIJK-
||||                   K 4  (1- cos(2θ)) : linear case
|||                   -IJ9K-(1- cos(3θ)) : trigonal planar case
{                   KI1J6K-(1- cos(4θ)) : quadratic planar case
||                   KIJK-(1- cos(4θ)) : octahedral case
|||  K    ⋅(CA  + CA co1s6θ + CA cos(2θ)) : general case
||(   IJK     0    1         2
+ NT 1-
2 V ϕ (1- cos (n ϕ )cos(nϕ))
+ NI V ω (CI + CI cosω + CI cos2ω)
  0    1         2
+ Nnb DIJ (                    )
    ( xIJ)6   (xIJ)12
 - 2   x    +   x
+ Nnb qI-⋅qJ-
The Fourier coefficients C0A,C1A,C2A of the general angle terms are evaluated as a function of the natural angle θ0:
C2A = ---1----
4 sin2θ0 (5.2)
C1A = -4 C 2A cosθ 0 (5.3)
C0A = C 2A(           )
 2cos2 θ0 + 1 (5.4)
The expressions in the energy term are:

the numbers of the bond-, angle-, torsion-, inversion- and the non bonded-terms.


forceconstants of the bond- and angle-terms.


bond distance and natural bond distance of the two atoms I and J.


angle and natural angle for three atoms I - J - K.


Fourier coefficients of the general angle terms.


torsion angle and natural torison angle of the atoms I -J - K - L.

V ϕ

height of the torsion barrier.


periodicity of the torsion potential.


inversion- or out-of-plane-angle at atom I.

V ω

height of the inversion barrier.


Fourier coefficients of the inversions terms.


distance and natural distance of two non bonded atoms I and J.


depth of the Lennard–Jones potential.


partial charge of atoms I and dielectric constant.

One major difference in this implementation concerns the atom types. The atom types in Rappé’s paper have an underscore "_". In the present implementation an sp3 C atom has the name "C 3" instead of "C_3". Particularly the bond terms are described with the harmonic potential and the non-bonded van der Waals terms with the Lennard–Jones potential. The partial charges needed for electrostatic nonbond terms are calculated with the Charge Equilibration Modell (QEq) from Rappé [43]. There is no cutoff for the non-bonded terms.

The relaxation procedure distinguishes between molecules wih more than 90 atoms and molecules with less atoms. For small molecules it consists of a Newton step followed by a linesearch step. For big molecules a quasi-Newton relaxation is done. The BFGS update of the force-constant matric is done [38,44–46]. Pulay’s DIIS procedure is implemented for big molecule to accelarate the optimization [37,47].

The coordinates for any single atom can be fixed by placing an ’f’ in the third to eighth column of the chemical symbol/flag group. As an example, the following coordinates specify acetone with a fixed carbonyl group:

    2.02693271108611      2.03672551266230      0.00000000000000      c  
    1.08247228252865     -0.68857387733323      0.00000000000000      c f  
    2.53154870318830     -2.48171472134488      0.00000000000000      o     f  
   -1.78063790034738     -1.04586399389434      0.00000000000000      c  
   -2.64348282517094     -0.13141435997713      1.68855816889786      h  
   -2.23779643042546     -3.09026673535431      0.00000000000000      h  
   -2.64348282517094     -0.13141435997713     -1.68855816889786      h  
    1.31008893646566      3.07002878668872      1.68840815751978      h  
    1.31008893646566      3.07002878668872     -1.68840815751978      h  
    4.12184425921830      2.06288409251899      0.00000000000000      h