<div dir="ltr">The question is how to read in a discrete data set defined in a finite difference grid in 'ffx' or forcing in the .usr file. It seems like there will be some sort of interpolation to the spectral element grid. So yes, that is my question.<div><br></div><div>Thank you,</div><div>Saikat</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><span style="background-color:rgb(255,255,255)"><font color="#444444" face="georgia, serif" size="2">Saikat Mukherjee,</font></span></div><div dir="ltr"><font color="#444444" face="georgia, serif" size="2">PhD Student,</font></div><div dir="ltr"><font color="#444444" face="georgia, serif" size="2">Paul Research Group - <a href="http://www.me.vt.edu/mpaul/" target="_blank">http://www.me.vt.edu/mpaul/</a><br></font><div><span style="background-color:rgb(255,255,255)"><font color="#444444" face="georgia, serif" size="2">Engineering Science and Mechanics,</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#444444" face="georgia, serif" size="2">Virginia Tech.</font></span></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Wed, May 30, 2018 at 2:48 PM, <span dir="ltr"><<a href="mailto:nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div></div><div>What’s your question? How to do the interpolation in your function f?</div><div><div class="h5"><div><br>On 30 May 2018, at 20:17, "<a href="mailto:nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mcs.anl.<wbr>gov</a>" <<a href="mailto:nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mcs.anl.<wbr>gov</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">Hi,<div><br></div><div>Thanks for the reply. My problem is f is given as a discrete data set described in finite difference grid. I want to interpolate this to 'ffx' like you said in my .usr file. Would like to know how to proceed.</div><div><br></div><div>Thanks,</div><div>Saikat</div></div><div class="gmail_extra"><br clear="all"><div><div class="m_-3979120350611436286gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><span style="background-color:rgb(255,255,255)"><font color="#444444" face="georgia, serif" size="2">Saikat Mukherjee,</font></span></div><div dir="ltr"><font color="#444444" face="georgia, serif" size="2">PhD Student,</font></div><div dir="ltr"><font color="#444444" face="georgia, serif" size="2">Paul Research Group - <a href="http://www.me.vt.edu/mpaul/" target="_blank">http://www.me.vt.edu/mpaul/</a><br></font><div><span style="background-color:rgb(255,255,255)"><font color="#444444" face="georgia, serif" size="2">Engineering Science and Mechanics,</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#444444" face="georgia, serif" size="2">Virginia Tech.</font></span></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Wed, May 30, 2018 at 1:36 PM, <span dir="ltr"><<a href="mailto:nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mcs.anl.<wbr>gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Let's consider <br>
<br>
ffx = f(x,y,z)<br>
<br>
here f is an user function (something you have to provide) which get evaluated at x,y,z (your grid points). Interpolation is required if f is given by a discrete data set. <br>
<br>
hth<br>
<span><br>
<br>
-----Original message-----<br>
> <a href="mailto:From%3Anek5000-users@lists.mcs.anl.gov" target="_blank">From:nek5000-users@lists.mcs.a<wbr>nl.gov</a> <<a href="mailto:nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mcs.anl.g<wbr>ov</a>><br>
> Sent: Wednesday 30th May 2018 19:19<br>
> To: nek5000-users <<a href="mailto:nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mcs.anl.g<wbr>ov</a>><br>
> Subject: Re: [Nek5000-users] Using Cartesian grid lookup table in Nekton<br>
> <br>
> Hi,<br>
> <br>
> Thanks for the reply. The look up table is in a finite difference grid. Are you saying I can still feed it to the .usr file and it should be fine?<br>
> <br>
> Thanks,<br>
> Saikat<br>
</span>> <br clear="all" />Saikat Mukherjee,<br>
> PhD Student,<br>
> Paul Research Group - <a href="http://www.me.vt.edu/mpaul/" rel="noreferrer" target="_blank">http://www.me.vt.edu/mpaul/</a> <<a href="http://www.me.vt.edu/mpaul/" rel="noreferrer" target="_blank">http://www.me.vt.edu/mpaul/</a>><br>
<span>> Engineering Science and Mechanics,<br>
> Virginia Tech.<br>
> <br>
</span><span>> On Sat, May 26, 2018 at 10:54 PM, <<a href="mailto:nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mcs.anl.g<wbr>ov</a> <mailto:<a href="mailto:nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mc<wbr>s.anl.gov</a>>> wrote:<br>
> Hi Saikat,<br>
> <br>
> You can always do the reading from the look up table from .usr file, at once then feed the data to your ffx ffy and ffz through a common block.<br>
> <br>
</span><span>> On Thu, May 24, 2018 at 10:55 PM, <<a href="mailto:nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mcs.anl.g<wbr>ov</a> <mailto:<a href="mailto:nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mc<wbr>s.anl.gov</a>>> wrote:<br>
> Hey all,<br>
> <br>
> Just following up on the query. Would appreciate any input.<br>
> <br>
> Thanks,<br>
> Saikat<br>
</span>> <br clear="all" />Saikat Mukherjee,<br>
> PhD Student,<br>
> Paul Research Group - <a href="http://www.me.vt.edu/mpaul/" rel="noreferrer" target="_blank">http://www.me.vt.edu/mpaul/</a> <<a href="http://www.me.vt.edu/mpaul/" rel="noreferrer" target="_blank">http://www.me.vt.edu/mpaul/</a>><br>
<span>> Engineering Science and Mechanics,<br>
> Virginia Tech.<br>
> <br>
</span><span>> On Tue, May 22, 2018 at 4:47 PM, Saikat Mukherjee <<a href="mailto:msaikat6@vt.edu" target="_blank">msaikat6@vt.edu</a> <mailto:<a href="mailto:msaikat6@vt.edu" target="_blank">msaikat6@vt.edu</a>>> wrote:<br>
> Hey Neks,<br>
> <br>
> I have a forcing function which is in the form of a look up table in X-Y cartesian grid. I would like to use this forcing function in the 2-D fluid momentum equation that Nekton solves. Is there a way to do this in the .usr file or elsewhere?<br>
> <br>
> Thanks,<br>
> Saikat<br>
> <br>
> <br>
</span>> <br clear="all" />Saikat Mukherjee,<br>
> PhD Student,<br>
> Paul Research Group - <a href="http://www.me.vt.edu/mpaul/" rel="noreferrer" target="_blank">http://www.me.vt.edu/mpaul/</a> <<a href="http://www.me.vt.edu/mpaul/" rel="noreferrer" target="_blank">http://www.me.vt.edu/mpaul/</a>><br>
<span>> Engineering Science and Mechanics,<br>
> Virginia Tech.<br>
> <br>
> <br>
> ______________________________<wbr>_________________<br>
> Nek5000-users mailing list<br>
</span>> <a href="mailto:Nek5000-users@lists.mcs.anl.gov" target="_blank">Nek5000-users@lists.mcs.anl.go<wbr>v</a> <mailto:<a href="mailto:Nek5000-users@lists.mcs.anl.gov" target="_blank">Nek5000-users@lists.mc<wbr>s.anl.gov</a>><br>
> <a href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users" rel="noreferrer" target="_blank">https://lists.mcs.anl.gov/mail<wbr>man/listinfo/nek5000-users</a> <<a href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users" rel="noreferrer" target="_blank">https://lists.mcs.anl.gov/mai<wbr>lman/listinfo/nek5000-users</a>><br>
> <br>
> <br>
> <br>
> ______________________________<wbr>_________________<br>
> Nek5000-users mailing list<br>
> <a href="mailto:Nek5000-users@lists.mcs.anl.gov" target="_blank">Nek5000-users@lists.mcs.anl.go<wbr>v</a> <mailto:<a href="mailto:Nek5000-users@lists.mcs.anl.gov" target="_blank">Nek5000-users@lists.mc<wbr>s.anl.gov</a>><br>
> <a href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users" rel="noreferrer" target="_blank">https://lists.mcs.anl.gov/mail<wbr>man/listinfo/nek5000-users</a> <<a href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users" rel="noreferrer" target="_blank">https://lists.mcs.anl.gov/mai<wbr>lman/listinfo/nek5000-users</a>><br>
<div class="m_-3979120350611436286HOEnZb"><div class="m_-3979120350611436286h5">> <br>
> <br>
> ______________________________<wbr>_________________<br>
> Nek5000-users mailing list<br>
> <a href="mailto:Nek5000-users@lists.mcs.anl.gov" target="_blank">Nek5000-users@lists.mcs.anl.go<wbr>v</a><br>
> <a href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users" rel="noreferrer" target="_blank">https://lists.mcs.anl.gov/mail<wbr>man/listinfo/nek5000-users</a><br>
______________________________<wbr>_________________<br>
Nek5000-users mailing list<br>
<a href="mailto:Nek5000-users@lists.mcs.anl.gov" target="_blank">Nek5000-users@lists.mcs.anl.go<wbr>v</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users" rel="noreferrer" target="_blank">https://lists.mcs.anl.gov/mail<wbr>man/listinfo/nek5000-users</a><br>
</div></div></blockquote></div><br></div>
<pre>______________________________<wbr>_________________<br>
Nek5000-users mailing list<br>
<a href="mailto:Nek5000-users@lists.mcs.anl.gov" target="_blank">Nek5000-users@lists.mcs.anl.<wbr>gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users" target="_blank">https://lists.mcs.anl.gov/<wbr>mailman/listinfo/nek5000-users</a><br>
</pre></div></blockquote></div></div></div><br>______________________________<wbr>_________________<br>
Nek5000-users mailing list<br>
<a href="mailto:Nek5000-users@lists.mcs.anl.gov">Nek5000-users@lists.mcs.anl.<wbr>gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users" rel="noreferrer" target="_blank">https://lists.mcs.anl.gov/<wbr>mailman/listinfo/nek5000-users</a><br>
<br></blockquote></div><br></div>