Create a Nanowire¶
1. Introduction¶
Create a cylindrical nanowire from a bulk material. The wire is cut along the z axis of a slab with the given Miller indices and, optionally, rotated to lie along x.
2. Open the notebook¶
In JupyterLite, the notebook is made/create_nanowire.ipynb, entry 1.3.1 "Nanowires. Create a nanowire from a bulk material" of made/Introduction.ipynb.
3. Set the parameters¶
The notebook takes the first of the input materials.
Cell 1.1 holds the parameters:
1 2 3 4 5 | |
RADIUS and LENGTH are the size of the wire in angstroms. ALIGN_ALONG_X = True rotates the wire to lie along x; with False, it lies along z. The overview explains MILLER_INDICES and VACUUM.
4. Run and read the result¶
Run the notebook with Run > Run All. The notebook shows the nanowire from three directions and passes it back with set_materials, as in Structure Notebooks.
5. Interactive JupyterLite notebook¶
The interactive JupyterLite notebook for creating a nanowire can be accessed below.