Calculate Reaction Energy Profile Using Nudged Elastic Band (NEB) method¶
This tutorial page explains how to calculate the energy reaction profile and activation barrier for the multi-dimensional energy space of chemical reactions via the Nudged Elastic Bands (NEB) method, by making use of the interpolated sets introduced in a separate tutorial.
We consider the example of a one-dimensional, three-atom molecule of Hydrogen (H3) throughout the present tutorial, and shall be making use of Quantum ESPRESSO as the main simulation engine, via the implementation of its
Quantum ESPRESSO version considered in this tutorial
The present tutorial is written for Quantum ESPRESSO at versions 5.2.1, 5.4.0, 6.0.0 or 6.3.
This example considers a simple activated reaction, consisting in the collinear proton transfer reaction:
H2 + H <==> H + H2
In this triatomic reaction, the middle H atom breaks the bond with first atom and forms a molecule with third atom. We will thus calculate the energy activation barrier of this reaction. This same example is also offered as part of the Quantum ESPRESSO online documentation 1.
Expand to view ...
We outline here some important aspects of the Workflow used for executing NEB calculations on our platform via Quantum ESPRESSO, which is composed of a single main unit.
NEB calculations are performed through the "neb.x" Quantum ESPRESSO Executable. The input parameters for this executable are described in Ref. 4 of this page, and can be customized by the user via the unit input template editor within the Workflow Designer Interface.
Within the neb.x input script, we note in particular the need for the Broyden algorithm instead of the default one, for numerically solving iterative minimization and optimization problems such as the structural relaxations performed on the interpolated set images during the course of the NEB computation. This helps to remove the problem of ”oscillations” in the calculated activation energies. If these oscillations persist, and the user cannot afford more images, he/she should focus on smaller problems by decomposing the original one into pieces.
Number of Images¶
The number of image points used to discretize the reaction path, as defined by the interpolated set of images to be considered for the NEB calculation, is defined by the
num_of_images input parameter, and must be larger than 3 (including the initial and final images).
The number of intermediate NEB images should be set under the "neb" section of the "Important Settings" Tab within the Workflow Designer Interface, for their automatic generation by Quantum ESPRESSO (without consequently the need to import an interpolated set manually, as described later in this page).
The NEB simulation stops when the error (the norm of the force orthogonal to the path in eV/A) is less than the
path_thr input parameter.
Structure of Images¶
Atomic positions for all the images are specified within the
BEGIN_POSITIONS / END_POSITIONS delimiters, where each instance of
ATOMIC_POSITIONS card is prefixed either by
LAST_IMAGE keywords, depending on its position within the overall order of the interpolated set under consideration.
We start with opening an instance of the Job Designer Interface for creating and designing new computational Jobs on our platform.
Import Interpolated Set¶
The Interpolated Set generated in this other tutorial under the name "NEB CONSTRAINED SET", containing the initial, final and a total of 3 intermediate images of the H3 molecule under investigation (including atomic constraints along the single dimension of the molecule), should then be selected and imported into the "Materials Viewer" Tab of the NEB job being designed. This is done by selecting all images contained in the set at the moment of import.
Workflows for calculating the reaction energy profile of chemical molecules via NEB with Quantum ESPRESSO can readily be imported from the Workflows Bank into the account-owned collection. This workflow can later be selected and added to the Job being created.
Size of grid of k-points
The user should take care to set the size of the grid of reciprocal k-points (kgrid) to 1 x 1 x 1 under the "Important Settings" Tab of the Workflow Designer Interface, since we are presently dealing with single molecules as opposed to periodic crystalline structures.
Before submitting the job, the user should click on the "Compute" tab of Job Designer and examine the compute parameters included therein. The H3 molecules being considered in the present tutorial are relatively small structures, hence 4 CPUs and a few minutes of calculation runtime should be sufficient.
Examine Final Results¶
When the NEB computation is complete at the end of Job execution, switching to the Results tab of Job Viewer will show the Reaction Energy Profile for the H3 molecules under investigation, plotted in the form of an energy curve as a function of the one-dimensional reaction coordinate that is varied from the initial to final configuration.
An example of such a reaction energy profile is shown in the image below, in which the intermediate activation energy barrier between reactants and products is clearly visible.
Retrieve Final Optimized Images¶
The final optimized image structures can be retrieved at the end of Job execution according to the instructions contained in this page.
NEB with Manually-Generated Images¶
We demonstrate the above-mentioned steps involved in the creation and execution of an NEB-based reaction energy profile computation on H3 molecules using the Quantum ESPRESSO simulation engine in the following animation.
Here, we have made use of the constrained interpolated set containing 3 intermediate images generated manually in a separate tutorial. It can be deduced from the final result for the energy reaction profile that the size of the activation barrier in this case is of 0.2 eV. This result is in good agreement with those published in the literature for the same collinear proton transfer chemical reaction (see for example page 26 in Ref. 2).
NEB with Automatically Generated Images¶
We can repeat the same reaction profile calculation for H3 molecules as above, but this time taking advantage of the Quantum ESPRESSO feature for the automatic generation of intermediate images mentioned previously. This effectively makes it redundant to import manually an interpolated set, such as was done in the previous video.
This feature can be enabled by selecting an appropriate number of intermediate images to be generated under the "Important Settings" Tab of the Workflow Designer Interface, as demonstrated in the following animation, where we select to generate a total of 5 intermediate images. In this case, only the initial and final images need to be imported manually into Job Designer.