[Paraview] Use Calculator on a MultiBlock Data set

Michael Jackson mike.jackson at bluequartz.net
Tue Dec 11 15:33:28 EST 2012


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



More information about the ParaView mailing list