@@ -341,7 +341,7 @@ \subsection{Background knowledge}
341341 with Applications to Soft Matter } by Jean-Pierre Hansen and Ian Ranald
342342McDonald~\cite {hansen2013theory }. For more resources, the SklogWiki
343343platform 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}
498498a popular choice for simulations that explore general statistical mechanical
499499principles, as it emphasizes relative differences between parameters rather than
500500representing 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
502502xy-plane. The third line, \lmpcmd {atom\_ style atomic}, designates
503503the atomic style for representing simple, individual particles.
504504In this style, each particle is treated as a point with a mass, making it the
@@ -681,7 +681,7 @@ \subsubsection{My first input}
681681algorithm~\cite {hestenes1952methods }. The simulation will stop as soon
682682as the minimizer algorithm cannot find a way to lower the potential
683683energy. % 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"
686686Note that, except for trivial systems, minimization algorithms will find a
687687local 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
11361136of types 1 and 2, respectively, within the \lmpcmd {cyl\_ in} region as functions
11371137of 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}
16991699bonds break, the energy relaxes abruptly, as can be seen near $ t=32 ~\text {ps}$ in Fig.~\ref {fig:CNT-breakable-energy-stress }\, a.
17001700Using a similar script as previously,
17011701i.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
17031703stress-strain curve reveals a linear (elastic) regime where $ F_\text {cnt} \propto \Delta L_\text {cnt}$
17041704for $ \Delta L_\text {cnt} < 5 \,\% $ , and a non-linear (plastic) regime
17051705for $ 5 \,\% < \Delta L_\text {cnt} < 25 \,\% $ .
@@ -2111,7 +2111,7 @@ \subsubsection{Stretching the PEG molecule}
21112111dump mydmp all local 100 pull.dat index c_dphi c_prop
21122112\end {lstlisting }
21132113By 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}
21152115command and must be written to a file using the \lmpcmd {dump local} command.
21162116
21172117Finally, let us simulate 15 picoseconds without any external force:
@@ -2750,7 +2750,7 @@ \subsubsection{Imposed shearing}
27502750the average force on each wall is given by \lmpcmd {f\_ mysf1[1]} and \lmpcmd {f\_ mysf2[1]}
27512751and is approximately $ 2.7 \, \mathrm {kcal/mol/\AA }$ in magnitude. Using a surface area
27522752for 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 }
27562756The viscosity calculated at such a high shear rate may differ from the expected
@@ -4021,7 +4021,7 @@ \subsubsection{Creating the system}
40214021The \textit {class2 } bond, angle, dihedral, and improper styles are used as
40224022well, see the documentation for a description of their respective potentials.
40234023The \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}
40554055by manually shrinking the simulation box at a constant rate. The dimension parallel
40564056to the CNT axis is maintained fixed because the CNT is periodic in that direction.
40574057Add 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}
40614061velocity all create 530 9845 dist gaussian rot yes
@@ -4071,7 +4071,7 @@ \subsubsection{Creating the system}
40714071run 9000
40724072\end {lstlisting }
40734073The \lmpcmd {fix halt} command is used to stop the box shrinkage once the
4074- target density is reached.
4074+ target density is reached.
40754075
40764076For the next stage of the simulation, we will use \lmpcmd {dump image} to
40774077output images every 200 steps:
@@ -4096,7 +4096,7 @@ \subsubsection{Creating the system}
40964096unfix myhal
40974097reset_timestep 0
40984098
4099- group CNT molecule 1 2 3
4099+ group CNT molecule 1
41004100fix myrec CNT recenter NULL 0 0 units box shift all
41014101
41024102run 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}
42444244to track which atoms are being stabilized and which atoms are undergoing
42454245dynamics with the system-wide time integrator (here, \lmpcmd {fix nvt}).
42464246When 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
42484248undergoing 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$ ,
42744274as 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