LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Mailing List Archives
Re: [lammps-users] [lammps-user]Conversion of VMD files to lammps file -Continued
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lammps-users] [lammps-user]Conversion of VMD files to lammps file -Continued

From: Axel Kohlmeyer <akohlmey@...24...>
Date: Fri, 22 Sep 2017 10:51:20 -0400

On Fri, Sep 22, 2017 at 6:36 AM, sumit nagar <sn971489@...24...> wrote:
> Sir,
> This time i have not included any bonds,dihedrals,impropers and angles in my
> graphene sheet created from  VMD and converted to lammps data by tk console
> .The data file looks like the attached file.It is giving  a error Incorrect
> atom format in data file.The documentation says this error comes when number
> of values per atom line in the data file is not consistent with atom style
> .What needs to be changed in the data file ? Will i have to manually edit it

as explained in the documentation for read_data, the file format is
dependent on the choice of atom style.
the error message you quote indicates that this is not given in your
data file. either you have to change the atom style in your LAMMPS
input to match the format that you requested when generating the data
file in VMD, or you have to tell VMD to write out the data file in a
format consistent with the atom style you are using in LAMMPS.
please refer to the relevant documentation for the commands in question.


> .
> Sumit ,Nagar
> M.Tech (Production engg)
> B.E (Production and Ind Engg)
> MCSA 70-290 ,SQL (Oracle z -007)
> ITIL certified ,MCAD 70-306
> GATE 2006,2013
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites,!
> _______________________________________________
> lammps-users mailing list

Dr. Axel Kohlmeyer  akohlmey@...24...
College of Science & Technology, Temple University, Philadelphia PA, USA
International Centre for Theoretical Physics, Trieste. Italy.