[Paraview] Use Calculator on a MultiBlock Data set

Michael Jackson mike.jackson at bluequartz.net
Wed Dec 12 09:07:45 EST 2012


The Blocks have names of "Phi1", "Phi", "Phi2". If I have to use 3 calculators that is fine by me at this point.

--
Mike Jackson <www.bluequartz.net>

On Dec 12, 2012, at 8:44 AM, Sebastien Jourdain wrote:

> Does all your block share the same array names ?
> 
> 
> On Tue, Dec 11, 2012 at 9:20 PM, Michael Jackson <mike.jackson at bluequartz.net> wrote:
> Nope. The next filter depends on the multiblock dataset being there. 
> 
> -----
> Mike Jackson                     www.bluequartz.net
> Principal Software Engineer       mike.jackson at bluequartz.net
> BlueQuartz Software               Dayton, Ohio
> ____________________________
> Sent from my mobile device. Please excuse the shortness of the reply. 
> 
> On Dec 11, 2012, at 19:18, Sebastien Jourdain <sebastien.jourdain at kitware.com> wrote:
> 
>> 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
>> 
> 



More information about the ParaView mailing list