Create a Twisted Interface between Nanoribbons¶
1. Introduction¶
Create a twisted interface of two nanoribbons: the nanoribbons are stacked, the top one rotated by a twist angle.
2. Open the notebook¶
In JupyterLite, the notebook is made/create_twisted_interface_with_nanoribbons.ipynb, entry 2.2.1 "Twisted Nanoribbon Interface/Stack" 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 | |
FILM_INDEX and SUBSTRATE_INDEX pick the materials of the two ribbons from the input materials.
TARGET_TWIST_ANGLE rotates the top ribbon, and INTERFACE_DISTANCE is the gap between the ribbons.
RIBBON_WIDTH and RIBBON_LENGTH are the size of each ribbon in unit cells, and VACUUM_WIDTH and VACUUM_LENGTH the vacuum around it in angstroms. VACUUM_X and VACUUM_Y add vacuum along x and y on both sides of the interface.
4. Run and read the result¶
Run the notebook with Run > Run All. The notebook prints the twist angle, the number of atoms and the name of the interface, shows it from the top and from the side, appends the angle to the name and passes it back with set_materials, as in Structure Notebooks.
5. Interactive JupyterLite notebook¶
The interactive JupyterLite notebook for creating a twisted interface between nanoribbons can be accessed below.
6. Related¶
The specific example Twisted Bilayer h-BN Nanoribbons uses this notebook.