Finding Transition States with NEB-TS#
Suppose you wanted to predict the transition state (TS) for the hydrolysis of methyl-acetate into acetic acid and methanol:
Maybe you need to investigate the mechanism, or even to compute the \(\Delta G^\ddagger\) and try to predict reaction rates. How could one do that using theory?
In ORCA there is a black box method called NEB-TS (from Nudged Elastic Band with TS optimization), that can find the TS structure only from the geometries of the reactants and products!
Defining your reactants and products#
So the first step is to optimize the "reactants" and "products".
Important
Please, have in mind that reactants and products means everything that is left and right of the arrow. Accordingly, the encounter complex of the reacting molecules has to be provided in one single structure file. The same is required for the products.
Hint
Reasonably pre-oriented encounter complexes significantly increase the probability of a successful TS search.
In this example we will use Grimme's efficient PBEh-3c composite method. The corresponding input looks like:
!PBEh-3c OPT
Important
In order for the NEB-TS to work, the atom numbering in both reactant and product geometries must be the same. Which means that a given carbon on the reactant, should have the same order in the xyz table in the product. The best way to guarantee this is to start from one geometry, make a copy and move the atoms to draw the next structure.
Note
If using Avogadro, you have to disable the Adjust Hydrogen
feature, otherwise atoms will be automatically placed when a bond is broken, and not necessarily where you want them to be.
The NEB-TS input#
With the optimized reactants and products at hand, we can create the NEB-TS input which is quite simple. NEB-TS is requested via the NEB-TS
keyword and all other settings are defined in the
%NEB
block. To verify that our probably found TS is reasonable we also request a final vibrational frequencies calculation.
!PBEh-3c NEB-TS FREQ
%NEB
NEB_END_XYZFILE "product.xyz"
END
*XYZFILE 0 1 reactant.xyz
In case you have a guess structure for a potential TS as well, that can be included as:
!PBEh-3c NEB-TS FREQ
%NEB
NEB_END_XYZFILE "product.xyz"
NEB_TS_XYZFILE "guessTS.xyz"
END
* XYZFILE 0 1 reactant.xyz
Note
The reactant and products will not be optimized during the default run, so make sure you are using the
same method you chose for the previous optimization. If you want to reoptimize them automatically, set PREOPT_ENDS TRUE
in the %NEB
block.
Running the NEB-TS#
With our input being set up, we can start the NEB-TS calculation. The first output contains some details of the method.
----------------------
NEB settings
----------------------
Method type .... climbing image
Threshold for climbing image .... 2.00e-02 Eh/Bohr
Free endpoints .... off
Tangent type .... improved
Number of intermediate images .... 8
Number of images free to move .... 8
Spring type for image distribution .... distance between adjacent images
Spring constant .... energy weighted (0.0100 -to- 0.1000) Eh/Bohr^2
Spring force perp. to the path .... none
Generation of initial path .... image dependent pair potential
Initial path via TS guess .... off
[...]
Then, comes the construction of a initial path:
Generation of the initial path:
Two fragments detected in initial structure. Preparing initial structure... Done
Minimize RMSD between reactant and product configurations .... done
RMSD before minimization .... 2.1833 Bohr
RMSD after minimization .... 1.7369 Bohr
Performing linear interpolation .... done
Fragment preparation .... true
Bond cutoff factor .... 1.200e+00
Max. fragment distance .... 3.500e+00 Ang.
Interpolation using .... IDPP (Image Dependent Pair Potential)
IDPP-Settings:
Initial path for IDPP optimization .... Linear interpolation
Pairwise distance interpolation .... Linear
Remove global transl. and rot. .... true
Convergence tolerance .... 0.0100 1/Ang.^3
Max. number of iterations .... 7000
Spring constant .... 1.0000 1/Ang.^4
Time step .... 0.0100 fs
Max. movement per iteration .... 0.0500 Ang.
Full print .... false
idpp initial path generation successfully converged in 130 iterations
Displacement along initial path: 12.1839 Bohr
Writing initial trajectory to file .... nebts_initial_path_trj.xyz
The initial path is saved in basename_initial_path_trj.xyz
, and it is recommended to check if that makes sense. In this case, we get the following sequence of eight "images":
which looks reasonable, with the proton being transferred from the water to the methanol as it leaves.
Note
Trajectory files are simply multixyz files containing several structures one after the other. Chemcraft, Molden and some other software can open those directly. Avogadro requires going to "Extensions" -> "Animation..." and the file can be opened and even animated.
Then, the iterative process starts:
Starting iterations:
Optim. Iteration HEI E(HEI)-E(0) max(|Fp|) RMS(Fp) dS
Switch-on CI threshold 0.020000
LBFGS 0 5 0.372340 0.129615 0.029150 12.1839
LBFGS 1 5 0.352980 0.104320 0.024586 12.1349
LBFGS 2 5 0.340743 0.140351 0.026619 12.1315
LBFGS 3 5 0.326472 0.097524 0.019838 12.1426
[...]
and after some convergence, a "climbing image" (CI) is found:
Image 6 will be converted to a climbing image in the next iteration (max(|Fp|) < 0.0200)
Optim. Iteration CI E(CI)-E(0) max(|Fp|) RMS(Fp) dS max(|FCI|) RMS(FCI)
Convergence thresholds 0.020000 0.010000 0.002000 0.001000
LBFGS 49 6 0.130964 0.016940 0.003526 15.3056 0.017426 0.005167
LBFGS 50 6 0.129316 0.045416 0.007419 15.4226 0.040132 0.010358
LBFGS 51 6 0.126481 0.067751 0.011014 15.6647 0.050468 0.013683
LBFGS 52 6 0.124766 0.022067 0.004391 15.6905 0.022698 0.006567
[...]
This is our first guess to the TS final structure.
Optimization of the TS#
After some iterations, the NEB-CI converges:
.--------------------.
----------------------| CI-NEB convergence |-------------------------
Item value Tolerance Converged
---------------------------------------------------------------------
RMS(Fp) 0.0013467524 0.0100000000 YES
MAX(|Fp|) 0.0142691584 0.0200000000 YES
RMS(FCI) 0.0006034194 0.0010000000 YES
MAX(|FCI|) 0.0016044259 0.0020000000 YES
---------------------------------------------------------------------
The elastic band and climbing image have converged successfully to a MEP in 102 iterations!
*********************H U R R A Y*********************
*** THE NEB OPTIMIZATION HAS CONVERGED ***
*****************************************************
and a transition state optimization starts. First, a guess Hessian matrix is built using information from the previous NEB and a saddle point search is initiated.
If the TS is fully optimized, a summary for the whole NEB-TS is printed:
***********************HURRAY************************
*** THE TS OPTIMIZATION HAS CONVERGED ***
*****************************************************
---------------------------------------------------------------
PATH SUMMARY FOR NEB-TS
---------------------------------------------------------------
All forces in Eh/Bohr. Global forces for TS.
Image E(Eh) dE(kcal/mol) max(|Fp|) RMS(Fp)
0 -344.08225 0.00 0.00014 0.00003
1 -344.07675 3.45 0.00232 0.00071
2 -344.07387 5.26 0.01427 0.00363
3 -344.07067 7.27 0.00282 0.00105
4 -344.04841 21.23 0.00130 0.00058
5 -344.01506 42.16 0.00124 0.00056
6 -343.99728 53.32 0.00150 0.00060 <= CI
TS -343.99864 52.47 0.00013 0.00005 <= TS
7 -344.03091 32.22 0.00151 0.00061
8 -344.06788 9.02 0.00179 0.00073
9 -344.07676 3.45 0.00026 0.00009
and the frequencies of the TS are computed, to verify if that has only one negative frequency. The result for this case is:
-----------------------
VIBRATIONAL FREQUENCIES
-----------------------
Scaling factor for frequencies = 1.000000000 (already applied!)
0: 0.00 cm**-1
1: 0.00 cm**-1
2: 0.00 cm**-1
3: 0.00 cm**-1
4: 0.00 cm**-1
5: 0.00 cm**-1
6: -1192.35 cm**-1 ***imaginary mode***
7: 40.41 cm**-1
8: 136.38 cm**-1
9: 209.70 cm**-1
[...]
proving that the optimized TS structure is indeed a saddle point.
The final trajectory from the reactants to products can be read from basename_MEP_trj.xyz
, and the final transition state geometry, saved in basename_NEB-TS_converged.xyz
is:
One can see that the TS has a tetrahedral carbon atom, as expected from the experimental mechanism, and there is a concerted transfer of proton to the leaving methoxy group.
Note
This calculation was run in gas phase to simplify the explanation. If one includes the solvent, the mechanism will be more complex and the proton transfer can occur, possibly, through an external water molecule.
Possible intermediates#
During the NEB-CI process, the following message could appear:
Possible intermediate minimum found at image(s): 7
=> have a look at the .interp file.
=> it is often a good idea to divide the path calculation into smaller fragments.
This message indicates that a local minimum was detected along the reaction path. Actually, there could be even more than one. If this is the case as demonstrated in the exemplary reaction diagram below, one should consider to further optimize these intermediates and rerun NEB-TS to localize their connecting transition states to obtain the full picture of the reaction mechanism.
NEB for excited states#
The NEB and NEB-TS algorithm can also be used for excited states in combination with TD-DFT. To do so, simply add the respective %tddft
block to your input:
! NEB-TS
%NEB
PRODUCT "product.xyz"
END
%TDDFT
NROOTS 1
IROOT 1
END
Structures#
Reactant
14
C -3.91182471867804 -0.29740337562449 -0.08146991239299
C -2.55541244064569 0.30686965486155 0.14448997964370
H -4.04778109653590 -1.17478518607501 0.55114544766598
H -4.01760096751969 -0.62864793467515 -1.11447676001953
H -4.68756038254056 0.42811501690492 0.14372689072078
O -1.58890277145472 -0.55120693780504 -0.15332142945001
C -0.24124898702283 -0.11849073979619 0.01881053299661
H -0.00551048853087 0.73223540459326 -0.62014731745322
H 0.37809289862192 -0.96512901217128 -0.26312407178767
H -0.03357349341397 0.15523590534200 1.05285605881498
O -2.36577790365828 1.42614928705777 0.54645130784169
O 0.16419926236366 2.97730296461285 1.12447893057070
H -0.05730841690068 3.84720465678396 1.45600240984125
H -0.68288049408434 2.54915029599085 0.96617793300773
Product
14
C -2.95446510188526 -0.23525275443810 -0.10550187831397
C -2.20930026825989 0.97989509541554 0.35668736033914
H -3.59995668590411 -0.60519475737244 0.69227878475167
H -2.26734074134479 -1.04298213356273 -0.35902842132034
H -3.56563817887517 0.01067253660282 -0.96824180822463
O 0.06594033182687 -1.89635100025044 0.33206273764187
C 0.96141448329986 -1.23467580278127 -0.52101365975636
H 0.50574570186175 -0.39870488204523 -1.06652943738273
H 1.30859855820204 -1.95448015263317 -1.26125442630102
H 1.84593979621532 -0.84847254373077 -0.00020954863231
O -2.31618373645267 2.08782431296547 -0.08278492123435
O -1.36964775834650 0.69085118655374 1.37267097866883
H -0.93013901170627 1.50922486419084 1.64014730723366
H -0.23867738863116 -1.26789396891424 0.99098693253054