Skip to content

Commit 5f9bd08

Browse files
authored
Update lammps-tutorials.tex
1 parent 54e848e commit 5f9bd08

1 file changed

Lines changed: 15 additions & 11 deletions

File tree

lammps-tutorials.tex

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3706,10 +3706,12 @@ \subsubsection{Adding water}
37063706
% $\text{SiO}_2$), and TIP4P (for water). Here, the TIP4P/2005 model is
37073707
% employed for the water~\cite{abascal2005general}. Open the
37083708
% \flecmd{gcmc.lmp} file, which should contain the following lines:
3709-
For this next step, we need to define the parameters for the water molecules and
3710-
the cross-interactions between water and silica. The TIP4P/2005 model is employed
3711-
for the water~\cite{abascal2005general}, while no specific parameters are set
3712-
for the silica itself. The atoms of the silica will remain frozen during this part.
3709+
For this next step, we need to {\color{blue} specify the force field used
3710+
to model the interactions in the system}. The TIP4P/2005 model is employed
3711+
for the water~\cite{abascal2005general}, while no {\color{blue} interaction
3712+
within silica is defined, as it will be seen farther below}.
3713+
{\color{blue} This is because the} atoms of the silica will
3714+
remain frozen during this part {\color{blue}of the simulation}.
37133715
Only the cross-interactions between water and silica need
37143716
to be defined. Open the \flecmd{gcmc.lmp} file, which should contain the following lines:
37153717
\begin{lstlisting}
@@ -3728,8 +3730,9 @@ \subsubsection{Adding water}
37283730
%using the \lmpcmd{hybrid/overlay} pair style.
37293731
The PPPM solver~\cite{luty1996calculating} is specified with the \lmpcmd{kspace}
37303732
command, and is used to compute the long-range Coulomb interactions associated
3731-
with \lmpcmd{tip4p/long}. Finally, the style for the bonds
3732-
and angles of the water molecules are defined; however, these specifications are
3733+
with \lmpcmd{tip4p/long}. Finally, the {\color{blue} form of} the bond
3734+
and angle{\color{blue} potentials} of the water molecules are defined; however,
3735+
{\color{blue} as previously discussed,} these specifications are
37333736
not critical since TIP4P/2005 is a rigid water model.}
37343737

37353738
\begin{note}
@@ -3809,7 +3812,7 @@ \subsubsection{Adding water}
38093812
file, the \lmpcmd{create\_atoms} command is used to include three water molecules
38103813
in the system. Then, add the following \lmpcmd{pair\_coeff} (and
38113814
\lmpcmd{bond\_coeff} and \lmpcmd{angle\_coeff}) commands
3812-
to \flecmd{gcmc.lmp}:
3815+
to \flecmd{gcmc.lmp} {\color{blue}in order to specify the potential parameters}:
38133816
\begin{lstlisting}
38143817
pair_coeff * * 0 0
38153818
pair_coeff Si OW 0.0057 4.42
@@ -3822,8 +3825,8 @@ \subsubsection{Adding water}
38223825
% The force field Vashishta applies only to \lmpcmd{Si} and \lmpcmd{O} of $\text{SiO}_2$,
38233826
% and not to the \lmpcmd{OW} and \lmpcmd{HW} of $\text{H}_2\text{O}$, thanks to the \lmpcmd{NULL} parameters
38243827
% used for atoms of types \lmpcmd{OW} and \lmpcmd{HW}.
3825-
Pair coefficients for the \lmpcmd{lj/cut/tip4p/long}
3826-
potential are defined between O($\text{H}_2\text{O}$) and between H($\text{H}_2\text{O}$)
3828+
Pair coefficients for the {\color{blue}potentials underlying the} \lmpcmd{lj/cut/tip4p/long}
3829+
{\color{blue}style} are defined between O($\text{H}_2\text{O}$) and between H($\text{H}_2\text{O}$)
38273830
atoms, as well as between O($\text{SiO}_2$)-O($\text{H}_2\text{O}$) and
38283831
Si($\text{SiO}_2$)-O($\text{H}_2\text{O}$). Thus, the fluid-fluid and the
38293832
fluid-solid interactions will be adressed with by the \lmpcmd{lj/cut/tip4p/long} potential.
@@ -3848,7 +3851,8 @@ \subsubsection{Adding water}
38483851
a HW-OW-HW mol h2omol
38493852
\end{lstlisting}
38503853
The number of oxygen atoms from water molecules (i.e.~the number of molecules)
3851-
is calculated by the \lmpcmd{nO} variable. The SHAKE algorithm is used to
3854+
is calculated by the \lmpcmd{nO} variable. {\color{blue}As already discussed in other
3855+
tutorials, the} SHAKE algorithm is used to
38523856
maintain the shape of the water molecules over time~\cite{ryckaert1977numerical, andersen1983rattle}.
38533857

38543858
\begin{note}
@@ -3934,7 +3938,7 @@ \subsubsection{Adding water}
39343938
run 25000
39353939
\end{lstlisting}
39363940
{\color{blue}The \lmpcmd{f\_} keywords extract the Monte Carlo move statistics
3937-
output by the \lmpcmd{fix gcmc} command.}
3941+
{\color{blue} which is computed (and can be extracted)} by the \lmpcmd{fix gcmc} command.}
39383942

39393943
\begin{figure}
39403944
\centering

0 commit comments

Comments
 (0)