[Paraview] Python calculator
Peter Brady
petertbrady at gmail.com
Tue Dec 1 12:53:58 EST 2009
The way to specify a vector variable is not entirely intuitive:
filter.VectorVariable = ['velocity', 'velocity', '0', '1', '2']
Hope that helps,
Peter.
On Tue, Dec 1, 2009 at 9:51 AM, Fred Fred <stan1313 at hotmail.fr> wrote:
> I a trying to compute the velocity magnitude but there are some thing I
> did not well understand:
> First, what do the 3 arguments of VectorVariable mean?
>
> filter.VectorVariable = ['velocity','velocity', '3']
>
> Second, what is wrong here:
>
> filter.Function = 'mag(velocity)'
>
>
> ------------------------------
> Vous cherchez l'intégrale des clips de Michael Jackson ? Bing ! Trouvez !<http://www.bing.com/videos/search?q=Michael+Jackson&FORM=MVDE6>
>
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20091201/bc4705cc/attachment.htm>
More information about the ParaView
mailing list