Skip to content

Commit f0c70fc

Browse files
Merge pull request #62 from lammpstutorials/tested-tutorial-5
tested tutorial 5
2 parents a431a12 + 8bfd8bd commit f0c70fc

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

lammps-tutorials.tex

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2940,7 +2940,7 @@ \subsubsection{Prepare and relax}
29402940
Here, the atoms are colored by their charges \lmpcmd{q}, ranging from royal blue
29412941
(when $q=-1\,\text{e}$) to orange-red (when $q=2\,\text{e}$).
29422942

2943-
You can generate histograms of the charges for each atom type using
2943+
We can generate histograms of the charges for each atom type using
29442944
\lmpcmd{fix ave/histo} commands:
29452945
\begin{lstlisting}
29462946
fix myhis1 grpSi ave/histo 10 500 5000 -1.5 2.5 1000 v_vq &
@@ -2956,7 +2956,7 @@ \subsubsection{Prepare and relax}
29562956
\end{lstlisting}
29572957
Here, the information will be printed every 5 steps in a file called \flecmd{relax.species}.
29582958
Let us perform a very short run using the anisotropic NPT command and relax the
2959-
density of the system.
2959+
density of the system:
29602960
\begin{lstlisting}
29612961
velocity all create 300.0 32028
29622962
fix mynpt all npt temp 300.0 300.0 100 aniso 1.0 1.0 1000
@@ -2977,8 +2977,8 @@ \subsubsection{Prepare and relax}
29772977
shift quickly (Fig.~\ref{fig:SIO-charge}\,b). The atoms with the
29782978
most extreme charges are located at structural defects,
29792979
such as dangling oxygen groups (Fig.~\ref{fig:SIO-slice}).
2980-
Finally, the charge distribution $P(q)$ can be plotted using the charge values
2981-
from the \flecmd{.histo} files (Fig.~\ref{fig:SIO-distribution}\,a).
2980+
Finally, the generated \flecmd{.histo} files can be used to
2981+
plot the probability distributions, $P(q)$ (see Fig.~\ref{fig:SIO-distribution}\,a).
29822982

29832983
\begin{figure}
29842984
\centering
@@ -3059,7 +3059,8 @@ \subsubsection{Deform the structure}
30593059
\includegraphics[width=\linewidth]{SIO-deformed-charge}
30603060
\caption{a) Average charge per atom of the silicon, $q_\text{Si}$, atoms as
30613061
a function of time, $t$, during deformation of the $\text{SiO}_2$ system
3062-
from \hyperref[reactive-silicon-dioxide-label]{Tutorial 5}. b) Temperature, $T$, of the
3062+
from \hyperref[reactive-silicon-dioxide-label]{Tutorial 5}. The break down of the
3063+
silica structure occurs near $t = 11$\,ps. b) Temperature, $T$, of the
30633064
system as a function of $t$.}
30643065
\label{fig:SIO-deformed-charge}
30653066
\end{figure}

0 commit comments

Comments
 (0)