@@ -3977,16 +3977,19 @@ \subsection{Tutorial 8: Reactive Molecular Dynamics}
39773977\label {bond-react-label }
39783978
39793979The goal of this tutorial is to create a system made of
3980- carbon nanotubes embedded in a polymer melt made in nylon-6,6. The
3980+ carbon nanotubes (CNTs) embedded in a polymer melt made in nylon-6,6. The
39813981REACTER protocol is used to simulate the polymerization of nylon, and the formation
39823982of water molecules is followed in time \cite {gissinger2020reacter , gissinger2024molecular }.
3983+ In contrast with Airebo (\hyperref [carbon-nanotube-label]{Tutorial 2})
3984+ and ReaxFF (\hyperref [reactive-silicon-dioxide-label]{Tutorial 5}), the REACTER
3985+ protocol relies on the use of a \textit {classical } force field.
39833986
39843987\subsubsection {Creating the system }
39853988
39863989The first step of the tutorial is to mix small carbon nanotubes
3987- with the initial, unreacted, molecules: hexamethylenediamine and adipic
3988- acid. Create a new input file, call it \textit { mixing.lmp },
3989- and copy the following lines into it:
3990+ with the initial, unreacted, molecules. The molecules are hexamethylenediamine
3991+ (C $ _ 6 $ H $ _{16} $ N $ _ 2 $ ) and adipic acid (C $ _ 6 $ H $ _{10} $ O $ _ 4 $ ) . Create a new input
3992+ file, call it \textit { mixing.lmp }, and copy the following lines into it:
39903993{\normalsize
39913994\begin {verbatim }
39923995units real
@@ -4004,17 +4007,16 @@ \subsubsection{Creating the system}
40044007\end {verbatim }
40054008}
40064009The \textit {class2 } styles compute a 6/9 Lennard-Jones \cite {sun1998compass }.
4007- In contrast with reaxff and airebo, a \textit {classical } force field is used here.
40084010The \textit {class2 } bonds, angles, dihedrals, and impropers are used as
40094011well, see the documention for a description of their respective potentials.
4010- The \textit {mix sixthpower } imposes a different mixing rule for the calculation
4011- of the cross coefficients as compared to the previous tutorials:
4012- $ \sigma _ {ij} = ( 0.5 ( \ sigma ^6 _i+ \sigma _j^ 6 ))^{1/6} $ , and
4013- $ \epsilon _{ij} = ( 2 \sqrt { \epsilon _i \epsilon _j} \sigma ^ 3 _i \sigma ^ 3 _j) / (\sigma ^6 _i+\sigma _j^6 )$ .
4014-
4015- Let us read the data file containing the unreacted nylon molecules, and
4016- replicate it in all directions of the space . Add the folloxing lines
4017- to \textit {mixing.lmp }:
4012+ The \textit {mix sixthpower } imposes the following mixing rule for the calculation
4013+ of the cross coefficients: $ \sigma _{ij} = ( 0.5 ( \sigma ^ 6 _i+ \sigma _j^ 6 ))^{1/6} $ ,
4014+ and $ \epsilon _ {ij} = (2 \sqrt { \epsilon _i \epsilon _j} \ sigma ^3 _i \sigma ^ 3 _j)
4015+ / (\sigma ^6 _i+\sigma _j^6 )$ .
4016+
4017+ Let us read a data file named \href {\filepath tutorial8/ nylon.data}{ \textit { nylon.data }}
4018+ containing the unreacted molecule template, and let us replicate it . Add the
4019+ folloxing lines to \textit {mixing.lmp }:
40184020{\normalsize
40194021\begin {verbatim }
40204022read_data nylon.data &
@@ -4028,8 +4030,7 @@ \subsubsection{Creating the system}
40284030}
40294031The resulting box is $ (7.2 \, \text {nm})^3 $ in size, and its density is low
40304032enough that inserting CNTs will be easy.
4031-
4032- % S.G.: @jrgissing, here we should describe the content of nylon.data.
4033+ % S.G.: @jrgissing, here we could describe the content of nylon.data.
40334034% How was it created, what is the specifity of the molecules involved, etc...
40344035
40354036To add 5 CNTs to the simulation box, add the following commands
@@ -4048,25 +4049,32 @@ \subsubsection{Creating the system}
40484049reset_timestep 0
40494050\end {verbatim }
40504051}
4051- Then, let us output images of the system using \textit {dump image },
4052- and perform an equilibration of system using \textit {fix npt }:
4052+ Then, let us use \textit {dump image } to output images every 1000 steps:
40534053{\normalsize
40544054\begin {verbatim }
4055- dump mydmp all image 1000 dump.mixing.*.ppm type &
4056- type shiny 0.1 box no 0.01 &
4057- view 0 0 zoom 1.8 fsaa yes bond atom 0.5
4055+ dump mydmp all image 1000 dump.mixing.*.ppm &
4056+ type type shiny 0.1 box no 0.01 &
4057+ view 0 0 zoom 1.8 fsaa yes bond atom 0.5
40584058dump_modify mydmp backcolor white &
4059- acolor c2 gray acolor c_1 lightslategray &
4060- acolor o dimgray acolor o_1 dimgray &
4061- acolor hc lightslategray acolor ho lightslategray &
4062- acolor hn lightslategray acolor hw white &
4063- acolor o* red acolor n darkslategray &
4064- acolor na darkslategray acolor cp lightpink &
4065- adiam c2 0.3 adiam c_1 0.3 adiam cp 0.3 &
4066- adiam o 0.28 adiam o_1 0.28 adiam o* 2.8 &
4067- adiam hc 0.15 adiam ho 0.15 adiam hn 0.15 &
4068- adiam hw 1.5 adiam n 0.3 adiam na 0.3
4069-
4059+ acolor c2 gray acolor c_1 lightslategray &
4060+ acolor o dimgray acolor o_1 dimgray &
4061+ acolor hc lightslategray &
4062+ acolor ho lightslategray &
4063+ acolor hn lightslategray acolor hw white &
4064+ acolor o* red acolor n darkslategray &
4065+ acolor na darkslategray &
4066+ acolor cp lightpink &
4067+ adiam c2 0.3 adiam c_1 0.3 &
4068+ adiam cp 0.3 adiam o 0.28 &
4069+ adiam o_1 0.28 adiam o* 2.8 &
4070+ adiam hc 0.15 adiam ho 0.15 &
4071+ adiam hn 0.15 adiam hw 1.5 &
4072+ adiam n 0.3 adiam na 0.3
4073+ \end {verbatim }
4074+ }
4075+ Then, let us perform a short equilibration of system using \textit {fix npt }:
4076+ {\normalsize
4077+ \begin {verbatim }
40704078velocity all create 300 1829 dist gaussian &
40714079 mom yes rot yes
40724080fix mynpt all npt temp 300 300 100 iso 1000 1000 1000
@@ -4083,9 +4091,9 @@ \subsubsection{Creating the system}
40834091write_data cnt-nylon-mix.data
40844092\end {verbatim }
40854093}
4086- To speed up the equilibration of the system, the run is first performed
4087- with an imposed pressure of 1000 \, atm, and then with an imposed
4088- pressure of 1\, atm.
4094+ To speed up the equilibration of the system, a relatively large pressure of
4095+ 1000 \, atm is imposed for the first 10 \, ps. Then for the following 20 \, ps, the
4096+ desired pressure of 1\, atm is imposed .
40894097
40904098\subsubsection {Atom maps and molecule templates }
40914099
0 commit comments