Skip to content

Commit edb6cb2

Browse files
committed
tested tutorial 5
1 parent db48aa6 commit edb6cb2

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

files/tutorial5/deform.lmp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,9 @@ dump viz all image 100 myimage-*.ppm q &
2424
type shiny 0.1 box no 0.01 view 180 90 zoom 2.3 size 1200 500
2525
dump_modify viz adiam Si 2.6 adiam O 2.3 backcolor white &
2626
amap -1 2 ca 0.0 3 min royalblue 0 green max orangered
27+
28+
fix myhis1 grpSi ave/histo 10 500 5000 -1.5 2.5 1000 v_vq &
29+
file deform-Si.histo mode vector
30+
fix myhis2 grpO ave/histo 10 500 5000 -1.5 2.5 1000 v_vq &
31+
file deform-O.histo mode vector
32+
fix myspec all reaxff/species 5 1 5 deform.species element Si O

lammps-tutorials.tex

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2821,10 +2821,13 @@ \subsubsection{Prepare and relax}
28212821
Vashishta~\cite{vashishta1990interaction}. If you open the \flecmd{silica.data}
28222822
file, you will find in the \lmpcmd{Atoms} section that all silicon atoms have a
28232823
charge of $q = 1.1\,\text{e}$, and all oxygen atoms have a charge of $q = -0.55\,\text{e}$.
2824+
2825+
\begin{note}
28242826
Assigning the same charge to all atoms of the same type is common with many
28252827
force fields, including the force fields used in the previous tutorials. This
28262828
changes once ReaxFF is used: the charge of each atom will adjust to its local
28272829
environment.
2830+
\end{note}
28282831

28292832
Next, copy the following three crucial lines into the \flecmd{relax.lmp} file:
28302833
\begin{lstlisting}
@@ -2940,7 +2943,7 @@ \subsubsection{Deform the structure}
29402943

29412944
Let us apply a deformation to the structure to force some $\text{Si}-\text{O}$
29422945
bonds to break (and eventually re-assemble). Open the \flecmd{deform.lmp}
2943-
file, which must constain the following lines:
2946+
file, which must contain the following lines:
29442947
\begin{lstlisting}
29452948
units real
29462949
atom_style full
@@ -3041,7 +3044,7 @@ \subsubsection{Deform the structure}
30413044
\subsubsection{Decorate the surface}
30423045

30433046
Under ambient conditions, some of the surface $\text{SiO}_2$ atoms become chemically
3044-
passivated by forming covalent bonds with hydrogen (H) atom~\cite{sulpizi2012silica}.
3047+
passivated by forming covalent bonds with hydrogen (H) atoms~\cite{sulpizi2012silica}.
30453048
We will add hydrogen atoms randomly to the cracked silica and observe how the
30463049
system evolves. To do so, we first need to modify the previously generated data
30473050
file \flecmd{deform.data} and make space for a third atom type.
@@ -3068,7 +3071,7 @@ \subsubsection{Decorate the surface}
30683071
(...)
30693072
\end{lstlisting}
30703073

3071-
Open the \flecmd{decorate.lmp} file, which must constain the following lines:
3074+
Open the \flecmd{decorate.lmp} file, which must contain the following lines:
30723075
\begin{lstlisting}
30733076
units real
30743077
atom_style full
@@ -3288,7 +3291,7 @@ \subsubsection{Generation of the silica block}
32883291

32893292
\subsubsection{Cracking the silica}
32903293

3291-
Open the \flecmd{cracking.lmp} file, which must constain the following familiar lines:
3294+
Open the \flecmd{cracking.lmp} file, which must contain the following familiar lines:
32923295
\begin{lstlisting}
32933296
units metal
32943297
boundary p p p
@@ -3356,7 +3359,7 @@ \subsubsection{Adding water}
33563359
of two force fields: Vashishta (for $\text{SiO}_2$), and
33573360
TIP4P (for water). Here, the TIP4P/2005 model is employed for the
33583361
water~\cite{abascal2005general}. Open the \flecmd{gcmc.lmp} file, which
3359-
should constain the following lines:
3362+
should contain the following lines:
33603363
\begin{lstlisting}
33613364
units metal
33623365
boundary p p p

0 commit comments

Comments
 (0)