I am using a calculation software called CASTEP, within Materials Studio, and I want to make a "movie" of my geometry optimization, but don't know how to. CASTEP allows one to do many many different types of calculations, and one of the simpler ones it does is a geometry optimization for a unit cell. I remember hearing that it was possible to show a "movie" of the geometry optimization. This "movie" would show all of the steps from the beginning atom positions in the unit cell to the final converged one. I don't know how to make this "movie" and was wondering if someone else knows how.

  • $\begingroup$ Welcome to Chemistry Stack Exchange! Find out everything you need to get started by taking the tour $\endgroup$
    – repurposer
    Apr 28, 2015 at 3:34

1 Answer 1


The geometry optimization routine does not appear to have a method to output frames to an .xtd file for CASTEP in Materials Studio. Usually a movie makes more sense for a molecular dynamics simulation.

However, if you construct a script that performs a sequence if geometry optimizations with MaxIterations = 3 (must be >2), you can output each result to .std (study table) or .xtd. You would do this by outputting a geometry optimization after three iterations, then repeat the calculation on the result, until convergence. Then you take the frames and make a video

The help file in Materials Studio is rather a good resource, be sure to dig around in there, especially for the scripting API


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.