[Paraview] Resampling to a uniform grid

Moreland, Kenneth kmorel at sandia.gov
Thu Jul 10 11:31:22 EDT 2014


Note that this will only work when running in serial. I'm sure that in parallel this will not sample correctly. That would require communication to resolve uneven distributions in the unstructured grid. I don't think anyone has written something like that yet.

-Ken

From: David E DeMarle <dave.demarle at kitware.com<mailto:dave.demarle at kitware.com>>
Date: Thursday, July 10, 2014 7:17 AM
To: "Kares, Robert J. (LANL)" <rjk at lanl.gov<mailto:rjk at lanl.gov>>
Cc: "paraview at paraview.org<mailto:paraview at paraview.org>" <paraview at paraview.org<mailto:paraview at paraview.org>>
Subject: [EXTERNAL] Re: [Paraview] Resampling to a uniform grid

You could start with Sources->Wavelet and reposition it as needed, but I'ld use a python programmable source. Attached is a state file to demonstrate.


David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Wed, Jul 9, 2014 at 6:06 PM, Kares, Robert J <rjk at lanl.gov<mailto:rjk at lanl.gov>> wrote:
Folks,

I would like to resample a scalar field defined on an unstructured
grid in 3D onto a uniform rectangular 3D grid with specified logical and
physical dimensions.

It seems from the ParaView filters documentation that this can
somehow be done using the Resample With Dataset filter. It appears
to me that the procedure involves generating a uniform rectangular
grid in some fashion and then feeding it to the Resample With Dataset
filter along with the unstructured grid containing the scalar to be
resampled.

However, I am confused about just how to make the rectangular grid of
specified size in the first place and about how to use it with the Resample With Dataset
filter.

Could someone explain to me how to do this ?

Thanks,

                                       --Bob



_______________________________________________
Powered by www.kitware.com<http://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://public.kitware.com/mailman/listinfo/paraview


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20140710/21a19238/attachment.html>


More information about the ParaView mailing list