Create a Grain Boundary in a 2D Material¶
1. Introduction¶
Create a grain boundary in a 2D material: two orientations of the material, commensurate and rotated relative to each other by an angle close to a target, placed next to each other along x with a gap between them.
2. Open the notebook¶
In JupyterLite, the notebook is made/create_grain_boundary_film.ipynb, entry 3.2.1 "Grain Boundary Linear" 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 | |
MATERIAL_INDEX picks the input material to use.
BOUNDARY_GAP is the gap between the two orientations along x, in angstroms, and MILLER_INDICES the plane of the matching. The overview explains TARGET_TWIST_ANGLE and VACUUM.
MAX_REPETITION is the largest element of the supercell matrices the search tries.
4. Run and read the result¶
Run the notebook with Run > Run All. The notebook prints the target angle, the angle found and the number of atoms, shows the grain boundary from the top and from the side and passes it back with set_materials, as in Structure Notebooks.
5. Interactive JupyterLite notebook¶
The interactive JupyterLite notebook for creating a linear grain boundary can be accessed below.