Skip to content

Commit a1be8aa

Browse files
committedMay 28, 2024·
imrpoved protein tutorial
1 parent fff0eb6 commit a1be8aa

File tree

1 file changed

+24
-4
lines changed

1 file changed

+24
-4
lines changed
 

‎docs/sphinx/source/tutorials/level1/protein-in-electrolyte.rst

+24-4
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ Run an energy minimization
173173

174174
.. container:: justify
175175

176-
Run the energy minimization using *gmx grompp* and *gmx mdrun*:
176+
Prepare the energy minimization using *gmx grompp*:
177177

178178
.. code-block:: bash
179179
@@ -183,8 +183,28 @@ Run an energy minimization
183183
.. container:: justify
184184

185185
The *-maxwarn 1* is required here, because the system is not charge neutral
186-
and GROMACS will throw a WARNING. The charge neutrality will be enforced
187-
later on.
188-
186+
and GROMACS will return a WARNING. The charge neutrality will be enforced
187+
later on. Finally, run the simulation using *gmx mdrun*:
188+
189+
.. code-block:: bash
190+
191+
gmx mdrun -v -deffnm min
192+
193+
.. container:: justify
194+
195+
Thanks to the speepest-descent algoritm, the potential energy of the
196+
system decreases rapidly and becomes large and negative, which is usually
197+
a good sign. The potential energy can be extracted using *gmx energy*:
198+
199+
.. code-block:: bash
200+
201+
gmx energy -f min.edr -o potential-energy-minimization.xvg
202+
203+
.. container:: justify
204+
205+
and choose *Potential*. The generated *.xvg* files contains the value of the
206+
potential energy (in kJ/mol) as a function of the simulation steps. The potential
207+
energy decreases from :math:`-3 \mathrm{e}-4~\text{kJ}/\text{mol}` to
208+
:math:`-1.8 \mathrm{e}-5~\text{kJ}/\text{mol}`.
189209

190210
.. include:: ../../non-tutorials/accessfile.rst

0 commit comments

Comments
 (0)
Please sign in to comment.