1. Intermolecular Interactions: From Theory to Practice
Much of chemistry and materials science involves condensed matter, that is to intermolecular interactions (or perhaps more accurately non-bonded interactions). Understanding these interactions is therefore fundamental to many applications of computational chemistry. Since theoretical and computational chemistry is generally focused on getting the best answer in a tractable amount of computer time, it's essential to know which kinds of interactions are important for which systems, and cheap and dirty can we be in their approximation when explaining or predicting some observable phenomenon.
Gibbs Free Energy vs. Enthalpy
To cut a very long story short, we can start with the Gibbs free energy to determine whether molecular association is spontaneous under given conditions (, ). Recall that the Gibbs free energy combines energetic and entropic contributions:
Or more explicitly:
In practice, we're often primarily concerned with predicting the enthalpy contribution because:
- Entropy is quite often similar across related systems - For comparing similar binding modes, varies less than (and can be much harder to model...)
- Low temperatures reduce entropic contributions - At cryogenic crystal structure conditions, becomes small
- Enthalpy dominates strong interactions - For hydrogen bonds and ionic interactions,
- Computational efficiency - Energy calculations on a static system directly yield energies related to enthalpy (at least much of the energy)
Hess's law: Enthalpy is path-independent
For a given molecular dimer or pair for example, this means that regardless of how they came to be in a given configuration we can calculate the enthalpy as:
This can be done via electronic structure calculations, molecular mechanics force fields, tight-binding, machine learned potentials or really any method that computes the total energy for a given system:
This binding energy is not the whole picture, there are other enthalpy contributions:
For condensed phases and moderate temperatures:
- (negligible volume change)
- (a common assumption)
Therefore:
And often the zero-point energy correction is also small, giving:
This is why computational chemists often report energy calculations as approximations to enthalpies, but keep this in mind when considering systems you're working with...
(Some of) the Physics of Intermolecular Forces
Different types of interactions arise from different quantum mechanical phenomena, and most of them are approximated in molecular mechanics and force fields via analysis of the long-range or asymptotic behaviour.
Even in the text below I'll talk about where some effects are or are not important, but you should always consider whether that is correct and why approximations might be sensible (or not) for a given system. Nothing beats understanding the fundamental physics (QM) or actual experiments.
1. Electrostatic (Coulomb) Interactions

The classical electrostatic energy between charges and separated by distance :
That is if we just work in atomic units so we can do away with the constant factor of
This is fundamentally important for condensed matter, as it's the longest-range interaction (i.e. slowest to decay to 0), decaying as .
If we instead had a multipole series:
This stems from the Taylor expansion of the Coulomb interaction. Most force-fields don't even bother considering dipoles, but few if any include terms beyond quadrupoles.
These point charges can be placed wherever you see fit, though the mathematics for e.g. forces becomes much simpler if they are at atomic sites i.e. partial charges. Indeed we can approximate e.g. atomic dipoles, quadrupoles etc. through partial charges around the atoms (in the limit, we have a full electron density distribution).
2. Exchange-Repulsion (Pauli Exclusion)

When electron clouds overlap, the Pauli exclusion principle requires antisymmetrization of the wavefunction, leading to repulsion:
This short-range repulsion prevents molecular interpenetration. This is the source of the term in Buckingham potentials and many others. The Lennard Jones potential is effectively approximating this as
3. Polarization (Induction)

The electric field of molecule A induces a dipole in molecule B:
where is the polarizability of molecule B. This scales as for charge-induced dipole interactions. While this formula provides a useful approximation, it's important to remember that polarizability is effectively a volume term, and this approach assumes the polarizable volume of a site is spherical/isotropic.
4. Dispersion (London Forces, van der Waals)

Perhaps the most important kind of intermolecular interaction to consider due to its pervasiveness is London Dispersion!
All molecules interact via quantum mechanical fluctuations in electron density:
where represents ionization potentials. This attraction is universal.
People frequently refer to this as a weak interaction, but its ubiquity means that for many molecular crystals for example it's the most important energetic term...
A classical example: the argon dimer

