Skip to content

Commit 98ce2ae

Browse files
committed
improved tutorial 1
1 parent 4f672a1 commit 98ce2ae

File tree

1 file changed

+20
-21
lines changed

1 file changed

+20
-21
lines changed

docs/doc-sphinx/source/tutorials/bulksolution.rst

+20-21
Original file line numberDiff line numberDiff line change
@@ -57,19 +57,19 @@ The input files
5757

5858
.. container:: justify
5959

60-
If you already followed the previous tutorial, :ref:`create-conf-label`,
61-
simply skip this part.
62-
6360
For the present simulation, the initial atom
6461
positions and box size are given in a conf.gro file
65-
(Gromos87 format) that you can download by clicking |conf-SO4.gro|.
66-
67-
Save the conf.gro file in a folder. The file looks like that:
62+
(Gromos87 format) that you can download by clicking |conf-SO4.gro|
63+
(See also :ref:`create-conf-label`).
6864

6965
.. |conf-SO4.gro| raw:: html
7066

7167
<a href="../../../../inputs/bulksolution/conf.gro" target="_blank">here</a>
7268

69+
.. container:: justify
70+
71+
Save the *conf.gro* file in a folder. The file looks like that:
72+
7373
.. code-block:: bw
7474
7575
Na2SO4 solution
@@ -88,10 +88,9 @@ The input files
8888
8989
.. container:: justify
9090

91-
The first line 'Na2SO4 solution' is just a comment, the
92-
second line is the total number of atoms, and the last
93-
line is the box dimension in nanometer, here 3.36 nm
94-
by 3.36 nm by 3.36 nm. Between the second and the
91+
The first line *Na2SO4 solution* is just a comment, the second line is the
92+
total number of atoms, and the last line is the box dimension in nanometer,
93+
here 3.36 nm by 3.36 nm by 3.36 nm. Between the second and the
9594
last lines, there is one line per
9695
atom. Each line indicates, from left to right, the
9796
residue Id (the atoms of the same
@@ -100,11 +99,15 @@ The input files
10099
and finally the atom position (x, y, and z
101100
coordinate in nm).
102101

102+
.. container:: justify
103+
103104
Note that the format of conf.gro file is fixed,
104105
all columns are in a fixed position. For example,
105106
the first five columns are for the residue number.
106107

107-
A conf.gro file can be visualized using VMD by
108+
.. container:: justify
109+
110+
The *conf.gro* file can be visualized using VMD by
108111
typing in the terminal:
109112

110113
.. code-block:: bash
@@ -123,28 +126,24 @@ The input files
123126
:alt: Gromacs initial configuration of SO\ :sub:`4`\ :sup:`2-` and Na\ :sup:`+` ions visualized with VMD
124127
:class: only-dark
125128

129+
.. container:: figurelegend
130+
126131
Figure: SO\ :sub:`4`\ :sup:`2-` ions (in yellow and
127132
red) and Na\ :sub:`+` ions (blue) in water (red and
128-
white).
129-
130-
.. container:: justify
131-
132-
You have to play with atoms' representation and color
133-
to make it look better than it is by default. I wrote a
134-
small |vmd-tutorial| that explains how to obtain nice looking image.
133+
white). Here, the atoms representation and colors was modified. Follow this
134+
|vmd-tutorial| from the LAMMPS tutorials webpage to obtain similar rendering.
135135

136136
.. |vmd-tutorial| raw:: html
137137

138138
<a href="https://lammpstutorials.github.io/sphinx/build/html/tutorials/vmd/vmd-tutorial.html" target="_blank">VMD tutorial</a>
139139

140140
.. container:: justify
141141

142-
As can be seen in this figure, the water molecules are
142+
As can be seen using VMD, the water molecules are
143143
arranged in a quite unrealistic and regular manner, with
144144
all dipoles facing in the same direction, and possibly
145145
wrong distances between some of the molecules and ions.
146-
147-
This will be fixed during energy minimization, see below.
146+
This will be fixed during energy minimization.
148147

149148
2) The topology file (.top)
150149
---------------------------

0 commit comments

Comments
 (0)