extracting forces and energies for lammps data #223
Unanswered
nisargjoshi10
asked this question in
Q&A
Replies: 4 comments 6 replies
|
Currently dpdata does not support extracting labels from lammps output. You are welcome to contribute. |
0 replies
|
thanks for your response! is there still a way to extract the forces from the dump file? |
0 replies
|
One may implement the reading of forces similar to the reading of coordinates. Lines 54 to 85 in 24ff734 |
0 replies
|
yeah that's what I've been trying, writing the force coordinates to a dump file and then reading them through dpdata. But while doing that I'm getting this error and I can't load the dump file
I'll try to look into the code and see if I can make it work somehow! |
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi all,
I had a question about extracting forces and energies from lammps simulation data for dpata. I am able to get the coords.raw, box.raw and type.raw from the trajectory dump file. My question is if there's any specific format dpdata requires for forces and energies. I have been dumping the fx, fy and fz forces in a dump file but when I try to load that using dpdata I get this error:
ValueError: 'xs' is not in list
Same with energy, I have energy output in log.lammps and out.lammps but not sure how to extract that with dpdata either. Would appreciate your help in extracting all the information for creating the raw files.
Thanks,
Nisarg
All reactions