[Paraview] Use Calculator on a MultiBlock Data set

Sebastien Jourdain sebastien.jourdain at kitware.com
Tue Dec 11 19:18:16 EST 2012


Is merging the blocks an option ?


On Tue, Dec 11, 2012 at 3:33 PM, Michael Jackson <
mike.jackson at bluequartz.net> wrote:

> I have a reader that gives me a MultiBlock Data set. I use the "Extract
> MultiBlock" to pull out 3 blocks: Phi1, Phi, Phi2. These values are in
> Degrees and I need to convert them to radians. I figured I would use the
> Calculator to simply multiply every value by .017 to get the radian values.
> Um. Not having a lot of luck getting the calculator to work. I am getting
> the following:
>
>  ERROR: In
> /Source/ParaView/release/ParaView/VTK/Common/vtkFunctionParser.cxx, line
> 1480
> vtkFunctionParser (0x134046780): Syntax error: expecting a variable name;
>  see position 0
> ERROR: In
> /Source/ParaView/release/ParaView/VTK/Common/vtkFunctionParser.cxx, line
> 1480
> vtkFunctionParser (0x134046780): Syntax error: expecting a variable name;
>  see position 0
> Warning: In
> /Source/ParaView/release/ParaView/VTK/Graphics/vtkArrayCalculator.cxx, line
> 401
> vtkPVArrayCalculator (0x133a94b30): An error occured when parsing the
> calculator's function.  See previous errors.
> ERROR: In
> /Source/ParaView/release/ParaView/VTK/Common/vtkFunctionParser.cxx, line
> 1480
> vtkFunctionParser (0x134046780): Syntax error: expecting a variable name;
>  see position 0
> ERROR: In
> /Source/ParaView/release/ParaView/VTK/Common/vtkFunctionParser.cxx, line
> 1480
> vtkFunctionParser (0x134046780): Syntax error: expecting a variable name;
>  see position 0
> Warning: In
> /Source/ParaView/release/ParaView/VTK/Graphics/vtkArrayCalculator.cxx, line
> 401
> vtkPVArrayCalculator (0x133a94b30): An error occured when parsing the
> calculator's function.  See previous errors.
> ERROR: In
> /Source/ParaView/release/ParaView/VTK/Common/vtkFunctionParser.cxx, line
> 1480
> vtkFunctionParser (0x134046780): Syntax error: expecting a variable name;
>  see position 0
> ERROR: In
> /Source/ParaView/release/ParaView/VTK/Common/vtkFunctionParser.cxx, line
> 1480
> vtkFunctionParser (0x134046780): Syntax error: expecting a variable name;
>  see position 0
> Warning: In
> /Source/ParaView/release/ParaView/VTK/Graphics/vtkArrayCalculator.cxx, line
> 401
> vtkPVArrayCalculator (0x133a94b30): An error occured when parsing the
> calculator's function.  See previous errors.
>
> Could someone help me out? THis is with ParaView 3.14.1.
>
> Thanks.
> ___________________________________________________________
> Mike Jackson                    Principal Software Engineer
> BlueQuartz Software                            Dayton, Ohio
> mike.jackson at bluequartz.net              www.bluequartz.net
>
> _______________________________________________
> 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/20121211/2067afca/attachment.htm>


More information about the ParaView mailing list