git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@337 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -20,7 +20,8 @@ certain kinds of LAMMPS simulations.
|
||||
4.7 "TIP3P water model"_#4_7
|
||||
4.8 "TIP4P water model"_#4_8
|
||||
4.9 "SPC water model"_#4_9
|
||||
4.10 "Coupling LAMMPS to other codes"_#4_10 :all(b)
|
||||
4.10 "Coupling LAMMPS to other codes"_#4_10
|
||||
4.11 "Visualizing LAMMPS snapshots"_#4_11 :all(b)
|
||||
|
||||
The example input scripts included in the LAMMPS distribution and
|
||||
highlighted in "this section"_Section_example.html also show how to
|
||||
@ -583,6 +584,62 @@ 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.
|
||||
|
||||
:line
|
||||
|
||||
4.11 Visualizing LAMMPS snapshots :link(4_11),h4
|
||||
|
||||
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"_dump.html 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"_Section_tools.html#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"_Section_tools.html doc page for details. The first is
|
||||
the "ch2lmp tool"_Section_tools.html#charmm, which contains a
|
||||
lammps2pdb Perl script which converts LAMMPS dump files into PDB
|
||||
files. The second is the "lmp2arc tool"_Section_tools.html#arc which
|
||||
converts LAMMPS dump files into Accelrys's Insight MD program files.
|
||||
The thrid is the "lmp2cfg tool"_Section_tools.html#cfg which converts
|
||||
LAMMPS dump files into CFG files which can be read into the
|
||||
"AtomEye"_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"_pizza for details. Specifically, Pizza.py can convert
|
||||
LAMMPS dump files into PDB, XYZ, "Ensight"_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"_vmd.
|
||||
|
||||
LAMMPS can create DCD files directly (via "dump dcd") which can be
|
||||
read by "VMD"_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"_dump.html 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"_vmd for visualization.
|
||||
See the "dump"_dump.html command for more information on XTC files.
|
||||
|
||||
:link(pizza,http://www.cs.sandia.gov/~sjplimp/pizza.html)
|
||||
:link(vmd,http://www.ks.uiuc.edu/Research/vmd)
|
||||
:link(ensight,http://www.ensight.com)
|
||||
:link(atomeye,http://164.107.79.177/Archive/Graphics/A)
|
||||
|
||||
:line
|
||||
|
||||
:link(Cornell)
|
||||
|
||||
Reference in New Issue
Block a user