Skip to content

Commit 39b201a

Browse files
committed
spelling, formatting issues
1 parent afd256f commit 39b201a

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

lammps-tutorials.tex

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ \subsection{Background knowledge}
341341
with Applications to Soft Matter} by Jean-Pierre Hansen and Ian Ranald
342342
McDonald~\cite{hansen2013theory}. For more resources, the SklogWiki
343343
platform provies a wide range of information information on statistical mechanics
344-
and molecular simulations~\cite{sklogwiki_main_page}.
344+
and molecular simulations~\cite{sklogwiki_main_page}.
345345

346346
\subsection{Software/system requirements}
347347

@@ -498,7 +498,7 @@ \subsubsection{My first input}
498498
a popular choice for simulations that explore general statistical mechanical
499499
principles, as it emphasizes relative differences between parameters rather than
500500
representing any specific material. The second line, \lmpcmd{dimension 3}, specifies that the simulation is conducted
501-
in 3D space, as opposed to 2D, where atoms are confined to move only in the
501+
in 3D space, as opposed to 2D, where atoms are confined to move only in the
502502
xy-plane. The third line, \lmpcmd{atom\_style atomic}, designates
503503
the atomic style for representing simple, individual particles.
504504
In this style, each particle is treated as a point with a mass, making it the
@@ -681,7 +681,7 @@ \subsubsection{My first input}
681681
algorithm~\cite{hestenes1952methods}. The simulation will stop as soon
682682
as the minimizer algorithm cannot find a way to lower the potential
683683
energy. % SG: I don't think that its true, its rather the algorithm
684-
% will stop when one of the four criteria is met. Axel, what do you think?
684+
% will stop when one of the four criteria is met. Axel, what do you think?
685685
% I propose to replace by "when specific convergence criteria are met"
686686
Note that, except for trivial systems, minimization algorithms will find a
687687
local minimum rather than the global minimum.
@@ -1135,7 +1135,7 @@ \subsubsection{Improving the script}
11351135
\caption{a)~Evolution of the numbers $N_\text{1, in}$ and $N_\text{2, in}$ of atoms
11361136
of types 1 and 2, respectively, within the \lmpcmd{cyl\_in} region as functions
11371137
of time $t$. b)~Evolution of the coordination number $C_{1-2}$ (compute \lmpcmd{sumcoor12})
1138-
between atoms of types 1 and 2.}
1138+
between atoms of types 1 and 2.}
11391139
\label{fig:mixing}
11401140
\end{figure}
11411141

@@ -1699,7 +1699,7 @@ \subsubsection{Breakable bonds}
16991699
bonds break, the energy relaxes abruptly, as can be seen near $t=32~\text{ps}$ in Fig.~\ref{fig:CNT-breakable-energy-stress}\,a.
17001700
Using a similar script as previously,
17011701
i.e.,~\href{\filepath tutorial2/unbreakable-yaml-reader.py}{\dwlcmd{unbreakable-yaml-reader.py}},
1702-
import the data into Python and generate the stress-strain curve (Fig.~\ref{fig:CNT-breakable-energy-stress}\,b). The
1702+
import the data into Python and generate the stress-strain curve (Fig.~\ref{fig:CNT-breakable-energy-stress}\,b). The
17031703
stress-strain curve reveals a linear (elastic) regime where $F_\text{cnt} \propto \Delta L_\text{cnt}$
17041704
for $\Delta L_\text{cnt} < 5\,\%$, and a non-linear (plastic) regime
17051705
for $5\,\% < \Delta L_\text{cnt} < 25\,\%$.
@@ -2111,7 +2111,7 @@ \subsubsection{Stretching the PEG molecule}
21112111
dump mydmp all local 100 pull.dat index c_dphi c_prop
21122112
\end{lstlisting}
21132113
By contrast with the radius of gyration (compute \lmpcmd{rgyr}), the dihedral angle % SG: why is c_prop not printed?
2114-
$\phi$ (compute \lmpcmd{dphi}) is returned as a vector by the \lmpcmd{compute dihedral/local}
2114+
$\phi$ (compute \lmpcmd{dphi}) is returned as a vector by the \lmpcmd{compute dihedral/local}
21152115
command and must be written to a file using the \lmpcmd{dump local} command.
21162116

21172117
Finally, let us simulate 15 picoseconds without any external force:
@@ -2750,7 +2750,7 @@ \subsubsection{Imposed shearing}
27502750
the average force on each wall is given by \lmpcmd{f\_mysf1[1]} and \lmpcmd{f\_mysf2[1]}
27512751
and is approximately $2.7\,\mathrm{kcal/mol/\AA}$ in magnitude. Using a surface area
27522752
for the walls of $A = 6 \cdot 10^{-18}\,\text{m}^2$, one obtains an estimate for
2753-
the shear viscosity for the confined fluid of $\eta = 3.1\,\text{mPa.s}$ using Eq.~\eqref{eq:eta}.
2753+
the shear viscosity for the confined fluid of $\eta = 3.1\,\text{mPa.s}$ using Eq.~\eqref{eq:eta}.
27542754

