[lammps-users] lmp2vmd

Dear all,
I want to visualize LAMMPS dump files with VMD. I dealt with lmp2vmd tool but I couldn’t see even one example’s dump file. Would you please tell me how I can do that?
Thanks.
S.Y.

Dear all,
I want to visualize LAMMPS dump files with VMD. I dealt with lmp2vmd tool
but I couldn't see even one example's dump file. Would you please tell me
how I can do that?

you have to be more specific about what you did and what
happened (or didn't) in order to get specific help.

please note, that there is no more lmp2vmd tool in current
versions of LAMMPS. thus please _read_ the documentation
for LAMMPS _and_ VMD.

lammps dump files can be read directly by VMD.
if you install a recent alpha version of VMD also
non-orthogonal cells are supported. also you can
write your trajectories in dcd, xtc, or xyz file formats
which are all supported by VMD.

lmp2vmd has been superseded by the topotools plugin.
it purpose in this context is to import (and export, and
manipulate) topology information in VMD.

cheers,
    axel.

Dear Somaiieh,

You can get the LAMMPS output that can be visualized by VMD directly using this command in your LAMMPS code.

dump 1 all custom 10 trajectory.lammpstrj id x y z

File *.lammpstrj can be used in VMD directly. You can change number 1 (ID), all (group), and 10 (Nevery time step you take the picture).

Best,
Rizal

2010/12/17 Somaiieh Yousefi <syousefi81@…24…>