Create an Interface with Minimal Strain (ZSL)¶
1. Introduction¶
Create an interface between two materials with minimal strain: a substrate slab and a film slab, each of a chosen orientation, thickness and termination, matched with the Zur and McGill superlattice (ZSL) algorithm. The interface is built from one of the matches found, by default the one with the lowest strain and the fewest atoms.
2. Open the notebook¶
In JupyterLite, the notebook is made/create_interface_with_min_strain_zsl.ipynb, entry 2.1.1 "Interface with Zur and McGill Superlattice (ZSL) strain matching" of made/Introduction.ipynb.
3. Set the parameters¶
Cell 1.1 holds the parameters:
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 30 31 32 33 34 | |
SUBSTRATE_INDEX and FILM_INDEX pick the substrate and the film from the input materials; with one input material, it is used as both. INTERFACE_DISTANCE = None estimates the gap from the radial distribution functions of the two materials. selected_index in cell 2.9 picks the match, 0 being the one with the lowest strain and the fewest atoms. FILM_MILLER_INDICES, FILM_THICKNESS and FILM_TERMINATION_FORMULA, and their SUBSTRATE_ counterparts, set the orientation, thickness and termination of each slab. The overview explains MAX_AREA and the tolerances, INTERFACE_DISTANCE and INTERFACE_VACUUM.
4. Run and read the result¶
Run the notebook with Run > Run All. Cell 2.8 plots the matches found by strain and number of atoms, and section 4 shows the interface from the top and from the side.
The builder labels each atom with the part it belongs to: 0 for the substrate and 1 for the film. The interface is named <film>-<substrate>, Interface, Strain <strain>pct, with the formula and Miller indices of each slab. The last cell calls set_materials(interface), which passes the interface to Materials Designer and writes it to the uploads folder, as in Structure Notebooks.
5. Interactive JupyterLite notebook¶
The interactive JupyterLite notebook for creating an interface with minimal strain can be accessed below.
6. Related¶
The Valence Band Offset notebook computes the valence band offset of the interface this notebook saves.
The following specific examples build their interfaces with this notebook: Cu / SiO2 Interface, Graphene / SiO2 Interface, High-k Metal Gate Stack and Gr/Ni(111) Interface Optimization.
The pymatgen documentation describes the ZSL implementation the notebook uses.