@@ -30,8 +30,9 @@ and a **.data** file is imported by the ``read_data`` command.
3030.. include :: ../shared/needhelp.rst
3131
3232The initial topology given by |silica_data_5 |
33- is a small amorphous silica structure. This structure was created using a force field called
34- Vashishta :cite: `vashishta1990interaction `. If you open the **silica.data **
33+ is a small amorphous silica structure. This structure was generated in a prior
34+ simulation using the Vashishta force field :cite: `vashishta1990interaction `.
35+ If you open the **silica.data **
3536file, you will find in the ``Atoms `` section that all silicon atoms have a
3637charge of :math: `q = 1.1 \,\text {e}`, and all oxygen atoms have a charge of :math: `q = -0.55 \,\text {e}`.
3738
@@ -66,6 +67,15 @@ low and the high cutoffs, respectively, and :math:`1.0 \text{e} -6` is the toler
6667i.e., the precision to which the atomic charges are equilibrated during the
6768charge equilibration process.
6869
70+ .. admonition :: Note
71+ :class: non-title-info
72+
73+ The ``pair_style reaxff `` command optionally accepts a control file,
74+ which defines control variables such as
75+ global parameters of the ReaxFF potential, as well as performance and output settings.
76+ If no control file is provided, as in this tutorial, LAMMPS uses its default values,
77+ which correspond to those in Adri van Duin's original stand-alone ReaxFF code :cite: `van2001reaxff `.
78+
6979The ``maxiter `` sets an upper limit to the number of attempts to
7080equilibrate the charge.
7181
@@ -121,6 +131,13 @@ We can generate histograms of the charges for each atom type using
121131 fix myhis1 grpSi ave/histo 10 500 5000 -1.5 2.5 1000 v_vq file relax-Si.histo mode vector
122132 fix myhis2 grpO ave/histo 10 500 5000 -1.5 2.5 1000 v_vq file relax-O.histo mode vector
123133
134+ The ``fix ave/histo `` command samples values
135+ over a group of atoms and builds a histogram over a specified range divided into
136+ bins. In this tutorial, it is used to monitor the charge distributions
137+ of silicon and oxygen atoms. The parameters ``10 500 5000 `` specify how often
138+ the histogram is updated and averaged, ``-1.5 2.5 `` set the value range,
139+ ``1000 `` is the number of bins, and ``v\_vq `` is the variable being histogrammed.
140+
124141We can also use the ``fix reaxff/species `` to evaluate what species are
125142present within the simulation. It will be useful later when the system is deformed,
126143and bonds are broken:
@@ -143,6 +160,13 @@ density of the system:
143160
144161 write_data relax.data
145162
163+ .. admonition :: Note
164+ :class: non-title-info
165+
166+ With the `aniso ` keyword, the three dimensions of the simulation
167+ box can change independently. This is particularly relevant for solids and other
168+ systems where anisotropic stresses may develop.
169+
146170Run the **relax.lmp ** file using LAMMPS. As seen from **relax.species **,
147171only one species is detected, called ``O384Si192 ``, representing the entire system.
148172
@@ -246,7 +270,7 @@ Nosé-Hoover thermostat without a barostat:
246270 timestep 0.5
247271
248272 Here, no barostat is used because the change in the box volume will be imposed
249- by the ``fix deform ``.
273+ by the ``fix deform ``, see below .
250274
251275Let us run for 5000 steps without deformation, then apply the ``fix deform ``
252276to progressively elongate the box along the :math: `x`-axis during 25000 steps. Add
@@ -262,6 +286,10 @@ the following line to **deform.lmp**:
262286
263287 write_data deform.data
264288
289+ The ``fix deform `` command applies a continuous deformation
290+ by elongating the simulation box along the x-axis at a constant engineering
291+ shear strain rate, specified by ``erate ``, of :math: `5 \times 10 ^{-5 }~\text {fs}^{-1 }`.
292+
265293Run the **deform.lmp ** file using LAMMPS. During the deformation, the charge
266294values progressively evolve until the structure eventually breaks down. After the
267295structure breaks down, the charges equilibrate near new average values that differ
0 commit comments