@@ -544,7 +544,7 @@ \subsubsection{My first input}
544544\paragraph {System definition }
545545
546546The next step is to create the simulation box and put some atoms into it.
547- Modify the \textit {System definition } category of \textit {input .lmp } as follows:
547+ Modify the \textit {System definition } category of \textit {initial .lmp } as follows:
548548{\normalsize
549549\begin {verbatim }
550550 # 2) System definition
@@ -599,7 +599,7 @@ \subsubsection{My first input}
599599
600600\paragraph {Settings }
601601Now we provide the settings for the two types of atoms. Modify the
602- \textit {Settings } category of \textit {input .lmp } as follows:
602+ \textit {Settings } category of \textit {initial .lmp } as follows:
603603{\normalsize
604604\begin {verbatim }
605605 # 3) Settings
@@ -656,7 +656,7 @@ \subsubsection{My first input}
656656The system is now fully parameterized and the input ready to compute
657657forces. Let us fill in the two last remaining categories,
658658\textit {Visualization }, and \textit {Run }, by adding the following lines
659- into \textit {input .lmp }:
659+ into \textit {initial .lmp }:
660660{\normalsize
661661\begin {verbatim }
662662 # 4) Visualization
@@ -755,7 +755,7 @@ \subsubsection{My first input}
755755and the system is now ready to perform a molecular dynamics simulation
756756using the minimized geometry. Since we want to start from the result of
757757the energy minimization step, we can append commands for the MD simulation
758- to the same input script, \textit {input .lmp }. After the
758+ to the same input script, \textit {initial .lmp }. After the
759759\textit {minimize } command, add the following lines:
760760{\normalsize
761761\begin {verbatim }
@@ -781,7 +781,7 @@ \subsubsection{My first input}
781781\textit {pe + ke = etotal }.
782782
783783Then, let us add a second \textit {Run } category by adding the following
784- lines to \textit {PART B } of \textit {input .lmp }:
784+ lines to \textit {PART B } of \textit {initial .lmp }:
785785{\normalsize
786786\begin {verbatim }
787787 # 5) Run
@@ -871,7 +871,7 @@ \subsubsection{My first input}
871871by either using the \texttt {Ctrl-D } keyboard shortcut or select
872872\textit {Copy dump image command } from the \textit {File } menu. This text
873873can be pasted into the into the \textit {Visualization } section of
874- \textit {PART B: } of the \textit {input .lmp } file.
874+ \textit {PART B: } of the \textit {initial .lmp } file.
875875
876876This may look like the following:
877877{\normalsize
@@ -887,7 +887,7 @@ \subsubsection{My first input}
887887}
888888This command tells LAMMPS to generate NetPBM format images every 100
889889steps. The two \textit {type } keywords are for \textit {color } and
890- \textit {diameter }, respectively. Run the \textit {input .lmp } using
890+ \textit {diameter }, respectively. Run the \textit {initial .lmp } using
891891LAMMPS again, and a new window named \textit {Slide Show } will pop up.
892892It will show each image created by the \textit {dump image} as it is
893893created and after the simulation is finished (or stopped), the slide
@@ -912,8 +912,8 @@ \subsubsection{Improving the script}
912912\paragraph {Control the initial atom positions }
913913Create a new folder next to \textit {my-first-input/ } and call it
914914\textit {improved-input/ }. Then, create a new input file within
915- \textit {improved-input/ } and call it \textit {input .min.lmp }. Similarly to what
916- has been done previously, copy the following lines into \textit {input .min.lmp }:
915+ \textit {improved-input/ } and call it \textit {improved .min.lmp }. Similarly to what
916+ has been done previously, copy the following lines into \textit {improved .min.lmp }:
917917{\normalsize
918918\begin {verbatim }
919919 # 1) Initialization
@@ -942,7 +942,7 @@ \subsubsection{Improving the script}
942942}
943943The \textit {side in } and \textit {side out } keywords are used to define regions
944944that are respectively inside and outside of the cylinder of radius 10. Then,
945- copy similar lines as previously into \textit {input .min.lmp }:
945+ copy similar lines as previously into \textit {improved .min.lmp }:
946946{\normalsize
947947\begin {verbatim }
948948 # 3) Settings
@@ -976,7 +976,7 @@ \subsubsection{Improving the script}
976976\textit {.data } file will be used later to restart the simulation from
977977the final state of the energy minimization step.
978978
979- Run the \textit {input .min.lmp } script. At the end of the simulation, a
979+ Run the \textit {improved .min.lmp } script. At the end of the simulation, a
980980file called \textit {minimized\_ coordinates.data } is created. You can
981981view the contents of the file either using \textit {View } entry in the
982982\textit {File } menu, by using the keyboard shortcut
@@ -1011,7 +1011,7 @@ \subsubsection{Improving the script}
10111011
10121012Let us create a new input file and start a molecular dynamics simulation
10131013directly from the previously saved configuration. Within
1014- \textit {improved-input/ }, create a new file called \textit {input .md.lmp }
1014+ \textit {improved-input/ }, create a new file called \textit {improved .md.lmp }
10151015and copy the same lines as previously:
10161016{\normalsize
10171017\begin {verbatim }
@@ -1024,7 +1024,7 @@ \subsubsection{Improving the script}
10241024}
10251025Here, instead of creating a new region and adding atoms to it, we can
10261026simply import the previously saved configuration by adding the following
1027- command to \textit {input .md.lmp }:
1027+ command to \textit {improved .md.lmp }:
10281028{\normalsize
10291029\begin {verbatim }
10301030 # 2) System definition
@@ -1041,7 +1041,7 @@ \subsubsection{Improving the script}
10411041during minimization. To start the simulation from a clean slate, with
10421042only atoms of type 2 within the cylinder and atoms of type 1 outside the
10431043cylinder, let us delete the misplaced atoms by adding the following
1044- commands to \textit {input .md.lmp }:
1044+ commands to \textit {improved .md.lmp }:
10451045
10461046{\normalsize
10471047\begin {verbatim }
@@ -1100,7 +1100,7 @@ \subsubsection{Improving the script}
11001100coordination number is a measure of the average number of type 2 atoms
11011101in the vicinity of type 1 atoms, which serves as a good indicator of the
11021102degree of mixing in a binary mixture. Add the following lines into
1103- \textit {input .md.lmp }:
1103+ \textit {improved .md.lmp }:
11041104{\normalsize
11051105\begin {verbatim }
11061106 compute coor12 group_type_1 coord/atom &
@@ -1120,7 +1120,7 @@ \subsubsection{Improving the script}
11201120\label {fig:evolution-population }
11211121\end {figure }
11221122
1123- Add the following lines into \textit {input .md.lmp }. Note the absence of
1123+ Add the following lines into \textit {improved .md.lmp }. Note the absence of
11241124\textit {Settings } section, because the settings are taken from the
11251125\textit {.data } file.
11261126{\normalsize
@@ -1143,7 +1143,7 @@ \subsubsection{Improving the script}
11431143the simulation.
11441144
11451145Finally, let us complete the script by adding the following lines into
1146- \textit {input .md.lmp }:
1146+ \textit {improved .md.lmp }:
11471147{\normalsize
11481148\begin {verbatim }
11491149 # 5) Run
@@ -1186,7 +1186,7 @@ \subsubsection{Improving the script}
11861186due to the drift, which means the system itself cools down. In the
11871187extreme case it can freeze and drift very fast. This phenomenon is sometimes referred to as the `` flying ice cube syndrome'' \cite {wong2016good }.
11881188
1189- Run \textit {input .md.lmp } and observe the mixing of the two populations
1189+ Run \textit {improved .md.lmp } and observe the mixing of the two populations
11901190over time (see also Fig.\, \ref {fig:evolution-population }). From the
11911191variables \textit {n1\_ in } and \textit {n2\_ in }, one can follow the number
11921192of atoms in each region as a function of time
0 commit comments