File tree 1 file changed +24
-4
lines changed
docs/sphinx/source/tutorials/level1
1 file changed +24
-4
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ Run an energy minimization
173
173
174
174
.. container :: justify
175
175
176
- Run the energy minimization using *gmx grompp * and * gmx mdrun *:
176
+ Prepare the energy minimization using *gmx grompp *:
177
177
178
178
.. code-block :: bash
179
179
@@ -183,8 +183,28 @@ Run an energy minimization
183
183
.. container :: justify
184
184
185
185
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}`.
189
209
190
210
.. include :: ../../non-tutorials/accessfile.rst
You can’t perform that action at this time.
0 commit comments