diff --git a/doc/Manual.txt b/doc/Manual.txt
index 3f4abcaa6d..23ba766b03 100644
--- a/doc/Manual.txt
+++ b/doc/Manual.txt
@@ -69,7 +69,8 @@ we can improve the LAMMPS documentation.
4.7 "TIP3P water model"_4_7 :b
4.8 "TIP4P water model"_4_8 :b
4.9 "SPC water model"_4_9 :b
- 4.10 "Coupling LAMMPS to other codes"_4_10 :ule,b
+ 4.10 "Coupling LAMMPS to other codes"_4_10
+ 4.11 "Visualizing LAMMPS snapshots"_4_11 :ule,b
"Example problems"_Section_example.html :l
"Performance & scalability"_Section_perf.html :l
"Additional tools"_Section_tools.html :l
@@ -114,6 +115,7 @@ we can improve the LAMMPS documentation.
:link(4_8,Section_howto.html#4_8)
:link(4_9,Section_howto.html#4_9)
:link(4_10,Section_howto.html#4_10)
+:link(4_11,Section_howto.html#4_11)
:link(9_1,Section_errors.html#9_1)
:link(9_2,Section_errors.html#9_2)
diff --git a/doc/Section_howto.html b/doc/Section_howto.html
index 0f8ae2da8e..7e42cb57f9 100644
--- a/doc/Section_howto.html
+++ b/doc/Section_howto.html
@@ -23,7 +23,8 @@ certain kinds of LAMMPS simulations.
4.7 TIP3P water model
4.8 TIP4P water model
4.9 SPC water model
-4.10 Coupling LAMMPS to other codes
+4.10 Coupling LAMMPS to other codes
+4.11 Visualizing LAMMPS snapshots
The example input scripts included in the LAMMPS distribution and highlighted in this section also show how to @@ -587,6 +588,65 @@ show how a stand-alone code can link LAMMPS as a library, run LAMMPS on a subset of processors, grab data from LAMMPS, change it, and put it back into LAMMPS.
+LAMMPS itself does not do visualization, but snapshots from LAMMPS +simulations can be visualized (and analyzed) in a variety of ways. +
+LAMMPS snapshots are created by the dump command which can +create files in several formats. The native LAMMPS dump format is a +text file (see "dump atom" or "dump custom") which can be visualized +by the xmovie program, included with the +LAMMPS package. This produces simple, fast 2d projections of 3d +systems, and can be useful for rapid debugging of simulation geoemtry +and atom trajectories. +
+Several programs included with LAMMPS as auxiliary tools can convert +native LAMMPS dump files to other formats. See the +Section_tools doc page for details. The first is +the ch2lmp tool, which contains a +lammps2pdb Perl script which converts LAMMPS dump files into PDB +files. The second is the lmp2arc tool which +converts LAMMPS dump files into Accelrys's Insight MD program files. +The thrid is the lmp2cfg tool which converts +LAMMPS dump files into CFG files which can be read into the +AtomEye visualizer. +
+A Python-based toolkit distributed by our group can read native LAMMPS +dump files, including custom dump files with additional columns of +user-specified atom information, and convert them to various formats +or pipe them into visualization software directly. See the Pizza.py +WWW site for details. Specifically, Pizza.py can convert +LAMMPS dump files into PDB, XYZ, Ensight, and VTK formats. +Pizza.py can pipe LAMMPS dump files directly into the Raster3d and +RasMol visualization programs. Pizza.py has tools that do interactive +3d OpenGL visualization and one that creates SVG images of dump file +snapshots. +
+LAMMPS can create XYZ files directly (via "dump xyz") which is a +simple text-based file format used by many visualization programs +including VMD. +
+LAMMPS can create DCD files directly (via "dump dcd") which can be +read by VMD in conjunction with a CHARMM PSF file. Using this +form of output avoids the need to convert LAMMPS snapshots to PDB +files. See the dump command for more information on DCD +files. +
+LAMMPS can create XTC files directly (via "dump xtc") which is GROMACS +file format which can also be read by VMD for visualization. +See the dump command for more information on XTC files. +
+ + + + + + + +The xtc style writes XTC files, a compressed trajectory format used -by the Gromacs molecular dynamics package, and described +by the GROMACS molecular dynamics package, and described here. The precision used in XTC files can be specified; for example, a value of 100 means that coordinates are stored to 1/100 nanometer accuracy. @@ -155,9 +155,9 @@ coordinate format that many codes can read.
Note that DCD, XTC, and XYZ formatted files can be read directly by VMD (a popular molecular viewing -program). VMD will also read LAMMPS atom style dump files since -someone added a LAMMPS plug-in to VMD. I am told it requires an -initial snapshot from an XYZ formatted file to get started. +program). We are told VMD will also read LAMMPS atom style dump +files since someone has added a LAMMPS format plug-in to VMD. It may +require an initial snapshot from an XYZ formatted file to get started.
The default frequency for rebuilding neighbor lists is every 10 steps +(see the neigh_modify command). This may be too +infrequent for DPD simulations since particles move rapidly and can +overlap by large amounts. If this setting yields a non-zero number of +"dangerous" reneighborings (printed at the end of a simulation), you +should experiment with forcing reneighboring more often and see if +system energies/trajectories change. +
Related commands:
pair_coeff diff --git a/doc/pair_dpd.txt b/doc/pair_dpd.txt index a2fdb47ddc..cfd8c5f565 100644 --- a/doc/pair_dpd.txt +++ b/doc/pair_dpd.txt @@ -63,6 +63,14 @@ The {dpd} potential does not support the "pair_modify"_pair_modify.hmtl {mix} option. Coefficients for all i,j pairs must be specified explicitly. +The default frequency for rebuilding neighbor lists is every 10 steps +(see the "neigh_modify"_neigh_modify.html command). This may be too +infrequent for DPD simulations since particles move rapidly and can +overlap by large amounts. If this setting yields a non-zero number of +"dangerous" reneighborings (printed at the end of a simulation), you +should experiment with forcing reneighboring more often and see if +system energies/trajectories change. + [Related commands:] "pair_coeff"_pair_coeff.html diff --git a/doc/pair_eam.html b/doc/pair_eam.html index 4fd322d386..9c38768b66 100644 --- a/doc/pair_eam.html +++ b/doc/pair_eam.html @@ -68,7 +68,7 @@ the pair_coeff command. These are ASCII text fi in a DYNAMO-style format which is described below. DYNAMO is a serial MD code. Several DYNAMO potential files for different metals are included in the "potentials" directory of the LAMMPS distribution. -All of these are parameterized in terms of LAMMPS metal +All of these files are parameterized in terms of LAMMPS metal units.
IMPORTANT NOTE: The eam style reads single-element EAM potentials in @@ -332,6 +332,15 @@ LAMMPS section for more info.
+Here are 2 WWW sites that discuss EAM potentials formulated in +alternate file formats: +
+http://www.ims.uconn.edu/centers/simul/pot +http://cst-www.nrl.navy.mil/ccm6/ap ++
In principle, these potentials could be converted to the DYNAMO file +format described above and used by LAMMPS. +
Default: none