Skip to content

Create a Nanoribbon of a 2D Material

1. Introduction

Create a nanoribbon from a 2D material with a hexagonal lattice.

2. Open the notebook

In JupyterLite, the notebook is made/create_nanoribbon.ipynb, entry 1.4.1 "Nanoribbons. Create nanoribbons from 2D materials" of made/Introduction.ipynb.

3. Set the parameters

Cell 1.1 holds the parameters:

1
2
3
4
5
6
7
8
9
# Index in the list of materials, to access as materials[MATERIAL_INDEX]
MATERIAL_INDEX = 0

# Widths and lengths are in number of unit cells
WIDTH = 4 # in unit cells
LENGTH = 10 # in unit cells
VACUUM_WIDTH = 10.0 # in Angstroms
VACUUM_LENGTH = 10.0 # in Angstroms
EDGE_TYPE = "zigzag" # "zigzag" or "armchair"

MATERIAL_INDEX picks the input material to use.

WIDTH and LENGTH are the size of the nanoribbon in unit cells, and VACUUM_WIDTH and VACUUM_LENGTH the vacuum along each direction in angstroms. EDGE_TYPE is "zigzag" or "armchair".

4. Run and read the result

Run the notebook with Run > Run All. The notebook shows the nanoribbon and passes it back with set_materials, as in Structure Notebooks.

5. Interactive JupyterLite notebook

The interactive JupyterLite notebook for creating a nanoribbon can be accessed below.

The following specific examples use this notebook: Vacancy Defect in h-BN and Ripple Perturbation in Graphene.