[vtkusers] Mesh Interpolation

Andrew E. Slaughter andrew.slaughter at inl.gov
Mon Nov 26 19:16:21 EST 2018


If possible I need to maintain the UnstructuredGrid, I started an attempt to get this working. If anyone is willing I would appreciate the help. I will keep working on it as well.


From: Jonathan Borduas <jonathan.borduas at caboma.com>
Date: Monday, November 26, 2018 at 11:17 AM
To: "Andrew E. Slaughter" <andrew.slaughter at inl.gov>, vtkusers <vtkusers at vtk.org>
Subject: Re: [vtkusers] Mesh Interpolation

Hi Andrew,

One way to interpolate point and cell data between two mesh: you can use the vtkPointInterpolator with a Voronoi Kernel (or other kernel), do a itk::DiscreteGaussianImageFilter over the 3D image to smooth the interpolation and then do a vtkProbeFilter.


Best,

Jonathan

Get Outlook for iOS<https://urldefense.proofpoint.com/v2/url?u=https-3A__aka.ms_o0ukef&d=DwMF-g&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=h7heP8xwI1i_HikChvhFbEBurKirgfOCdwgBxB9lM8c&m=aAOXM3i-LCmwbKnx-O9gSjuXokpbn-5eRK65fXdzvCg&s=fr7AzqyWyyeMEM2RozZhbe697LCCwggGrGZtJhKSQAY&e=>
________________________________
From: vtkusers <vtkusers-bounces at public.kitware.com> on behalf of Andrew E. Slaughter via vtkusers <vtkusers at public.kitware.com>
Sent: Monday, November 26, 2018 1:09:55 PM
To: vtkusers
Subject: [vtkusers] Mesh Interpolation

I need to perform interpolation of data between two ExodusII files that differ because of refinement. I was hoping someone could point me in the
correct direction for performing this action. I have attached the Exodus files that I am working with as well as a  script that reads and displays the two files.
I am using VTK7.1 (I can use 8 if needed) on MacOS.

Here is the steps that I envision, but I am open to all options:

1.      Interpolate the result from the coarse mesh to the fine mesh (I don’t know how to do this step).

2.      Use vtkInterpolateDataSetAttributes to interpolate between the result from (1) and the fine mesh.

Thanks for the help,

Andrew



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20181127/5ae2129d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: interpolate.py
Type: text/x-python-script
Size: 3844 bytes
Desc: interpolate.py
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20181127/5ae2129d/attachment.bin>


More information about the vtkusers mailing list