<div dir="ltr"><div><div>Hi Cory,<br><br></div>Thanks for the suggestion.  Resample With Dataset solves the problem of matching up the Point IDs, but only passes data from the Input (which I guess makes sense given its purpose), so I think regardless of what I rename the arrays, the data will always be from only one of the meshes meaning I can't use Calculator to compare the data.<br>

<br>I think my main obstacle is the data type.  Paraview reads in Ensight data as a Multi-Block data set, but neither Append Datasets nor the Python Calculator seem to work on that data type.  Is there a simple way to convert them into a format that can be read by those filters?<br>

<br></div>Thanks,<br>Evan<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 30, 2014 at 6:10 AM, 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">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>
<div><div class="h5"><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 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 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 how<br>
> to approach it.<br>
><br>
> What might complicate the process is that the results were obtained using<br>
> two different meshes (in fact, it's a mesh comparison test).  The points 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 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 AppendDatasets,<br>
> GroupDatasets, and MergeBlocks with little success.<br>
><br>
> Thanks,<br>
> Evan<br>
><br>
</div></div>> _______________________________________________<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>
</blockquote></div><br></div>