@@ -1924,13 +1924,12 @@ \subsubsection{Solvating the PEG in water}
19241924\ begin{lstlisting}
19251925group PEG type C CPos H HC OAlc OE
19261926\end {lstlisting }
1927- Water molecules that are overlapping with the PEG must be deleted to avoid future crashing.
1928- Add the following line into \flecmd {input.lmp}:
1927+ Water molecules that are overlapping with the PEG must be deleted to avoid future crashing. Add the following line into \flecmd {merge.lmp}:
19291928\ begin{lstlisting}
19301929delete_atoms overlap 2.0 H2O PEG mol yes
19311930\end {lstlisting }
19321931Here the value of 2.0~Ångströms for the overlap cutoff was fixed arbitrarily and can
1933- be chosen through trial and error. If the cutoff is too small, the simulation will
1932+ be chosen through trial and error. If the cutoff is too small, the simulation will
19341933crash because atoms that are too close to each other undergo forces
19351934that can be extremely large. If the cutoff is too large, too many water
19361935molecules will unnecessarily be deleted.
@@ -1964,14 +1963,14 @@ \subsubsection{Solvating the PEG in water}
19641963thermo 500
19651964\end {lstlisting }
19661965Finally, let us perform a short equilibration and save the
1967- final state to a \lmpcmd {.restart} file. Add the following lines to the data file:
1966+ final state to a \lmpcmd {.restart} file. Add the following lines to the data file:
19681967\ begin{lstlisting}
19691968timestep 1.0
19701969run 10000
19711970
19721971write_restart mix.restart
19731972\end {lstlisting }
1974- Run the simulation using LAMMPS. From the outputs, you can make
1973+ Run the simulation using LAMMPS. From the outputs, you can make
19751974sure that the temperature remains close to the
19761975target value of $ 300 ~\text {K}$ throughout the entire simulation, and that
19771976the volume and total energy are almost constant, indicating
@@ -1981,12 +1980,13 @@ \subsubsection{Solvating the PEG in water}
19811980\begin {figure }
19821981\centering
19831982\includegraphics [width=\linewidth ]{PEG-solvated}
1984- \caption {A single PEG molecule in water. Water molecules are represented as a
1983+ \caption {A single PEG molecule in water. Water molecules are represented as a
19851984transparent continuum field for clarity.}
19861985\label {fig:PEG-solvated }
19871986\end {figure }
19881987
19891988\subsubsection {Stretching the PEG molecule }
1989+
19901990Here, a constant forcing is applied to the two ends of the PEG molecule until it
19911991stretches. Create a new folder next to the previously created folders, call it
19921992\flrcmd {pullonPEG/}, and create a new input file in it called \flecmd {input.lmp}.
0 commit comments