| tags | hide | render_macros | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
true |
This tutorial demonstrates how to create an oxygen interstitial defect in tin monoxide (SnO), following the methodology described in the literature.
!!!note "Manuscript" A. Togo, F. Oba, and I. Tanaka "First-principles calculations of native defects in tin monoxide" Physical Review B 74, 195128 (2006) DOI: 10.1103/PhysRevB.74.195128{:target='_blank'}. [@Togo2006; @Wang2014; @Na-Phattalung2006]
We will recreate the O-interstitial defect structure shown in Fig. 4 a) using Voronoi placement method.
Navigate to Materials Designer and import the SnO material from Standata using the search term "SnO".
Select the "Advanced > JupyterLite Transformation" menu item to launch the JupyterLite environment.
Find and open the create_defect.ipynb notebook. Select "SnO" input material.
We'll modify its parameters to create the Sn-vacancy O-interstitial defects according to the image above.
Replace the default parameters in section 1.1 with:
# Selected material will be used as a unit cell to create a supercell first.
SUPERCELL_MATRIX = [[2, 0, 0], [0, 2, 0], [0, 0, 2]]
DEFECT_CONFIGS = [
{
"type": "vacancy",
"coordinate": [0.0, 0.25, 0.525], # Crystal coordinates
"placement_method": "closest_site",
},
{
"type": "interstitial",
"coordinate": [0.0, 0.25, 0.35], # Crystal coordinates
"element": "O",
"placement_method": "voronoi_site",
},
]Key parameters explained:
First defect:
defect_type: "vacancy" for removing an atomapproximate_coordinate: Position specified in crystal coordinates (Sn as in publication)
Second defect:
defect_type: "interstitial" for adding an extra atomcoordinate: Position specified in crystal coordinateschemical_element: "O" for oxygen interstitialplacement_method: "voronoi_site" to place atom at appropriate interstitial position
Run the notebook by selecting "Run" > "Run All Cells". This will:
- Initialize the defect configuration
- Create the O-interstitial at the specified position
- Generate the final defect structure
After creating the defect, examine the structure to verify:
- O interstitial should be at (0.0, 0.5, 0.5) in crystal coordinates
- Position should be in a void space between Sn-O layers
- Verify symmetry of surrounding atoms
- Check distances to nearest Sn and O atoms
- Verify no unrealistic atom overlaps
- Confirm overall crystal structure is maintained
The defect structure will be automatically passed back to Materials Designer where you can:
- Save it in your workspace
- Export it in various formats
- Use it for further calculations
The following embedded notebook demonstrates the complete process. Select "Run" > "Run All Cells".
{% with origin_url=config.extra.jupyterlite.origin_url %} {% with notebooks_path_root=config.extra.jupyterlite.notebooks_path_root %} {% with notebook_name='specific_examples/defect_point_interstitial_tin_oxide.ipynb' %} {% include 'jupyterlite_embed.html' %} {% endwith %} {% endwith %} {% endwith %}
To adjust the defect creation:
-
Position Adjustment:
- Modify
coordinateto place interstitial at different positions - Try different
placement_methodoptions ("coordinate", "voronoi_site") - Adjust position to match experimental observations
- Modify
-
Structure Size:
- Change
SUPERCELL_MATRIXfor larger/smaller systems - Consider periodic boundary conditions effects
- Change



