Skip to content

Commit 9e647e2

Browse files
authored
Merge pull request #313 from Exabyte-io/feature/SOF-7525
Feature/SOF-7525 Add O-interstitial in SnO Tutorial
2 parents 1fa8e5a + 4939c95 commit 9e647e2

File tree

6 files changed

+170
-0
lines changed

6 files changed

+170
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:656e9d2110bf4900e0452bdf177f570d5e739674ce826ee54017b56d5d85189c
3+
size 21374
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:00527b339bae13e06fbc08f6c3526943c7d2b06fca7dd2b3ca5f5f592fc629d3
3+
size 21422
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:93378c6f0741f14a043c39d41f66f0580feb70cbb3bbbc86b83e3bd3b18ef66d
3+
size 105306
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:37315eeb73952e0be66e37716b9bb3efd21285177ce366e1fc1d8fc269cc2b2b
3+
size 13304
Lines changed: 157 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,157 @@
1+
---
2+
# YAML header
3+
render_macros: true
4+
---
5+
6+
# Oxygen interstitial Defect(s) in SnO.
7+
8+
## Introduction
9+
10+
This tutorial demonstrates how to create an oxygen interstitial defect in tin monoxide (SnO), following the methodology described in the literature.
11+
12+
!!!note "Manuscript"
13+
A. Togo, F. Oba, and I. Tanaka
14+
"First-principles calculations of native defects in tin monoxide"
15+
Physical Review B 74, 195128 (2006)
16+
[DOI: 10.1103/PhysRevB.74.195128](https://doi.org/10.1103/PhysRevB.74.195128){:target='_blank'}.
17+
18+
We will recreate the O-interstitial defect structure shown in Fig. 4 a) using [Voronoi](https://github.com/Exabyte-io/made/blob/9e13b350eaaa5d49c81a3b30f76c165480825d72/src/py/mat3ra/made/tools/build/defect/builders.py#L125) placement method.
19+
20+
![SnO O-interstitial](/images/tutorials/materials/defects/defect_point_interstitial_tin_oxide/0-figure-from-manuscript.webp "O-interstitial defect in SnO")
21+
22+
## 1. Prepare Base Structure
23+
24+
### 1.1. Load Base Material
25+
26+
Navigate to [Materials Designer](../../../materials-designer/overview.md) and import the SnO material from [Standata](../../../materials-designer/header-menu/input-output/standata-import.md) using the search term "SnO".
27+
28+
![Original SnO](/images/tutorials/materials/defects/defect_point_interstitial_tin_oxide/2-wave-original-material.webp "SnO from Standata, 2x2x2 repetitions")
29+
30+
### 1.2. Launch JupyterLite Session
31+
32+
Select the "Advanced > [JupyterLite Transformation](../../../materials-designer/header-menu/advanced/jupyterlite-dialog.md)" menu item to launch the JupyterLite environment.
33+
34+
### 1.3. Open `create_defect.ipynb` Notebook
35+
36+
Find and open the `create_defect.ipynb` notebook. Select "SnO" input material.
37+
38+
We'll modify its parameters to create the Sn-vacancy O-interstitial defects according to the image above.
39+
40+
### 1.4. Set Defect Parameters
41+
42+
Replace the default parameters in section 1.1 with:
43+
44+
```python
45+
# Supercell parameters
46+
SUPERCELL_MATRIX = [[2, 0, 0], [0, 2, 0], [0, 0, 2]]
47+
48+
# Defect parameters
49+
DEFECT_CONFIGS = [
50+
{
51+
"defect_type": "vacancy",
52+
# Coordiante will be resolved to nearest atom
53+
"approximate_coordinate": [0.0, 0.25, 0.525],
54+
},
55+
{
56+
"defect_type": "interstitial",
57+
# Coordiante will be resolved to nearest Voronoi site
58+
"coordinate": [0.0, 0.25, 0.35],
59+
"chemical_element": "O",
60+
"placement_method": "voronoi_site"
61+
}
62+
]
63+
```
64+
![Defect Parameters](/images/tutorials/materials/defects/defect_point_interstitial_tin_oxide/3-jl-setup-nb.webp "Defect parameters for O-interstitial in SnO")
65+
66+
Key parameters explained:
67+
68+
First defect:
69+
70+
- `defect_type`: "vacancy" for removing an atom
71+
- `approximate_coordinate`: Position specified in crystal coordinates (Sn as in publication)
72+
73+
Second defect:
74+
75+
- `defect_type`: "interstitial" for adding an extra atom
76+
- `coordinate`: Position specified in crystal coordinates
77+
- `chemical_element`: "O" for oxygen interstitial
78+
- `placement_method`: "voronoi_site" to place atom at appropriate interstitial position
79+
80+
## 2. Create the Defect
81+
82+
### 2.1. Run Supercell Creation
83+
84+
Run the notebook by selecting "Run" > "Run All Cells". This will:
85+
86+
1. Initialize the defect configuration
87+
2. Create the O-interstitial at the specified position
88+
3. Generate the final defect structure
89+
90+
## 3. Analyze Results
91+
92+
After creating the defect, examine the structure to verify:
93+
94+
![SnO with O-interstitial defect](/images/tutorials/materials/defects/defect_point_interstitial_tin_oxide/4-wave-result-material.webp "SnO with O-interstitial defect")
95+
96+
### 3.1. Defect Position
97+
98+
- O interstitial should be at (0.0, 0.5, 0.5) in crystal coordinates
99+
- Position should be in a void space between Sn-O layers
100+
- Verify symmetry of surrounding atoms
101+
102+
### 3.2. Local Structure
103+
104+
- Check distances to nearest Sn and O atoms
105+
- Verify no unrealistic atom overlaps
106+
- Confirm overall crystal structure is maintained
107+
108+
## 4. Save Defect Structure
109+
110+
The defect structure will be automatically passed back to Materials Designer where you can:
111+
112+
1. Save it in your workspace
113+
2. Export it in various formats
114+
3. Use it for further calculations
115+
116+
## Interactive JupyterLite Notebook
117+
118+
The following embedded notebook demonstrates the complete process. Select "Run" > "Run All Cells".
119+
120+
{% with origin_url=config.extra.jupyterlite.origin_url %}
121+
{% with notebooks_path_root=config.extra.jupyterlite.notebooks_path_root %}
122+
{% with notebook_name='specific_examples/defect_point_interstitial_tin_oxide.ipynb' %}
123+
{% include 'jupyterlite_embed.html' %}
124+
{% endwith %}
125+
{% endwith %}
126+
{% endwith %}
127+
128+
129+
## Parameter Fine-tuning
130+
131+
To adjust the defect creation:
132+
133+
1. Position Adjustment:
134+
135+
- Modify `coordinate` to place interstitial at different positions
136+
- Try different `placement_method` options ("coordinate", "voronoi_site")
137+
- Adjust position to match experimental observations
138+
139+
2. Structure Size:
140+
141+
- Change `SUPERCELL_MATRIX` for larger/smaller systems
142+
- Consider periodic boundary conditions effects
143+
144+
## References
145+
146+
1. Togo, A., Oba, F., & Tanaka, I. (2006). First-principles calculations of native defects in tin monoxide. Physical Review B, 74(19), 195128. [DOI: 10.1103/PhysRevB.74.195128](https://doi.org/10.1103/PhysRevB.74.195128){:target='_blank'}.
147+
148+
2. H. Wang, A. Chroneos, C. A. Londos, E. N. Sgourou & U. Schwingenschlögl, "Carbon related defects in irradiated silicon revisited" Scientific Reports 4, 4909 (2014).
149+
[DOI: 10.1038/srep04909](https://doi.org/10.1038/srep04909){:target='_blank'}.
150+
151+
3. Sutassana Na-Phattalung, M. F. Smith, Kwiseon Kim, Mao-Hua Du, Su-Huai Wei, S. B. Zhang, and Sukit Limpijumnong, "First-principles study of native defects in anatase Ti⁢O2", Phys. Rev. B 73, 125205 (2006).
152+
[DOI: 10.1103/PhysRevB.73.125205](https://doi.org/10.1103/PhysRevB.73.125205){:target='_blank'}.
153+
154+
155+
## Tags
156+
157+
`SnO`, `defects`, `interstitial`, `voronoi`, `oxygen`, `point defects`, `Sn`, `O`

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ nav:
223223
- Substitutional Point Defects in Graphene: tutorials/materials/specific/defect-point-substitution-graphene.md
224224
- Vacancy-Substitution Pair Defects in GaN: tutorials/materials/specific/defect-point-pair-gallium-nitride.md
225225
- Vacancy Point Defect in h-BN: tutorials/materials/specific/defect-point-vacancy-boron-nitride.md
226+
- Interstitial Point Defect in SnO: tutorials/materials/specific/defect-point-interstitial-tin-oxide.md
226227
- Island Surface Defect Formation in TiN: tutorials/materials/specific/defect-surface-island-titanium-nitride.md
227228
- Step Surface Defect on Pt(111): tutorials/materials/specific/defect-surface-step-platinum.md
228229
- Twisted Bilayer h-BN nanoribbons: tutorials/materials/specific/interface-bilayer-twisted-nanoribbons-boron-nitride.md

0 commit comments

Comments
 (0)