Skip to content

Commit 74e2984

Browse files
author
Simon Gravelle
committed
first range of reviewer comments
1 parent 6427f97 commit 74e2984

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

docs/sphinx/source/tutorial1/tutorial.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ initially positive potential energy is expected, as the atoms are
274274
created at random positions within the simulation box, with some in very
275275
close proximity to each other. This proximity results in a large
276276
initial potential energy due to the repulsive branch of the
277-
Lennard-Jones potential [i.e., the term in :math:`1/r^{12}` in
277+
Lennard-Jones potential [i.e., the term :math:`1/r^{12}` in
278278
Eq. :eq:`eq_LJ`]. As the energy minimization progresses, the energy
279279
decreases - first rapidly - then more gradually, before plateauing at a
280280
negative value. This indicates that the atoms have moved to reasonable
@@ -311,7 +311,7 @@ command is introduced to specify the thermodynamic information LAMMPS should
311311
print during ``PART B``. This adjustment is made because, during
312312
molecular dynamics, the system exhibits a non-zero temperature :math:`T` (and
313313
consequently a non-zero kinetic energy :math:`K`, keyword ``ke``), which are useful to monitor.
314-
The ``pe`` keyword represents the potential energy of the system, :math:`E`, such that
314+
The ``pe`` keyword represents the potential energy of the system, :math:`U`, such that
315315
:math:`U + K = E`.
316316

317317
Then, add a second ``Run`` category by including the following

docs/sphinx/source/tutorial2/tutorial.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,7 @@ from the typical dependency of bond energy with bond distance,
357357
The CNT starts deforming at :math:`t = 5\,\text{ps}`, and :math:`L_\text{cnt-0}` is the
358358
CNT initial length. b) Evolution of the total energy :math:`E` of the system with time :math:`t`.
359359
Here, the potential is OPLS-AA, and the CNT is unbreakable.
360+
The orange line shows the raw data, and the blue line represents a time-averaged curve.
360361

361362
Importing YAML log file into Python
362363
-----------------------------------

docs/sphinx/source/tutorial3/tutorial.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ angles, and dihedrals used in the simulation, here ``harmonic``.
3535
With the ``pair_style`` named ``lj/cut/coul/long``, atoms
3636
interact through both a Lennard-Jones (LJ) potential and Coulomb
3737
interactions. The value of :math:`10\,\text{Å}` is the cutoff, and the
38-
``ewald`` command defines the long-range solver for the Coulomb
38+
``kspace_style`` command defines the long-range solver for the Coulomb
3939
interactions :cite:`ewald1921berechnung`. Finally, the
4040
``special_bonds`` command, which was already seen in
4141
:ref:`carbon-nanotube-label`, sets the LJ and Coulomb
@@ -177,16 +177,16 @@ Let us also extract the volume and density every 500 steps:
177177
thermo_style custom step temp etotal v_myvol v_rho
178178
179179
Here, several variables are defined and used for converting the units of the
180-
density in kg/mol: The variable ``myoxy`` represents the number of
180+
density in :math:`\text{kg/m}^3`: The variable ``myoxy`` represents the number of
181181
atoms divided by 3, which corresponds to the number of molecules, :math:`N_\text{H2O}`,
182-
and the variable ``myrho`` is the density in kg/mol:
182+
and the variable ``myrho`` is the density in :math:`\text{kg/m}^3`.
183183

184184
.. math::
185185
186-
\rho = \dfrac{N_\text{H2O}}{V N_\text{A}},
186+
\rho = \dfrac{N_\text{H2O} M}{V N_\text{A}},
187187
188188
where :math:`V` is the volume in :math:`\text{m}^3`, :math:`N_\text{A}` the Avogadro number, and
189-
:math:`M = 0.018`\,kg/mol the molar mass of water.
189+
:math:`M = 0.018 ~ \text{kg/mol}` the molar mass of water.
190190

191191
Finally, let us set the timestep to 1.0 fs, and run the simulation for 15 ps by
192192
adding the following lines into **water.lmp**:

docs/sphinx/source/tutorial4/tutorial.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ to **equilibrate.lmp**:
344344
thermo 1
345345
thermo_style custom step temp etotal press
346346
347-
Let us perform an energy minization by adding the following lines to **equilibrate.lmp**:
347+
Let us perform an energy minimization by adding the following lines to **equilibrate.lmp**:
348348

349349
.. code-block:: lammps
350350
@@ -443,7 +443,8 @@ the end of the simulation.
443443

444444
Figure: a) Pressure, :math:`p`, of the nanosheared electrolyte system as a function
445445
of the time, :math:`t`. b) Distance between the walls, :math:`\Delta z`, as a
446-
function of :math:`t`.
446+
function of :math:`t`. The orange line shows the raw data, and the blue line
447+
represents a time-averaged curve.
447448

448449
Imposed shearing
449450
----------------

0 commit comments

Comments
 (0)