Skip to content

Commit f9d26d6

Browse files
committed
kept working on bulk
1 parent 9b2be67 commit f9d26d6

1 file changed

Lines changed: 27 additions & 27 deletions

File tree

docs/sphinx/source/tutorials/tutorial1/bulk-solution.rst

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -570,38 +570,38 @@ value, which is usually the sign that the atoms are located at appropriate
570570
distances from each other. The system is now in a favorable state
571571
and the molecular dynamics simulation can be started.
572572

573-
Minimalist NVT input file
574-
=========================
573+
Minimalist :math:`NVT` input file
574+
=================================
575575

576576
Let us first perform a short (20 picoseconds)
577-
equilibration in the NVT ensemble. In the NVT ensemble, the number of
578-
atoms (N) and the volume (V) are maintained fixed, and the
579-
temperature of the system (T) is adjusted using a thermostat.
577+
equilibration in the :math:`NVT` ensemble. In the :math:`NVT` ensemble,
578+
the number of atoms (:math:`N`) and the volume (:math:`V`) are maintained
579+
fixed, and the temperature of the system (:math:`T`) is adjusted using
580+
a thermostat.
580581

581-
Let us write a new input script called *nvt.mdp*, and save it in
582-
the *inputs/* folder. Copy the following lines into it:
582+
Let us create a new input script called **nvt.mdp**, and save it in
583+
the **inputs/** folder. Copy the following lines into it:
583584

584585
.. code-block:: bw
585586
586587
integrator = md
587588
nsteps = 20000
588589
dt = 0.001
589590
590-
Here, the molecular dynamics (md) integrator is used, this is a leap-frog
591+
Here, the molecular dynamics (md) integrator is used, which is a leap-frog
591592
algorithm integrating Newton equations of motion. A number of 20000 steps with
592-
a timestep *dt* equal of :math:`0.001 ~ \text{ps}` will be performed.
593+
a timestep ``dt`` equal of :math:`0.001 ~ \text{ps}` will be performed.
593594

594-
Let us also ask GROMACS to print the trajectory in a compressed *xtc* file
595-
every 1000 steps, or every 1 ps, by adding the following line to *nvt.mdp*:
595+
Let us also ask GROMACS to print the trajectory in a compressed **.xtc** file
596+
every 1000 steps, or every 1 ps, by adding the following line to **nvt.mdp**:
596597

597598
.. code-block:: bw
598599
599600
nstxout-compressed = 1000
600601
601602
Let us also control the temperature throughout the
602-
simulation using the v-rescale thermostat, which is
603-
the Berendsen thermostat with an additional stochastic
604-
term :cite:`bussi2007canonical`.
603+
simulation using the so-called ``v-rescale`` thermostat, which is
604+
a Berendsen thermostat with an additional stochastic term :cite:`bussi2007canonical`:
605605

606606
.. code-block:: bw
607607
@@ -610,38 +610,38 @@ term :cite:`bussi2007canonical`.
610610
tc-grps = system
611611
tau-t = 0.5
612612
613-
The v-rescale thermostat is known to give
614-
a proper canonical ensemble. Here, we also specified that the thermostat is
615-
applied to the entire system using the *tc-grps* option and that the
616-
damping constant for the thermostat, *tau-t*, is equal to 0.5 ps.
613+
The ``v-rescale`` thermostat is known to give a proper canonical
614+
ensemble. Here, we also specified that the thermostat is
615+
applied to the entire system using the ``tc-grps`` option and that the
616+
damping constant for the thermostat, ``tau-t``, is equal to 0.5 ps.
617617

618-
Note that the relatively high temperature of 360 K
618+
Note that the relatively high temperature of :math:`360~\text{K}`
619619
has been chosen here to reduce the viscosity of the solution and
620620
decrease the equilibration duration.
621621

622622
We now have a minimalist input file for performing
623-
the first NVT simulation. Run it by typing in the terminal:
623+
the first :math:`NVT` simulation. Run it by typing in the terminal:
624624

625625
.. code-block:: bw
626626
627-
gmx grompp -f inputs/nvt.mdp -c min.gro -p topol.top -o nvt -pp nvt -po nvt
627+
gmx grompp -f inputs/nvt.mdp -c min.gro -o nvt -pp nvt -po nvt
628628
gmx mdrun -v -deffnm nvt
629629
630-
Here *-c min.gro* ensures that the previously
631-
minimized configuration is used as a starting point.
630+
Here ``-c min.gro`` option ensures that the previously
631+
minimized configuration is used as a starting point for the :math:`NVT` simulation.
632632

633633
After the completion of the simulation, we can
634634
ensure that the system temperature indeed reached
635-
the value of 360 K by using the energy command of
635+
the value of :math:`360~\text{K}` by using the energy command of
636636
GROMACS. In the terminal, type:
637637

638638
.. code-block:: bw
639639
640-
gmx energy -f nvt.edr -o temperature-nvt-minimal.xvg
640+
gmx energy -f nvt.edr -o nvt-T.xvg
641641
642-
and choose *temperature*.
642+
and choose 10 for temperature, and then press enter twice.
643643

644-
From the generated *temperature-nvt-minimal.xvg* file, one can see that temperature
644+
From the generated *nvt-T.xvg* file, one can see that temperature
645645
started from 0 K, which was expected since the atoms have no velocity
646646
during a minimization step, and reaches a temperature slightly larger than the
647647
requested 360 K after a duration of a few picoseconds.

0 commit comments

Comments
 (0)