27552755
\begin{note}
27562756
The viscosity calculated at such a high shear rate may differ from the expected
@@ -4021,7 +4021,7 @@ \subsubsection{Creating the system}
40214021
The \textit{class2} bond, angle, dihedral, and improper styles are used as
40224022
well, see the documentation for a description of their respective potentials.
40234023
The \lmpcmd{mix sixthpower} imposes the following mixing rule for the calculation
4024-
of the cross coefficients:
4024+
of the cross coefficients:
40254025
\begin{eqnarray}
40264026
\nonumber
40274027
\sigma_{ij} & = & 2^{-1/6} (\sigma^6_i+\sigma_j^6)^{1/6}, ~ \text{and} \\
@@ -4055,7 +4055,7 @@ \subsubsection{Creating the system}
40554055
by manually shrinking the simulation box at a constant rate. The dimension parallel
40564056
to the CNT axis is maintained fixed because the CNT is periodic in that direction.
40574057
Add the following commands to \flecmd{mixing.lmp}:
4058-
% SG: I removed the loop local, unless its important? But if it is, we have to
4058+
% SG: I removed the loop local, unless its important? But if it is, we have to
40594059
% explain what it does and why it was chosen here.
40604060
\begin{lstlisting}
40614061
velocity all create 530 9845 dist gaussian rot yes
@@ -4071,7 +4071,7 @@ \subsubsection{Creating the system}
40714071
run 9000
40724072
\end{lstlisting}
40734073
The \lmpcmd{fix halt} command is used to stop the box shrinkage once the
4074-
target density is reached.
4074+
target density is reached.
40754075

40764076
For the next stage of the simulation, we will use \lmpcmd{dump image} to
40774077
output images every 200 steps:
@@ -4096,7 +4096,7 @@ \subsubsection{Creating the system}
40964096
unfix myhal
40974097
reset_timestep 0
40984098

4099-
group CNT molecule 1 2 3
4099+
group CNT molecule 1
41004100
fix myrec CNT recenter NULL 0 0 units box shift all
41014101

41024102
run 10000
@@ -4234,7 +4234,7 @@ \subsubsection{Simulating the reaction}
42344234
\centering
42354235
\includegraphics[width=0.7\linewidth]{REACT-final.png}
42364236
\caption{Final configuration for \hyperref[bond-react-label]{Tutorial 8}.
4237-
The atoms from the formed polymer named \lmpcmd{c1}, \lmpcmd{c2}, and
4237+
The atoms from the formed polymer named \lmpcmd{c1}, \lmpcmd{c2}, and
42384238
\lmpcmd{c3} are colored in pink.}
42394239
\label{fig:REACT-final}
42404240
\end{figure}
@@ -4244,7 +4244,7 @@ \subsubsection{Simulating the reaction}
42444244
to track which atoms are being stabilized and which atoms are undergoing
42454245
dynamics with the system-wide time integrator (here, \lmpcmd{fix nvt}).
42464246
When reaction stabilization is employed, there should not be a time integrator acting on
4247-
the group \lmpcmd{all}. Instead, the group of atoms not currently
4247+
the group \mbox{\lmpcmd{all}.} Instead, the group of atoms not currently
42484248
undergoing stabilization is named by appending `\_REACT' to the user-provided prefix.
42494249
\end{note}
42504250

@@ -4273,10 +4273,10 @@ \subsubsection{Simulating the reaction}
42734273
\caption{a) Evolution of the system temperature, $T$,
42744274
as a function of the time, $t$, during the polymerization step of
42754275
\hyperref[bond-react-label]{Tutorial 8}.
4276-
b) Evolution of the three reaction counts, corresponding respecively to
4277-
the polymerization of two styrene monomers (Rnx~1), the addition of a styrene
4278-
monomer to the end of a growing polymer chain (Rnx~2), and to the linking
4279-
of two polymer chains (Rnx~3).}
4276+
b) Evolution of the three reaction counts, corresponding respectively to
4277+
the polymerization of two styrene monomers (Rxn~1), the addition of a styrene
4278+
monomer to the end of a growing polymer chain (Rxn~2), and to the linking
4279+
of two polymer chains (Rxn~3).}
42804280
\label{fig:evolution-reacting}
42814281
\end{figure}
42824282

0 commit comments

Comments
 (0)