CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [General] Python macro to do multiple plot over line (https://www.cfd-online.com/Forums/paraview/212989-python-macro-do-multiple-plot-over-line.html)

ssa_cfd December 12, 2018 08:38

Python macro to do multiple plot over line
 
Hi all,

I was trying to automate plot over line using macro. I found out that, when writing the data, the paraview writer writes all fields. I wanted it to write only velocity and pressure with points.

I did some study and created a script to write only selected fields.
And also this script runs through multiple positions and writes to seperate files.

In case if anyone is interested you can download the macro polloop.py from

https://github.com/ssacfd/python_paraview

Also have a look at
https://www.youtube.com/watch?v=7lqYJxmp4_4

Thanks.


All times are GMT -4. The time now is 00:08.