<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>If I understand you correctly, you were able to take each experimental plane and sample it in a the CFD data on the same plane? Now you would like to stack your experimental planes together and interpolate it onto the CFD grid?
<br>
</p>
<p><br>
</p>
<p>I haven't done this, so I'm not sure if it's going to work, but can't you do a little preprocessing and then do the steps in reverse from before? What I mean is:</p>
<p><br>
</p>
<p>1. Take all your experimental planes (u, v, w, x, y) at a given z and concatenate the files together, adding the z coordinate at the end, to get (u, v, w, x, y, z)
<br>
</p>
<p>2. Load this into Paraview and use the TableToPoints filter</p>
<p>3. Load your CFD grid <br>
</p>
<p>4. Select your TableToPoints filter and do:</p>
<p> a. ResampleWithDataset -- select the TableToPoints as the input and the CFD grid as the Source</p>
<p><br>
</p>
<p>This should then give you the data points from the experimental data interpolated onto the CFD grid.
<br>
</p>
<p><br>
</p>
<p>Does that seem like what you are trying to do?</p>
<p><br>
</p>
<p>Tim<br>
</p>
<br>
<br>
<div style="color: rgb(49, 55, 57);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> treem22@gmail.com <treem22@gmail.com> on behalf of Mike Tree <treem22@gatech.edu><br>
<b>Sent:</b> Thursday, December 1, 2016 2:30 PM<br>
<b>To:</b> Gallagher, Timothy P<br>
<b>Cc:</b> paraview@paraview.org<br>
<b>Subject:</b> Re: [Paraview] Experimental Data Interpolate/Extrapolate to Custom Volume Mesh</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif; font-size:small">
Tim,</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif; font-size:small">
<br>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif; font-size:small">
I successfully used my experimental data planes to sample my CFD data for comparison, but now I've got another procedure to tackle. </div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif; font-size:small">
<br>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif; font-size:small">
I am looking to interpolate between my experimental planes and fill in the volumetric velocity data. I've spent significant time working with the GaussianResample filter, but it seems to eliminate some of my data. Specifically, GaussianResample can only interpolate
scalars, so I have to decompose my velocity vector into its components. This seems to work fine, except that when the GaussianResample filter is applied the negative values of these components are eliminated. Then, when I re-calculate my velocity vector as
a sum of the component it is obviously wrong because none of the components are permitted to be negative. </div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif; font-size:small">
<br>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif; font-size:small">
Are there any other filters in existence that I can use for interpolation?</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif; font-size:small">
<br>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif; font-size:small">
Any help will be most appreciated.</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif; font-size:small">
<br>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif; font-size:small">
-Mike Tree</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Nov 8, 2016 at 9:42 AM, Mike Tree <span dir="ltr">
<<a href="mailto:treem22@gatech.edu" target="_blank">treem22@gatech.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif; font-size:small">
Tim,</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif; font-size:small">
<br>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif; font-size:small">
Seems pretty straight forward. Thanks! I'll let you know if I have any issues.</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif; font-size:small">
<br>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif; font-size:small">
-MT</div>
</div>
<div class="gmail_extra">
<div>
<div class="h5"><br>
<div class="gmail_quote">On Mon, Nov 7, 2016 at 12:00 PM, Gallagher, Timothy P <span dir="ltr">
<<a href="mailto:tim.gallagher@gatech.edu" target="_blank">tim.gallagher@gatech.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">
<div id="m_-502513752009559392m_-7517785931687770743divtagdefaultwrapper" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Mike,</p>
<p><br>
</p>
<p>Your state file doesn't work without the data files that go along with it. <br>
</p>
<p><br>
</p>
<p>That said, here is how you can do it:</p>
<p><br>
</p>
<p>1. Load your .dat file and use the TableToPoints filter to create points from the data table -- select your x, y, z appropriately</p>
<p>2. Load your CFD data file</p>
<p>3. Select your CFD data file and then do:</p>
<p> a. ResampleWithDataset -- select the CFD data as the Input and the TableToPoints as the Source<br>
</p>
<p>4. This will give you the data interpolated to the points in the table, if you want a plane from this data, apply the Delaunay2D filter and select Best-Fitting Plane (if the points are not X-Y points only).
<br>
</p>
<p><br>
</p>
<p>That should give you the data from your CFD simulation on the same plane as your PIV data.
<br>
</p>
<p><br>
</p>
<p>I see you are at GT -- let me know if you are still unclear on these steps and would like to talk in person.</p>
<p><br>
</p>
<p>Tim<br>
</p>
<br>
<br>
<div style="color:rgb(49,55,57)">
<hr style="display:inline-block; width:98%">
<div id="m_-502513752009559392m_-7517785931687770743divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> ParaView <<a href="mailto:paraview-bounces@paraview.org" target="_blank">paraview-bounces@paraview.org</a><wbr>>
on behalf of Mike Tree <<a href="mailto:treem22@gatech.edu" target="_blank">treem22@gatech.edu</a>><br>
<b>Sent:</b> Tuesday, November 17, 2015 5:32 PM<br>
<b>To:</b> <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
<b>Subject:</b> [Paraview] Experimental Data Interpolate/Extrapolate to Custom Volume Mesh</font>
<div> </div>
</div>
<div>
<div class="m_-502513752009559392h5">
<div>
<div dir="ltr">
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif; font-size:small">
<div class="gmail_default">I have three planes of experimental PIV data with velocity point data in .dat format loaded in Paraview. I am hoping to use these planes to interpolate/extrapolate velocity values onto a custom volumetric mesh (i.e. from a CFD simulation)
to compare experimental results with simulation results in hopes of validating the simulation. I have attached my Paraview state file. Any help will be much appreciated.</div>
<div class="gmail_default"><br>
</div>
<div class="gmail_default">Thanks,</div>
<div class="gmail_default">-MT</div>
</div>
<div><br>
</div>
-- <br>
<div class="m_-502513752009559392m_-7517785931687770743gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr"><font face="garamond, serif" size="2">Mike Tree, PhD Student</font>
<div><font face="garamond, serif" size="2">Cardiovascular Fluid Mechanics Laboratory<br>
</font></div>
<div><font face="garamond, serif" size="2">Georgia Institute of Technology</font></div>
<div><font face="garamond, serif" size="2">Atlanta, GA</font></div>
<div><a href="mailto:treem22@gatech.edu" target="_blank"><font color="#000000" face="garamond, serif" size="2">treem22@gatech.edu</font></a></div>
<div><font face="garamond, serif" size="2"><a href="tel:678-249-0922" value="+16782490922" target="_blank">678-249-0922</a></font></div>
</div>
</div>
</div>
</div>
</div>
<div hspace="streak-pt-mark" style="max-height:1px"><img style="width:0px; max-height:0px; overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=adHJlZW0yMkBnbWFpbC5jb20%3D&type=zerocontent&guid=82092feb-f151-4b75-8a88-41da2f2b684b"><font color="#ffffff" size="1">ᐧ</font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
</div>
</div>
<span class="HOEnZb"><font color="#888888">-- <br>
</font></span>
<div class="m_-502513752009559392gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr"><span class="HOEnZb"><font color="#888888"><font face="garamond, serif" size="2">Mike Tree, PhD Candidate</font></font></span><span class="">
<div><font face="garamond, serif" size="2">Cardiovascular Fluid Mechanics Laboratory<br>
</font></div>
<div><font face="garamond, serif" size="2">Georgia Institute of Technology</font></div>
<div><font face="garamond, serif" size="2">Atlanta, GA</font></div>
<div><a href="mailto:treem22@gatech.edu" target="_blank"><font color="#000000" face="garamond, serif" size="2">treem22@gatech.edu</font></a></div>
<div><font face="garamond, serif" size="2"><a href="tel:(678)%20249-0922" value="+16782490922" target="_blank">678-249-0922</a></font></div>
</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr"><font face="garamond, serif" size="2">Mike Tree, PhD Candidate</font>
<div><font face="garamond, serif" size="2">Cardiovascular Fluid Mechanics Laboratory<br>
</font></div>
<div><font face="garamond, serif" size="2">Georgia Institute of Technology</font></div>
<div><font face="garamond, serif" size="2">Atlanta, GA</font></div>
<div><a href="mailto:treem22@gatech.edu" target="_blank"><font color="#000000" face="garamond, serif" size="2">treem22@gatech.edu</font></a></div>
<div><font face="garamond, serif" size="2">678-249-0922</font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>