Skip to content

Create an Interface with No Strain Matching

1. Introduction

Create an interface of two materials without strain matching: a film slab placed on a substrate slab at a given distance, in the cell of the substrate slab.

2. Open the notebook

In JupyterLite, the notebook is made/create_interface_with_no_strain_matching.ipynb, entry 2.1.3 "Interface without 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
# Create slabs for the film and substrate when creating the interface, otherwise use provided materials directly.
CREATE_SLABS = True

FILM_INDEX = 1
FILM_MILLER_INDICES = (0, 0, 1)
FILM_THICKNESS = 1  # in atomic layers
FILM_VACUUM = 0.0  # in angstroms
FILM_TERMINATION_FORMULA = None  # if None, the first termination will be used
FILM_XY_SUPERCELL_MATRIX = [[1, 0], [0, 1]]
FILM_USE_ORTHOGONAL_C = True
FILM_XY_SHIFT = [0.0, 0.0]  # in Angstroms, shift the film slab in the XY plane relative to the substrate slab

SUBSTRATE_INDEX = 0
SUBSTRATE_MILLER_INDICES = (1, 1, 1)
SUBSTRATE_THICKNESS = 3  # in atomic layers
SUBSTRATE_VACUUM = 3.0  # in angstroms
SUBSTRATE_TERMINATION_FORMULA = None  # if None, the first termination will be used
SUBSTRATE_XY_SUPERCELL_MATRIX = [[1, 0], [0, 1]]
SUBSTRATE_USE_ORTHOGONAL_C = True

# Whether to convert materials to conventional cells before creating slabs.
USE_CONVENTIONAL_CELL = False

INTERFACE_DISTANCE = 3.0  # in Angstrom
INTERFACE_VACUUM = 20.0  # in Angstrom

SUBSTRATE_INDEX and FILM_INDEX pick the substrate and the film from the input materials; with one input material, it is used as both. CREATE_SLABS = False uses the two materials as the slabs as they are.

The SUBSTRATE_ and FILM_ variables set the orientation, thickness and vacuum, the supercell and the termination of each slab. FILM_XY_SHIFT shifts the film in the surface plane.

With INTERFACE_DISTANCE = None, the gap is estimated from the radial distribution functions of the two materials. The overview explains USE_CONVENTIONAL_CELL, INTERFACE_DISTANCE and INTERFACE_VACUUM.

4. Run and read the result

Run the notebook with Run > Run All. The notebook shows the slabs of every termination of the film and of the substrate, prints the interfacial distance, shows the interface 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 an interface with no strain matching can be accessed below.

The specific example High-k Metal Gate Stack uses this notebook.