MDANSE icon indicating copy to clipboard operation
MDANSE copied to clipboard

[BUG] LAMMPS converter with a the custom file format does not copy velocities data

Open ChiCheng45 opened this issue 10 months ago • 3 comments

Description of the error I am running a LAMMPS MD simulation and dumping the trajectory to a custom file format with the command.

dump                 dumpTraj all custom 60 argon.txt id type x y z vx vy vz

I can see velocity data in argon.txt, but the data did not get copied into the MDANSE trajectory file. Using the MDAnalysis converter with this dump file produces an MDANSE trajectory file with velocity data.

ChiCheng45 avatar May 12 '25 14:05 ChiCheng45

I don't think the original did this so I never put it in the rework, it's certainly very easy to add if we want it.

Are there any other properties we might be able to get from lammps which might be helpful so we can get them in together?

oerc0122 avatar May 15 '25 12:05 oerc0122

I'm not sure, I think just velocities for now. @MBartkowiakSTFC do you have any ideas?

ChiCheng45 avatar May 15 '25 13:05 ChiCheng45

We may be interested in getting out the time-dependent:

  • velocities (very likely)
  • partial charges (moderately unlikely)
  • forces (we don't use them now, but maybe in the future)

I am pretty sure that the charges work already.

MBartkowiakSTFC avatar May 15 '25 14:05 MBartkowiakSTFC