restart2data not working

Submitted by Shantanu Maheshwari on Mon, 08/02/2010 - 21:20

Dear liggghts users,
When I am generating restart files using liggghts, I am not able to convert it from binary file to data file.
It is showing me "Restart file version does not match restart2data version". I checked with many versions but still end up in same error. Can anyone tell me how to convert liggghts restart file to data file.
Thanking you

Shantanu Maheshwari

ckloss's picture

ckloss | Mon, 08/02/2010 - 21:35

Hi Shantanu,

afaik you are the first one to use restart2data for LIGGGHTS - it will need some update to work with LIGGGHTS.
Also, the complexity has risen since not only particles have to be accounted for, but also geometry.

Is there any way you can do what you want without restart2data?

Best,
Christoph

Shantanu Maheshwari | Mon, 08/02/2010 - 21:46

Hi Christoph,
Actually I need coordinates and and velocities of particles at some time steps for various calculations. If I can't use restart2data, then can you suggest something to extract positions and velocities of particles.
Thanking You

Shantanu Maheshwari

ckloss's picture

ckloss | Mon, 08/02/2010 - 21:50

Hi Shantanu,

well you can use the dump command - this is what the dump command is made for.
See the examples in the examples/LIGGGHTS directory. If you use the dump custom command, you can dump coos, velocities and more - whatever you like

You're welcome,
Christoph