How can I open various 2D .vtu plots and make a animation?

So, I have almost 500 .vtu files and .dat files from a computer simulation. It is a fluid simulation and I have a routine using ipython to plot each time stamp of the evolution of the fluid dynamics. The output, as I said, is given by two files: a .dat file and a .vtu file.

Therefore, my question is: how can I convert a vtu file into a jpg or png image?

(I opened a .vtu file from the output, but all that I receive was a white disk)

Yes, you can, please share your data.

How can I share the data, Mathieu?

Thank you very much:

  • Open a .vtu file
  • Color by the array you want to visualize
  • Save a screenshot