I’m working with OpenFoam for simulations and using paraView to postprocess them.
What we do is extracting 3 csv data files and as we test a lot of different simulations in the same time, we worked on automatize them.
So I used the Trace method to build the python script.
The point is that when I use the Python Shell or even Pvpython/PbBatch (in order to postprocess from the command tab), I have the following error :
/home/calculopenfoam/OpenFOAM/ThirdParty-4.1/platforms/linux64Gcc/ParaView-5.0.1/lib/paraview-5.0/site-packages/paraview/servermanager.py", line 302, in __setattr__ "to add this attribute.") AttributeError: Attribute PartArrayStatus does not exist. This class does not allow addition of new attributes to avoid mistakes due to typos. Use add_attribute() if you really want to add this attribute.
I searched a lot but did not found any answers.
I let you my script. Note that when I # the not working lines on my scripts, it works with the Python Shell but I got a proxy error using pvpython/pybatch.
My final goal is to use only pvpython
What should I do ?
Thanks a lot
s.py (9.1 KB)