python – Script for post-processing vtu or pvd files

python – Script for post-processing vtu or pvd files

You can use the Python Trace, in Tool menu.

Usage:

  • start trace
  • use PV as usual (load files, setup filters and views, take screenshot …)
  • stop trace

It generates the python version of your actions and display it. Then you can save it as a python file and manually modify it.

For instance, you can do the visu for the first 2 timesteps and then edit the trace file to add a loop and cover each timesteps.

python – Script for post-processing vtu or pvd files

Leave a Reply

Your email address will not be published.