For noble gases like argon, only dispersion and exchange-repulsion really matter. The Lennard-Jones potential captures this physics:
Where:
- = well depth (attraction strength)
- = distance where
- term models exchange-repulsion
- term models dispersion
For Ar-Ar:
- kJ/mol
- Å
- Å
The repulsion is empirical; more accurate potentials use exponential forms.
This works well for a number of reasons, but it's also quick to calculate! Don't need to take a square root when computing distances, etc.
Combining Rules for Mixed Interactions
These parameters and their physical interpretation also lead to so-called combining rules. When atoms of different types interact, combining rules can be used determine their interaction parameters - this makes fitting a force field require less parameters, be less likely to overfit and much else.
Lorentz-Berthelot rules (most common):
- (arithmetic mean of sizes)
- (geometric mean of well depths)
Physical justification:
- Size parameter (): Contact distance is roughly additive
- Energy parameter (): Well depth relates to from dispersion theory
Example for O-H interaction:
- If kJ/mol and kJ/mol
- Then kJ/mol
- If Å and Å
- Then Å
There are of course many other combining rules...
Hands on case study: the water dimer
With all that in mind, let's examine a water dimer. Water dimers showcase all four interaction types. The hydrogen bond involves:
- Electrostatic attraction between O(-) and H(+)
- Exchange-repulsion at short distances
- Polarization as the H-bond enhances dipoles - we're going to ignore this in our force field
- Dispersion between electron clouds
An interactive force field for the water dimer.
The interactive visualisation below demonstrates combining rules in action. You can adjust Lennard-Jones parameters and partial charges, and and see how they affect the energy of the dimer at different separations.
Use this interactive tool to consider the following questions:
- How correlated are the parameters? I.e. if we change the charge can we adjust something else to compensate
- Can we get the right energy at equilibrium without the right behaviour in general?
- Is it enough to focus on a 1-dimensional slice of the potential energy surface for a water dimer if we were to use this force field for e.g. liquid water?
Interactive Water Dimer Energy Calculator
Parameters
Charges
O-O Parameters
H-H Parameters
Energy Components (@1.00)
Computational Exercises
At it's core, the most simple way to compute a pair energy is via the previously mentioned energy difference:
i.e. we'd need 3 calculations, one for each monomer and one for the pair!
However, in the case of isolated molecules we also need to relax (geometry optimise) each component individually in order to have a fair comparison and an accurate interaction energy.
Throughout these exercises we're going to ignore the relaxation aspect of interactions. It is important, but it makes the calculations take longer and it's just more things to worry about for now. So just pretend it's all there, but keep in mind for the future especially for flexible molecules this can be a major component of the energy.
Exercise 1: Basic Interaction Energy Calculation
Understanding how molecules interact is fundamental to computational chemistry. We'll calculate the interaction energy between two water molecules using the supermolecular approach: .
Basic Water Dimer Interaction Energy
Calculate the interaction energy between two water molecules using HF/3-21G to understand hydrogen bonding.
Step 1: Navigate to the basic directory
Instructions
Navigate to the directory containing the water molecule geometries and set up for the calculation.
Commands
cd awscc_workshop_2025/01_pair_energies/basic/
ls -la *.xyz
Expected Output
A.xyz B.xyz AB.xyz
Notes
A.xyz and B.xyz contain individual water molecules, AB.xyz contains the dimer.
Exercise 2: Basis Set Superposition Error (BSSE) Correction
When calculating interaction energies, basis set superposition error (BSSE) can lead to overestimation of binding. The Boys-Bernardi counterpoise correction addresses this by using ghost atoms to ensure consistent basis sets.
The source of this error is basically that the electrons have more degrees of freedom to relax when the basis set size increases, so if we have a complete basis set for each monomer then there should ideally be no BSSE!.
BSSE Correction with Counterpoise Method
Calculate BSSE-corrected interaction energy for water dimer using the Boys-Bernardi counterpoise procedure with ORCA.
Step 1: Navigate to the BSSE directory
Instructions
Navigate to the BSSE directory and examine the multi-job input file that performs all necessary calculations.
Commands
cd ../BSSE/
ls -la
head -20 bsse.inp
Expected Output
# Calculations for Boys-Bernardi CP correction
#
# --------------------------------------------
# First the monomer. In principle, you only need
# to run it once, but we keep it for clarity.
# --------------------------------------------
! hf 3-21g VeryTightSCF PModel
%id "monomer"
* xyz 0 1
O -0.702196054 -0.056060256 0.009942262
H -1.022193224 0.846775782 -0.011488714
H 0.257521062 0.042121496 0.005218999
*
Notes
The file contains 5 calculations: 2 monomers, 1 dimer, and 2 ghost calculations. If we adjust that to a larger basis set we should see smaller BSSE!
Exercise 3: CE-1P Pairwise Interaction Model
The CE-1P (CrystalExplorer - 1 parameter) model provides physically motivated construction of of interaction energies into electrostatic, exchange, repulsion, polarisation, and dispersion components, useful for understanding the nature of intermolecular interactions.
CE-1P Interaction Energy Decomposition
Calculate and decompose water dimer interaction energy using the CE-1P model in OCC to understand the physical components of hydrogen bonding.
Step 1: Navigate to the CE1P directory
Instructions
Navigate to the CE1P directory and examine the structure. CE-1P requires wavefunction files from SCF calculations.
Commands
cd ../CE1P/
ls -la
cat README.md | head -10
Expected Output
A.xyz B.xyz AB.xyz A.owf.json run_ce1p.sh translate.toml README.md
This folder contains an example of the CE1P pairwise model interaction energy decomposition.
The script will:
1. Run SCF calculations on monomers A and B
2. Generate wavefunction files (.owf.json)
3. Run CE-1P decomposition
Notes
The .owf.json files store wavefunctions needed for the CE-1P analysis.
Method Comparison Summary
Method | Binding Energy (kJ/mol) | Time | Key Advantage |
---|---|---|---|
HF/3-21G | -43.64 | ~0.5 sec | Very fast, but poor accuracy |
HF/3-21G (BSSE-corr) | -25.64 | ~7 s | Systematic improvability, well benchmarked |
CE-1P (ωB97X/def2-SVP) | -24.69 | <0.5 sec | Cheap, accurate, physical insight |
Why do the methods give different binding energies?
- HF/3-21G the direct supermolecule method overestimates binding due to small basis set (BSSE)
- HF/3-21G w/BSSE provides good balance, but can be very expensive for larger dimers
- CE-1P includes all physical components explicitly, giving more accurate results
Key physical insights for water dimer:
- Coulomb dominates (117% of binding) - quantum penetration effects
- Dispersion is modest (9%) but probably essential for accurate binding
Key Takeaways
✓ Thermodynamic foundations: Binding energy connects to thermodynamics through Hess's law
✓ Four(ish) fundamental interactions to consider: Electrostatic, exchange-repulsion, polarization, and dispersion govern intermolecular interactions
✓ Distance dependence: Each force has distinct distance dependence and physical origin
✓ Complex interplay: Real molecules exhibit complex interplay of all forces
✓ Computational methods: Must account for dispersion, things like BSSE
✓ Method choice matters: Speed vs. accuracy trade-offs for different applications. Error cancellation means a 'better' method isn't always better.
Suggested Extension: Advanced Energy Decomposition with LED
For those interested in a more sophisticated energy decomposition analysis, Local Energy Decomposition (LED) provides detailed insights into intermolecular interactions at the coupled cluster level.
Local Energy Decomposition (LED) Analysis
LED decomposes DLPNO-CCSD(T) energies into physically meaningful components. This method is available in ORCA and provides highly accurate interaction energies with detailed breakdowns.
You can check this out in the LED
directory, or looking at the ORCA documentation