Author Topic: How to get Coordinates, Energy from AIMD run at each step  (Read 436 times)

0 Members and 1 Guest are viewing this topic.

Offline dua.harkishan@yahoo.com

  • New ATK user
  • *
  • Posts: 4
  • Country: in
  • Reputation: 0
    • View Profile
I have prepared an input for AIMD run of 20 steps. In the output file, I want to get the following information
lattice vector, coordinates, energy and stress tensor for each step.
However, from the input that I am running, I am not getting these information. And it seems a tedious task to get the coordinates and corresponding values from the movie tool at each snapshot. So kindly tell me how to obtain these values from the AIMD run. Attached with this message is the input file that I am running.

Offline sureshko

  • QuantumATK Staff
  • New ATK user
  • *****
  • Posts: 7
  • Country: dk
  • Reputation: 0
    • View Profile
Re: How to get Coordinates, Energy from AIMD run at each step
« Reply #1 on: December 21, 2021, 12:31 »
Please try the highlighted script from the manual page here https://docs.quantumatk.com/manual/Types/MDTrajectory/MDTrajectory.html#:~:text=import%20pylab%0A%0A%23%20Read,legend()%0A%0Apylab.show() using atkpython in a terminal. You should nlread the .hdf5 file containing the MDTrajectory object. This should give you access to the quantities you are looking for.