I think the best way to proceed would be to use the extract blocks filter to extract all of the blocks that have the desired fields for your calculator. You may want to group the unstructured grids with the same field data into a vtkMultiPieceDataSet to make it easier to extract the blocks that you want.<br>
<br>Andy<br><br><div class="gmail_quote">On Mon, Jul 25, 2011 at 2:10 PM, j s <span dir="ltr"><<a href="mailto:j.s4403@gmail.com">j.s4403@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<br>
I am currently using the multiblock dataset (vtm file) format to have<br>
multiple unstructured regions (vtu files). Not all of the fields are<br>
available in all of the regions. When I try to use a calculator to<br>
calculate a field, I am getting errors for fields which don't exist in<br>
each region.<br>
<br>
So when I try to calculate E = Electric_Field_x * iHat +<br>
Electric_Field_y *jHat, it complains about missing Acceptors.<br>
<br>
What is the best possible way to avoid these problems? Is there a<br>
preferred file format? The whole reason I selected the multiblock<br>
format, was so that I don't have to store all the fields on all<br>
regions.<br>
<br>
This is paraview 3.3. for Ubuntu Linux<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>
</blockquote></div><br>