[Paraview] Comparing results computed with 2 different meshes
Cory Quammen
cory.quammen at kitware.com
Thu Jan 30 09:10:24 EST 2014
Evan,
You might want to take a look at the Resample With Dataset filter. One
of your meshes would be the Input and one would be the Source. What
this filter will do is sample the data values in the Input mesh at the
locations of points in the Source. If I understand the setup of your
meshes, this should essentially take care of the problem where your
point IDs are not the same. The result will be a single mesh with two
data arrays that you can then compare point by point.
You might run into a problem if both meshes use the same name for the
point array from which you want to get values (one will clobber the
other). You can take care of that by using the Calculator to rename
one of the mesh's arrays, then using the result of the calculator as
the Input or Source.
Hope that helps,
Cory
On Mon, Jan 27, 2014 at 4:18 PM, Evan Kao <tossin at gmail.com> wrote:
> Hello all,
>
> I'm trying to compare the results of 2 CFD simulations (which are imported
> into Paraview as Ensight data) point-by-point but I'm having trouble
> figuring out how to even combine the data into a single Pipeline object so
> that I can do some simple calculations with the Calculator Filter. I'd
> appreciate it if anyone could let me know if what I'm trying to do is
> natively possible in Paraview, and if not, provide some suggestions on how
> to approach it.
>
> What might complicate the process is that the results were obtained using
> two different meshes (in fact, it's a mesh comparison test). The points I
> want to look at are the same for both meshes, but the point IDs are
> different.
>
> So what I'd like to do in summary is:
> 1) Is there a way to extract and sort the data in a way such that the point
> IDs are the same for both meshes?
>
> 2) Is there a way to convert/manipulate the data into a single Pipeline
> object for comparison? Or to compare the results of different Pipeline
> objects? I've tried various combinations of filters like AppendDatasets,
> GroupDatasets, and MergeBlocks with little success.
>
> Thanks,
> Evan
>
> _______________________________________________
> 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