So I created a
MyScriptFile.py file with the help of trace option in Paraview. I can run them in pyhton shell in paraview but not when I want to use
pvphyton MyScriptFile.py . So how can I automate this process if I must write the
LD_PRELOAD=/opt/paraviewopenfoam54/lib/paraview-5.4/libvtkpqCore-pv5.4.so.1 /opt/paraviewopenfoam54/bin/pvpython .
After pyhton interference opened I copied my script file inside of it and it works but like I said how can I use it in a way that I can run multiple times with a script?
Your help is very appreciated since I’m beginner. Thanks in advance.