Non-bonded interactions¶
Non-bonded interactions in GROMACS are pair-additive:
Since the potential only depends on the scalar distance, interactions
will be centro-symmetric, i.e. the vectorial partial force on particle
The Lennard-Jones interaction¶
The Lennard-Jones potential
See also Fig. 16 The parameters

Fig. 16 The Lennard-Jones interaction.¶
The force derived from this potential is:
The LJ potential may also be written in the following form:
In constructing the parameter matrix for the non-bonded LJ-parameters, two types of combination rules can be used within GROMACS, only geometric averages (type 1 in the input section of the force-field file):
or, alternatively the Lorentz-Berthelot rules can be used. An
arithmetic average is used to calculate
finally an geometric average for both parameters can be used (type 3):
This last rule is used by the OPLS force field.
Buckingham potential¶
The Buckingham potential has a more flexible and realistic repulsion term than the Lennard-Jones interaction, but is also more expensive to compute. The potential form is:

Fig. 17 The Buckingham interaction.¶
See also Fig. 17. The force derived from this is:
Coulomb interaction¶
The Coulomb interaction between two charge particles is given by:
See also Fig. 18, where

Fig. 18 The Coulomb interaction (for particles with equal signed charge) with
and without reaction field. In the latter case
The force derived from this potential is:
A plain Coulomb interaction should only be used without cut-off or when
all pairs fall within the cut-off, since there is an abrupt, large
change in the force at the cut-off. In case you do want to use a
cut-off, the potential can be shifted by a constant to make the
potential the integral of the force. With the group cut-off scheme, this
shift is only applied to non-excluded pairs. With the Verlet cut-off
scheme, the shift is also applied to excluded pairs and self
interactions, which makes the potential equivalent to a reaction field
with
In GROMACS the relative dielectric constant
Coulomb interaction with reaction field¶
The Coulomb interaction can be modified for homogeneous systems by
assuming a constant dielectric environment beyond the cut-off
in which the constant expression on the right makes the potential zero
at the cut-off
with
For large
The reaction-field correction should also be applied to all excluded atoms pairs, including self pairs, in which case the normal Coulomb term in (151) and (155) is absent.
Modified non-bonded interactions¶
In GROMACS, the non-bonded potentials can be modified by a shift function, also called a force-switch function, since it switches the force to zero at the cut-off. The purpose of this is to replace the truncated forces by forces that are continuous and have continuous derivatives at the cut-off radius. With such forces the time integration produces smaller errors. But note that for Lennard-Jones interactions these errors are usually smaller than other errors, such as integration errors at the repulsive part of the potential. For Coulomb interactions we advise against using a shifted potential and for use of a reaction field or a proper long-range method such as PME.
There is no fundamental difference between a switch function (which
multiplies the potential with a function) and a shift function (which
adds a function to the force or potential) 72. The
switch function is a special case of the shift function, which we apply
to the force function
For pure Coulomb or Lennard-Jones interactions
When
The GROMACS force switch function
A 3
fulfills these requirements. The constants A and B are given by the
boundary condition at
Thus the total force function is:
and the potential function reads:
where
The GROMACS potential-switch function
The fifth-degree polynomial that has these properties is
This implementation is found in several other simulation packages,7375 but differs from that in CHARMM.76 Switching the potential leads to artificially large forces in the switching region, therefore it is not recommended to switch Coulomb interactions using this function,72 but switching Lennard-Jones interactions using this function produces acceptable results.
Modified short-range interactions with Ewald summation¶
When Ewald summation or particle-mesh Ewald is used to calculate the long-range interactions, the short-range Coulomb potential must also be modified. Here the potential is switched to (nearly) zero at the cut-off, instead of the force. In this case the short range potential is given by:
where