<div dir="ltr"><div>Thanks a lot for the help.  I think Merge Blocks > Resample With Dataset > Python Calculator (or Append Attributes > Calculator) allows me to do what I originally asked for, although now I'm realizing the Python Calculator may not be enough to do the calculations I want.  I had some questions regarding the Python Calculator and the Programmable Filter:<br>


<br></div><div>1.  The data I'm looking at is from a transient simulation.  If I wanted to standardize a parameter for each time step by dividing it by the standard deviation of the population for that time point, am I understanding correctly that I would either have to calculate the standard deviation first and then manually type in the number into the Python Calculator or use the Python Programmable Filter?  <br>

<br>2.  Additionally, I've been looking around and it seems the only way to perform a summing operation is to use the Programmable Filter.  Is that correct?<br><br>3.  Regarding both the Python Calculator or Programmable Filter, is there an easy way to tell which index corresponds to which input?  I thought perhaps it had to do with just order you click the inputs in, but I'm not so sure about that. <br>

<br></div><div>Thanks for your time,<br>Evan<br></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 30, 2014 at 12:25 PM, Cory Quammen <span dir="ltr"><<a href="mailto:cory.quammen@kitware.com" target="_blank">cory.quammen@kitware.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Thu, Jan 30, 2014 at 2:31 PM, Evan Kao <<a href="mailto:tossin@gmail.com">tossin@gmail.com</a>> wrote:<br>


> Hi Cory,<br>
><br>
> Thanks for the suggestion.  Resample With Dataset solves the problem of<br>
> matching up the Point IDs, but only passes data from the Input (which I<br>
> guess makes sense given its purpose), so I think regardless of what I rename<br>
> the arrays, the data will always be from only one of the meshes meaning I<br>
> can't use Calculator to compare the data.<br>
<br>
</div>How about using Append Attributes to combine the arrays of Resample<br>
With Dataset and the Source?<br>
<div class="im"><br>
> I think my main obstacle is the data type.  Paraview reads in Ensight data<br>
> as a Multi-Block data set, but neither Append Datasets nor the Python<br>
> Calculator seem to work on that data type.  Is there a simple way to convert<br>
> them into a format that can be read by those filters?<br>
<br>
</div>You can use Merge Blocks to combine all the blocks in a Multi-Block<br>
data set to an unstructured grid.<br>
<br>
Best,<br>
Cory<br>
<div class="HOEnZb"><div class="h5"><br>
> Thanks,<br>
> Evan<br>
><br>
><br>
> On Thu, Jan 30, 2014 at 6:10 AM, Cory Quammen <<a href="mailto:cory.quammen@kitware.com">cory.quammen@kitware.com</a>><br>
> wrote:<br>
>><br>
>> Evan,<br>
>><br>
>> You might want to take a look at the Resample With Dataset filter. One<br>
>> of your meshes would be the Input and one would be the Source. What<br>
>> this filter will do is sample the data values in the Input mesh at the<br>
>> locations of points in the Source. If I understand the setup of your<br>
>> meshes, this should essentially take care of the problem where your<br>
>> point IDs are not the same. The result will be a single mesh with two<br>
>> data arrays that you can then compare point by point.<br>
>><br>
>> You might run into a problem if both meshes use the same name for the<br>
>> point array from which you want to get values (one will clobber the<br>
>> other). You can take care of that by using the Calculator to rename<br>
>> one of the mesh's arrays, then using the result of the calculator as<br>
>> the Input or Source.<br>
>><br>
>> Hope that helps,<br>
>> Cory<br>
>><br>
>> On Mon, Jan 27, 2014 at 4:18 PM, Evan Kao <<a href="mailto:tossin@gmail.com">tossin@gmail.com</a>> wrote:<br>
>> > Hello all,<br>
>> ><br>
>> > I'm trying to compare the results of 2 CFD simulations (which are<br>
>> > imported<br>
>> > into Paraview as Ensight data) point-by-point but I'm having trouble<br>
>> > figuring out how to even combine the data into a single Pipeline object<br>
>> > so<br>
>> > that I can do some simple calculations with the Calculator Filter.  I'd<br>
>> > appreciate it if anyone could let me know if what I'm trying to do is<br>
>> > natively possible in Paraview, and if not, provide some suggestions on<br>
>> > how<br>
>> > to approach it.<br>
>> ><br>
>> > What might complicate the process is that the results were obtained<br>
>> > using<br>
>> > two different meshes (in fact, it's a mesh comparison test).  The points<br>
>> > I<br>
>> > want to look at are the same for both meshes, but the point IDs are<br>
>> > different.<br>
>> ><br>
>> > So what I'd like to do in summary is:<br>
>> > 1) Is there a way to extract and sort the data in a way such that the<br>
>> > point<br>
>> > IDs are the same for both meshes?<br>
>> ><br>
>> > 2) Is there a way to convert/manipulate the data into a single Pipeline<br>
>> > object for comparison?  Or to compare the results of different Pipeline<br>
>> > objects?  I've tried various combinations of filters like<br>
>> > AppendDatasets,<br>
>> > GroupDatasets, and MergeBlocks with little success.<br>
>> ><br>
>> > Thanks,<br>
>> > Evan<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<br>
>> > <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:<br>
>> > <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>
</div></div></blockquote></div><br></div>