Dear all,
I am working with imported temporal velocity fields (from pvd/vtu) files.
Does anyone know how I in pvpython can access point or cell data as a specified
variable (array)?
I easily find out how to load data into paraview using the Python tracer
('solutoinpvd = PVDReader(FielName='myfile.pvd')) but can't seem to know how to
access the velocity field in pvpython after that.
I want the point or cell data loaded in specified variables in order to modify
e.g. the velocity or calculated vorticity field through scripting (as an
example, set all values >0 to a given value), but I can't seem to find these
variables (or set variables to them).
Thanks for the help.
/David
<https://webmail.kth.se/owa/redir.aspx?C=IxWYxXymHES_fQvc4qU3B9BOtBARstEIlfcjHJ6nx0MeBY57EwkoSX2SdYQPib-GqeXHouLYnDA.&URL=mailto%3adavid.larsson%40sth.kth.se>
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Search the list archives at: http://markmail.org/search/?q=ParaView
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview