Relax an Interface with the EMT Potential¶
1. Introduction¶
Relax the atomic positions of an interface with the EMT potential and the BFGS optimizer of ASE. EMT covers Al, Cu, Ag, Au, Ni, Pd and Pt, and H, C, N and O in a limited way; for an interface with other elements, the relaxation is not performed.
2. Open the notebook¶
In JupyterLite, the notebook is made/create_interface_with_relaxation_ase_emt.ipynb, entry 2.1.2 "Interface with ASE EMT Relaxation" of made/Introduction.ipynb.
3. Set the parameters¶
The input material is an interface, for example the one the Interface with Minimal Strain (ZSL) notebook creates.
Cell 1.1 holds the parameters:
1 2 3 | |
MATERIAL_INDEX picks the interface from the input materials. FMAX is the maximum force at which the relaxation stops, in eV/Å. Cell 2.1 sets the calculator and the optimizer.
4. Run and read the result¶
Run the notebook with Run > Run All. The notebook plots the energy at each optimization step, shows the interface before and after the relaxation, and prints the energies of the starting and the relaxed interface and the interfacial energy, in eV. It appends , Relaxed with EMT to the name and passes it back with set_materials, as in Structure Notebooks.
5. Interactive JupyterLite notebook¶
The interactive JupyterLite notebook for relaxing an interface with the EMT potential can be accessed below.