File: dissociation.rst

package info (click to toggle)
python-ase 3.26.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,484 kB
  • sloc: python: 148,112; xml: 2,728; makefile: 110; javascript: 47
file content (29 lines) | stat: -rw-r--r-- 994 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
.. _neb2:
.. _mep2:

===============================================
Dissociation of a molecule using the NEB method
===============================================

In this tutorial we provide an illustrative
example of a nudged-elastic band (NEB) calculation.
For more information on the NEB technique, see :mod:`ase.mep.neb`.
We consider the dissociation of a nitrogen molecule 
on the Cu (111) surface.

The first step is to find the relaxed structures
of the initial and final states.

.. literalinclude:: N2Cu-Dissociation1.py

Having obtained these structures we set up an NEB
calculation with 9 images.  Using :func:`~neb.interpolate()`
provides a guess for the path between the initial
and final states.  We perform the relaxation of the images
and obtain the intermediate steps.

.. literalinclude:: N2Cu-Dissociation2.py

After the calculation is complete, the energy difference
with respect to the initial state is given for each image,
as well as the distance between the N atoms.