[lammps-users] Reading a lammps.dat file

Hi,

How to read a lammps.dat file either in matlab or python?

Thanks,

Regards,
Anirudh

Hi,

How to read a lammps.dat file either in matlab or python?

the format of the data file is described in the documentation for the “read_data” command.
the Atoms section requires special attention as its format depends on the atom style used.

with that information, it should be straightforward to write the code to read the file.

axel.

Thank you Dr. Axel.