Molecular and Periodic Calculations

by Corin Wagen · Nov 27, 2024

In computational chemistry, there are two types of calculations: molecular and periodic. This distinction is incredibly fundamental, but often underappreciated by people without deep computational experience. In this post, we’ll examine the differences between molecular and periodic calculations and discuss when each sort of calculation is appropriate.

Molecular Calculations

Molecular calculations study finite molecular systems: isolated molecules or groups of molecules surrounded by a vacuum (or a dielectric field). This is good for studying small molecules, molecular clusters, or even larger biomolecules.

A single ibuprofen molecule

This molecule is surrounded by a vacuum.

Molecular calculations generally employ atom-centered real-space basis functions (like 6-31G(d), def2-TZVP, and so on). Since the systems under study are finite, a wide variety of advanced techniques can be used, like hybrid DFT functionals with long-range exact exchange or post-Hartree–Fock “gold standard” methods like coupled-cluster theory. It’s possible to benchmark calculations in molecular systems with very high precision and rigorously approach or even exceed the accuracy of experimental values.

Most computational organic chemistry papers, like those exploring reaction mechanisms or homogenous catalyst design, employ molecular calculations. (Common programs like Gaussian, ORCA, TeraChem, Q-Chem, TURBOMOLE, and Psi4 almost always run molecular calculations.) This is possible because solvent effects can be modeled “implicitly” through solvent field methods like PCM, CPCM, and SMD, so there’s no need to model vast numbers of solvent molecules.

Periodic Calculations

Molecular calculations are ill-suited to modeling continuous systems, like bulk liquids or solids: cutting out a chunk of these systems and modeling them with molecular calculations introduces significant edge effects. To solve this problem, we can use periodic calculations. Periodic calculations model infinite systems by using a repeating unit cell, where the molecule or group of molecules “sees” itself tiled infinitely in all dimensions.

For instance, here’s a snapshot of seven periodic boxes of solid naphthalene. Where the molecule extends out of one side of the cell, it comes back on the other side:

A periodic expanse of naphthalene

You can see that some atoms or molecules are “cut” by the unit cell boundaries; that’s very normal. (You can view this calculation on Rowan.)

A wide suite of programs can be used to run periodic calculations, including VASP, Quantum ESPRESSO, FHI-aims, CP2K, and others. Most periodic DFT calculations employ plane-wave basis sets, although some periodic codes use atom-centered basis sets. This leads to a set of complex tradeoffs, which can be summarized in this excellent discussion. Most of the high-accuracy methods used in molecular DFT are unavailable to periodic DFT, making it considerably more challenging to benchmark periodic calculations in silico, and causing downstream inaccuracies in e.g. small molecule torsions.

Periodic calculations are great for a lot of tasks. To name just a few:

Running Molecular and Periodic Calculations

As mentioned above, most tools in computational chemistry are intended for either periodic systems or molecular systems, not both. As a result, two largely separate ecosystems of researchers, software, and publications have emerged, and it’s not uncommon for a given scientist to have extensive experience in molecular systems while never having run a periodic calculation.

However, recent advances in semiempirical methods and neural network potentials (NNPs) have made it possible to treat periodic and molecular calculations on the same footing. The xTB family of semi-empirical methods from Grimme and co-workers has full support for periodic systems, while graph-based NNPs like AIMNet2 and OMat24 can naturally work on both periodic and molecular systems. These methods are also orders of magnitude faster than conventional DFT methods, making them an appealing choice for rapid exploration or high-throughput in silico screening. For instance, this 250+ atom graphene system would take hours or days with DFT methods, but runs in only a few minutes with AIMNet2:

Rowan provides a unified interface for running both molecular and periodic calculations, making it simple to switch between different paradigms. Periodic cells will automatically be detected from input files as applicable, and these cells can be edited, added, or deleted to any structure in the Rowan platform. Both periodic and molecular optimizations can be conducted; Rowan will automatically adjust the optimizer and constraint schemas to make sure that calculations run as expected.

Banner background image

What to Read Next

Hydrogen-Bond-Basicity Predictions for Scaffold Hopping in PDE2A Inhibitors

Hydrogen-Bond-Basicity Predictions for Scaffold Hopping in PDE2A Inhibitors

How new computational workflows can make it possible to design complex modifications to heterocyclic cores.
Feb 14, 2025 · Corin Wagen
Intrinsic Reaction Coordinates

Intrinsic Reaction Coordinates

expanding Rowan's reaction modeling toolkit; verifying transition states; reaction mechanism insights
Feb 6, 2025 · Jonathon Vandezande and Ari Wagen
Reactions from the Bottom Up

Reactions from the Bottom Up

Building up an understanding of how energy barriers and the potential energy surface affect the rate of a reaction.
Feb 4, 2025 · Jonathon Vandezande
A New RDKit-Native API

A New RDKit-Native API

cultural barriers in science; integrating RDKit with quantum chemistry; Rowan's new API; changes to billing
Jan 31, 2025 · Corin Wagen and Spencer Schneider
Hydrogen-Bond Basicity Prediction Made Easy

Hydrogen-Bond Basicity Prediction Made Easy

not all hydrogen-bond donors are created equal; the pKBHX scale; predicting pKBHX in Rowan; case studies & a preprint
Jan 24, 2025 · Corin Wagen
Efficient Black-Box Prediction of Hydrogen-Bond-Acceptor Strength

Efficient Black-Box Prediction of Hydrogen-Bond-Acceptor Strength

Here, we report a robust black-box workflow for predicting site-specific pKBHX values in organic molecules with minimal computational cost.
Jan 24, 2025 · Corin C. Wagen
Benchmarking NNPs, Orb-v2, and MACE-MP-0

Benchmarking NNPs, Orb-v2, and MACE-MP-0

benchmarking as driver of systematic methodological improvement; our new benchmarking website; new NNPs on Rowan; GPU-based inference coming to more users
Jan 17, 2025 · Ari Wagen
Density-Functional-Theory Functionals Quiz

Density-Functional-Theory Functionals Quiz

Ready to test your knowledge of density-functional-theory functionals in a multiple-choice game of "real or fake"?
Jan 10, 2025 · Jonathon Vandezande
Wiggle150: Benchmarking Density Functionals And Neural Network Potentials On Highly Strained Conformers

Wiggle150: Benchmarking Density Functionals And Neural Network Potentials On Highly Strained Conformers

We introduce Wiggle150, a benchmark comprising 150 highly strained conformations of adenosine, benzylpenicillin, and efavirenz, to validate computational protocols involving non-equilibrium systems and guide the development of new density functionals and neural network potentials.
Jan 8, 2025 · Joseph Gair, Corin Wagen, et al., ChemRxiv
The "Charlotte's Web" of Density-Functional Theory

The "Charlotte's Web" of Density-Functional Theory

A layman's guide to cutting your way through the web of DFT functionals, explaining GGAs, mGGAs, hybrids, range-separated hybrids, double hybrids, and dispersion corrections.
Dec 20, 2024 · Jonathon Vandezande