@@ -3,10 +3,11 @@ Prepare and relax
3
3
4
4
The first step is to relax the structure with ReaxFF, which which will be achieved using
5
5
molecular dynamics. To ensure the system equilibrates properly, we will monitor certain
6
- parameters over time, such as the system volume. To set up this
7
- tutorial, select ``Start Tutorial 5 `` from the
8
- ``Tutorials `` menu of LAMMPS--GUI and follow the instructions.
9
- The editor should display the following content corresponding to **relax.lmp **:
6
+ parameters over time, such as the system volume.
7
+
8
+ Create a folder if needed and
9
+ place the initial input file, **relax.lmp **, into it. Then, open the
10
+ file in a text editor of your choice, and copy the following into it:
10
11
11
12
.. code-block :: lammps
12
13
@@ -15,6 +16,13 @@ The editor should display the following content corresponding to **relax.lmp**:
15
16
16
17
read_data silica.data
17
18
19
+ .. admonition :: If you are using LAMMPS-GUI
20
+ :class: gui
21
+
22
+ To begin this tutorial, select ``Start Tutorial 5 `` from the
23
+ ``Tutorials `` menu of LAMMPS--GUI and follow the instructions.
24
+ The editor should display the following content corresponding to **relax.lmp **
25
+
18
26
So far, the input is very similar to what was seen in the previous tutorials.
19
27
Some basic parameters are defined (``units `` and ``atom_style ``),
20
28
and a **.data ** file is imported by the ``read_data `` command.
@@ -134,15 +142,13 @@ Run the **relax.lmp** file using LAMMPS. As seen from **relax.species**,
134
142
only one species is detected, called ``O384Si192 ``, representing the entire system.
135
143
136
144
As the simulation progresses, the charge of every atom fluctuates
137
- because it is adjusting to the local environment of the atom (Fig.~ \r ef{fig:SIO-charge} \, a) .
145
+ because it is adjusting to the local environment of the atom.
138
146
It is also observed that the averaged charges for silicon and oxygen
139
147
atoms fluctuate significantly at the beginning of the simulation, corresponding
140
148
to a rapid change in the system volume, which causes interatomic distances to
141
- shift quickly (Fig.~ \r ef{fig:SIO-charge} \, b) . The atoms with the
149
+ shift quickly. The atoms with the
142
150
most extreme charges are located at structural defects,
143
- such as dangling oxygen groups (Fig.~\r ef{fig:SIO-slice}).
144
- Finally, the generated **.histo ** files can be used to
145
- plot the probability distributions, :math: `P(q)` (see Fig.~\r ef{fig:SIO-distribution}\, a).
151
+ such as dangling oxygen groups.
146
152
147
153
.. figure :: figures/SIO-charge-dm.png
148
154
:class: only-dark
@@ -154,25 +160,28 @@ plot the probability distributions, :math:`P(q)` (see Fig.~\ref{fig:SIO-distribu
154
160
155
161
.. container :: figurelegend
156
162
157
- a) Average charge per atom of the silicon, :math: `q_\text {Si}`, atoms as
163
+ Figure: a) Average charge per atom of the silicon, :math: `q_\text {Si}`, atoms as
158
164
a function of time, :math: `t`, during equilibration of the :math: `\text {SiO}_2 `
159
165
system. b) Volume of the system, :math: `V`, as a function of :math: `t`.
160
166
161
- .. figure :: figures/deformed -light.png
167
+ .. figure :: figures/silicon -light.png
162
168
:alt: Amorphous silica colored by charges using VMD
163
169
:class: only-light
164
170
165
- .. figure :: figures/deformed -dark.png
171
+ .. figure :: figures/silicon -dark.png
166
172
:alt: Amorphous silica colored by charges using VMD
167
173
:class: only-dark
168
174
169
175
.. container :: figurelegend
170
176
171
- Figure: A slice of the amorphous silica after deformation , where atoms are colored by their charges.
177
+ Figure: A slice of the amorphous silica, where atoms are colored by their charges.
172
178
Dangling oxygen groups appear in greenish, bulk Si atoms with a charge of about
173
179
:math: `1.8 ~\text {e}` appear in red/orange, and bulk O atoms with a charge of about
174
180
:math: `-0.9 ~\text {e}` appear in blue.
175
181
182
+ Finally, the generated **.histo ** files can be used to
183
+ plot the probability distributions, :math: `P(q)`.
184
+
176
185
.. figure :: figures/SIO-distribution-dm.png
177
186
:class: only-dark
178
187
:alt: Average charge per atom of the silicon
@@ -183,14 +192,13 @@ plot the probability distributions, :math:`P(q)` (see Fig.~\ref{fig:SIO-distribu
183
192
184
193
.. container :: figurelegend
185
194
186
- a) Probability distributions of charge of silicon (positive, blue) and oxygen
195
+ Figure: a) Probability distributions of charge of silicon (positive, blue) and oxygen
187
196
(negative, orange) atoms during the equilibration of the :math: `\text {SiO}_2 `
188
197
system. b) Same probability distributions as in panel (a) after the deformation.
189
198
190
199
Deform the structure
191
200
--------------------
192
201
193
-
194
202
Let us apply a deformation to the structure to force some :math: `\text {Si}-\text {O}`
195
203
bonds to break (and eventually re-assemble). Open the **deform.lmp **
196
204
file, which must contain the following lines:
@@ -235,22 +243,6 @@ Nosé-Hoover thermostat without a barostat:
235
243
Here, no barostat is used because the change in the box volume will be imposed
236
244
by the ``fix deform ``.
237
245
238
- .. figure :: figures/SIO-deformed-charge-dm.png
239
- :class: only-dark
240
- :alt: Evolution of the pressure and distance for the elecrolyte
241
-
242
- .. figure :: figures/SIO-deformed-charge.png
243
- :class: only-light
244
- :alt: Evolution of the pressure and distance for the elecrolyte
245
-
246
- .. container :: figurelegend
247
-
248
- a) Average charge per atom of the silicon, :math: `q_\text {Si}`, atoms as
249
- a function of time, :math: `t`, during deformation of the :math: `\text {SiO}_2 ` system.
250
- The break down of the
251
- silica structure occurs near :math: `t = 11 `\, ps. b) Temperature, :math: `T`, of the
252
- system as a function of :math: `t`.
253
-
254
246
Let us run for 5000 steps without deformation, then apply the ``fix deform ``
255
247
to progressively elongate the box along the :math: `x`-axis during 25000 steps. Add
256
248
the following line to **deform.lmp **:
@@ -268,15 +260,31 @@ the following line to **deform.lmp**:
268
260
Run the **deform.lmp ** file using LAMMPS. During the deformation, the charge
269
261
values progressively evolve until the structure eventually breaks down. After the
270
262
structure breaks down, the charges equilibrate near new average values that differ
271
- from the initial averages (Fig.~ \r ef{fig:SIO-deformed-charge} \, a) . The difference
263
+ from the initial averages. The difference
272
264
between the initial and the final charges can be explained by the presence of
273
265
defects, as well as new solid/vacuum interfaces, and the fact that surface atoms
274
- typically have different charges compared to bulk atoms (Fig.~ \r ef{fig:SIO-deformed}) .
266
+ typically have different charges compared to bulk atoms.
275
267
You can also see a sharp increase in temperature during the rupture of
276
- the material (Fig.~\r ef{fig:SIO-deformed-charge}\, b).
268
+ the material.
269
+
270
+ .. figure :: figures/deformed-charge-dm.png
271
+ :class: only-dark
272
+ :alt: Evolution of the pressure and distance for the elecrolyte
273
+
274
+ .. figure :: figures/deformed-charge.png
275
+ :class: only-light
276
+ :alt: Evolution of the pressure and distance for the elecrolyte
277
+
278
+ .. container :: figurelegend
279
+
280
+ a) Average charge per atom of the silicon, :math: `q_\text {Si}`, atoms as
281
+ a function of time, :math: `t`, during deformation of the :math: `\text {SiO}_2 ` system.
282
+ The break down of the
283
+ silica structure occurs near :math: `t = 11 ` ps. b) Temperature, :math: `T`, of the
284
+ system as a function of :math: `t`.
277
285
278
286
You can examine the charge distribution after deformation, as well as during
279
- deformation (Fig.~ \r ef{fig:SIO-distribution} \, b) . As expected, the final
287
+ deformation. As expected, the final
280
288
charge distribution slightly differs from the previously calculated one. If
281
289
no new species were formed during the simulation, the **deform.species ** file
282
290
should look like this:
0 commit comments