Skip to content

Commit 7eed74c

Browse files
committed
improved figure tutorial 6
1 parent 9e163c7 commit 7eed74c

3 files changed

Lines changed: 157 additions & 18 deletions

File tree

figures/GCMC-dimension.png

102 KB
Loading

files/tutorial6/solution/generate.ipynb

Lines changed: 145 additions & 0 deletions
Large diffs are not rendered by default.

lammps-tutorials.tex

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3200,25 +3200,19 @@ \subsubsection{Generation of the silica block}
32003200
usually the best choice.
32013201

32023202
Run the simulation using LAMMPS. From the \guicmd{Charts} window, the temperature
3203-
evolution can be observed, showing that it closely follows the desired annealing procedure (Fig.\,\ref{fig:GCMC-temperature}).
3203+
evolution can be observed, showing that it closely follows the desired annealing procedure (Fig.\,\ref{fig:GCMC-dimension}\,a).
32043204
The evolution of the box dimensions over time confirms that the box
32053205
deformed isotropically during the first stage of the simulation, followed by anisotropic deformation
3206-
(Fig.\,\ref{fig:GCMC-dimension}). After the simulation completes, the final
3206+
(Fig.\,\ref{fig:GCMC-dimension}\,b). After the simulation completes, the final
32073207
LAMMPS topology file called \flecmd{generate.data}
32083208
will be located next to \flecmd{generate.lmp} (Fig.\,\ref{fig:GCMC-snapshot}).
32093209

3210-
\begin{figure}
3211-
\centering
3212-
\includegraphics[width=\linewidth]{GCMC-temperature}
3213-
\caption{Temperature $T$ of the system during annealing. The vertical dashed lines
3214-
mark the transition between the different phases of the simulation.}
3215-
\label{fig:GCMC-temperature}
3216-
\end{figure}
3217-
32183210
\begin{figure}
32193211
\centering
32203212
\includegraphics[width=\linewidth]{GCMC-dimension}
3221-
\caption{Box dimensions along $x$ (blue), $y$ (orange), and $z$ (dark) during
3213+
\caption{a) Temperature $T$ of the system during annealing of the amorphous silica
3214+
simulated during \hyperref[gcmc-silica-label]{Tutorial 6}.
3215+
b) Box dimensions along $x$, $y$, and $z$ during
32223216
annealing. The vertical dashed lines mark the transition between the different
32233217
phases of the simulation.}
32243218
\label{fig:GCMC-dimension}
@@ -3483,7 +3477,7 @@ \subsubsection{Adding water}
34833477
\end{figure}
34843478

34853479
When you run the simulation, the log file indicates that 840 atoms (i.e.~280 molecules)
3486-
were added by the \textit{create\_atoms} command (the exact number you get may differ):
3480+
were added by the \lmpcmd{create\_atoms} command (the exact number you get may differ):
34873481
\begin{lstlisting}
34883482
Created 840 atoms
34893483
\end{lstlisting}
@@ -3494,14 +3488,14 @@ \subsubsection{Adding water}
34943488
Deleted 516 bonds, new total = 44
34953489
Deleted 258 angles, new total = 22
34963490
\end{lstlisting}
3497-
After just a few GCMC steps, the number of molecules starts increasing. Once the
3498-
crack is filled with water molecules, the number of molecules reaches a plateau
3499-
(Figs.\,\ref{fig:GCMC-number}-\ref{fig:GCMC-solvated}). The final number of
3491+
After a few GCMC steps, the number of molecules starts increasing. Once the
3492+
crack is filled with water molecules, the total number of molecules reaches a plateau
3493+
(Figs.\,\ref{fig:GCMC-number}-\ref{fig:GCMC-solvated}). The final number of
35003494
molecules depends on the imposed pressure, temperature, and the interaction
3501-
between water and silica (i.e.~its hydrophilicity). Note that GCMC simulations
3495+
between water and silica (i.e.~its hydrophilicity). Note that GCMC simulations
35023496
of such dense phases are usually slow to converge due to the very low probability
3503-
of successfully inserting a molecule. Here, the short simulation duration was
3504-
made possible by the use of a large pressure.
3497+
of successfully inserting a molecule. Here, the short simulation duration was
3498+
made possible by the use of a high pressure.
35053499

35063500
\begin{figure}
35073501
\centering

0 commit comments

Comments
 (0)