|
| 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 | + |
| 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 | + |
| 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 | + |
| 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 | + |
| 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 TiO2", 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` |
0 commit comments