Skip to content

Commit 324773f

Browse files
committed
bulk rename files
1 parent 6fdd382 commit 324773f

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

lammps-tutorials.tex

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ \subsubsection{My first input}
544544
\paragraph{System definition}
545545

546546
The 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}
601601
Now 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}
656656
The system is now fully parameterized and the input ready to compute
657657
forces. 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}
755755
and the system is now ready to perform a molecular dynamics simulation
756756
using the minimized geometry. Since we want to start from the result of
757757
the 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

783783
Then, 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}
871871
by either using the \texttt{Ctrl-D} keyboard shortcut or select
872872
\textit{Copy dump image command} from the \textit{File} menu. This text
873873
can 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

876876
This may look like the following:
877877
{\normalsize
@@ -887,7 +887,7 @@ \subsubsection{My first input}
887887
}
888888
This command tells LAMMPS to generate NetPBM format images every 100
889889
steps. 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
891891
LAMMPS again, and a new window named \textit{Slide Show} will pop up.
892892
It will show each image created by the \textit {dump image} as it is
893893
created 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}
913913
Create 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
}
943943
The \textit{side in} and \textit{side out} keywords are used to define regions
944944
that 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
977977
the 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
980980
file called \textit{minimized\_coordinates.data} is created. You can
981981
view 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

10121012
Let us create a new input file and start a molecular dynamics simulation
10131013
directly 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}
10151015
and copy the same lines as previously:
10161016
{\normalsize
10171017
\begin{verbatim}
@@ -1024,7 +1024,7 @@ \subsubsection{Improving the script}
10241024
}
10251025
Here, instead of creating a new region and adding atoms to it, we can
10261026
simply 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}
10411041
during minimization. To start the simulation from a clean slate, with
10421042
only atoms of type 2 within the cylinder and atoms of type 1 outside the
10431043
cylinder, 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}
11001100
coordination number is a measure of the average number of type 2 atoms
11011101
in the vicinity of type 1 atoms, which serves as a good indicator of the
11021102
degree 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}
11431143
the simulation.
11441144

11451145
Finally, 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}
11861186
due to the drift, which means the system itself cools down. In the
11871187
extreme 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
11901190
over time (see also Fig.\,\ref{fig:evolution-population}). From the
11911191
variables \textit{n1\_in} and \textit{n2\_in}, one can follow the number
11921192
of atoms in each region as a function of time

0 commit comments

Comments
 (0)