@@ -117,7 +117,7 @@ or the IDs of the atoms that are connected by bonds and angles.
117
117
118
118
.. container :: figurelegend
119
119
120
- a) Temperature, :math: `T`, of the water reservoir as a function of the
120
+ Figure: a) Temperature, :math: `T`, of the water reservoir as a function of the
121
121
time, :math: `t`. The horizontal dashed line is the target temperature
122
122
of :math: `300 \text {K}`. b) Evolution of the system density, :math: `\rho `, with :math: `t`
123
123
@@ -151,8 +151,18 @@ The ``fix npt`` allows us to impose both a temperature of :math:`300\,\text{K}`
151
151
(with a damping constant of :math: `1000 \,\text {fs}`). With the ``iso `` keyword,
152
152
the three dimensions of the box will be re-scaled simultaneously.
153
153
154
- INSERT FIGURE PEG-water The water reservoir from \h yperref[all-atom-label]{Tutorial 3}
155
- after equilibration. Oxygen atoms are in red, and hydrogen atoms are in white.
154
+ .. figure :: figures/water-light.png
155
+ :alt: Water reservoir from molecular dynamics simulations
156
+ :class: only-light
157
+
158
+ .. figure :: figures/water-dark.png
159
+ :alt: Water reservoir from molecular dynamics simulations
160
+ :class: only-dark
161
+
162
+ .. container :: figurelegend
163
+
164
+ Figure: The water reservoir after equilibration. Oxygen atoms are in red, and
165
+ hydrogen atoms are in white.
156
166
157
167
Let us output the system into images by adding the following commands to **water.lmp **:
158
168
@@ -222,11 +232,20 @@ Now that the water reservoir is equilibrated, we can safely add the PEG polymer
222
232
to the water. The PEG molecule topology was downloaded from the ATB repository
223
233
:cite: `malde2011automated, oostenbrink2004biomolecular `. It has a formula
224
234
:math: `\text {C}_{16 }\text {H}_{34 }\text {O}_{9 }`, and the parameters are taken from
225
- the {GROMOS} 54A7 force field :cite: `schmid2011definition ` (Fig.~\r ef{fig:PEG-in-vacuum}).
235
+ the GROMOS 54A7 force field :cite: `schmid2011definition `.
236
+
237
+ .. figure :: figures/singlePEG-light.png
238
+ :alt: PEG in vacuum as simulated with LAMMPS
239
+ :class: only-light
240
+
241
+ .. figure :: figures/singlePEG-dark.png
242
+ :alt: PEG in vacuum as simulated with LAMMPS
243
+ :class: only-dark
244
+
245
+ .. container :: figurelegend
226
246
227
- INSERT FIGURE PEG-in-vacuum
228
- The PEG molecule from \h yperref[all-atom-label]{Tutorial 3}.
229
- The carbon atoms are in gray, the oxygen atoms in red, and the hydrogen atoms in white.
247
+ Figure: The PEG molecule with carbon atoms in gray, oxygen atoms in red,
248
+ and hydrogen atoms in white.
230
249
231
250
Open the file named **merge.lmp ** that was downloaded
232
251
alongside **water.lmp ** during the tutorial setup. It only contain one line:
@@ -311,9 +330,20 @@ Let us create images of the systems:
311
330
acolor OAlc darkred adiam OAlc 2.6
312
331
thermo 500
313
332
314
- Inlude PEG-solvated figure : The PEG molecule solvated in water.
333
+ .. figure :: figures/solvatedPEG_light.png
334
+ :alt: PEG in water as simulated with LAMMPS
335
+ :class: only-light
336
+
337
+ .. figure :: figures/solvatedPEG_dark.png
338
+ :alt: PEG in water as simulated with LAMMPS
339
+ :class: only-dark
340
+
341
+ .. container :: figurelegend
342
+
343
+ Figure : The PEG molecule solvated in water. Water is represented as a
344
+ transparent field for clarity.
315
345
316
- inally , to perform a short equilibration and save the final state to
346
+ Finally , to perform a short equilibration and save the final state to
317
347
a **.restart ** file, add the following lines to the input:
318
348
319
349
.. code-block :: lammps
@@ -363,7 +393,17 @@ divides these atoms into two groups, ``end1`` (i.e.,~the OAlc atom to
363
393
the right of the center) and ``end2 `` (i.e.,~the OAlc atom to the right
364
394
of the center), for applying force during the stretching process.
365
395
366
- Add figure PEG-in-water PEG molecule stretched along the :math: `x` direction in water.
396
+ .. figure :: figures/pulled_peg_light.png
397
+ :alt: PEG in water as simulated with LAMMPS
398
+ :class: only-light
399
+
400
+ .. figure :: figures/pulled_peg_dark.png
401
+ :alt: PEG in water as simulated with LAMMPS
402
+ :class: only-dark
403
+
404
+ .. container :: figurelegend
405
+
406
+ Figure: PEG molecule stretched along the :math: `x` direction in water.
367
407
368
408
Add the following ``dump `` command to create images of the system:
369
409
@@ -394,7 +434,7 @@ the following lines to **pull.lmp**:
394
434
395
435
.. container :: figurelegend
396
436
397
- a) Evolution of the radius of gyration :math: `R_\text {gyr}` of the PEG molecule,
437
+ Figure: a) Evolution of the radius of gyration :math: `R_\text {gyr}` of the PEG molecule,
398
438
with the force applied starting at :math: `t = 15 \,\text {ps}`. b) Histograms of
399
439
the dihedral angles of type 1 in the absence (orange) and in the presence (blue) of the applied force.
400
440
0 commit comments