I'm talking about the data array, across all block not the name of the blocks.<div>But if you are saying that depending on the block you have to convert either Phi1, Phi or Phi2 data arrays, then I start seeing why the calculator complain.</div>
<div>But for now, you can use 3 extract blocks, 3 calculator and one append dataset filter.<br></div><div><br></div><div>Seb</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 12, 2012 at 9:07 AM, Michael Jackson <span dir="ltr"><<a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The Blocks have names of "Phi1", "Phi", "Phi2". If I have to use 3 calculators that is fine by me at this point.<br>
<br>
--<br>
Mike Jackson <<a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a>><br>
<div class="HOEnZb"><div class="h5"><br>
On Dec 12, 2012, at 8:44 AM, Sebastien Jourdain wrote:<br>
<br>
> Does all your block share the same array names ?<br>
><br>
><br>
> On Tue, Dec 11, 2012 at 9:20 PM, Michael Jackson <<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>> wrote:<br>
> Nope. The next filter depends on the multiblock dataset being there.<br>
><br>
> -----<br>
> Mike Jackson <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
> Principal Software Engineer <a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a><br>
> BlueQuartz Software Dayton, Ohio<br>
> ____________________________<br>
> Sent from my mobile device. Please excuse the shortness of the reply.<br>
><br>
> On Dec 11, 2012, at 19:18, Sebastien Jourdain <<a href="mailto:sebastien.jourdain@kitware.com">sebastien.jourdain@kitware.com</a>> wrote:<br>
><br>
>> Is merging the blocks an option ?<br>
>><br>
>><br>
>> On Tue, Dec 11, 2012 at 3:33 PM, Michael Jackson <<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>> wrote:<br>
>> 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:<br>
>><br>
>> ERROR: In /Source/ParaView/release/ParaView/VTK/Common/vtkFunctionParser.cxx, line 1480<br>
>> vtkFunctionParser (0x134046780): Syntax error: expecting a variable name; see position 0<br>
>> ERROR: In /Source/ParaView/release/ParaView/VTK/Common/vtkFunctionParser.cxx, line 1480<br>
>> vtkFunctionParser (0x134046780): Syntax error: expecting a variable name; see position 0<br>
>> Warning: In /Source/ParaView/release/ParaView/VTK/Graphics/vtkArrayCalculator.cxx, line 401<br>
>> vtkPVArrayCalculator (0x133a94b30): An error occured when parsing the calculator's function. See previous errors.<br>
>> ERROR: In /Source/ParaView/release/ParaView/VTK/Common/vtkFunctionParser.cxx, line 1480<br>
>> vtkFunctionParser (0x134046780): Syntax error: expecting a variable name; see position 0<br>
>> ERROR: In /Source/ParaView/release/ParaView/VTK/Common/vtkFunctionParser.cxx, line 1480<br>
>> vtkFunctionParser (0x134046780): Syntax error: expecting a variable name; see position 0<br>
>> Warning: In /Source/ParaView/release/ParaView/VTK/Graphics/vtkArrayCalculator.cxx, line 401<br>
>> vtkPVArrayCalculator (0x133a94b30): An error occured when parsing the calculator's function. See previous errors.<br>
>> ERROR: In /Source/ParaView/release/ParaView/VTK/Common/vtkFunctionParser.cxx, line 1480<br>
>> vtkFunctionParser (0x134046780): Syntax error: expecting a variable name; see position 0<br>
>> ERROR: In /Source/ParaView/release/ParaView/VTK/Common/vtkFunctionParser.cxx, line 1480<br>
>> vtkFunctionParser (0x134046780): Syntax error: expecting a variable name; see position 0<br>
>> Warning: In /Source/ParaView/release/ParaView/VTK/Graphics/vtkArrayCalculator.cxx, line 401<br>
>> vtkPVArrayCalculator (0x133a94b30): An error occured when parsing the calculator's function. See previous errors.<br>
>><br>
>> Could someone help me out? THis is with ParaView 3.14.1.<br>
>><br>
>> Thanks.<br>
>> ___________________________________________________________<br>
>> Mike Jackson Principal Software Engineer<br>
>> BlueQuartz Software Dayton, Ohio<br>
>> <a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a> <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
>><br>
>> _______________________________________________<br>
>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>><br>
>> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>><br>
>> Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
>><br>
>> Follow this link to subscribe/unsubscribe:<br>
>> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
>><br>
><br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</div></div></blockquote></div><br></div>