<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="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 1:36 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">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 class=""><br>
<br>
-----Original message-----<br>
> <a href="mailto:From%3Anek5000-users@lists.mcs.anl.gov">From:nek5000-users@lists.mcs.<wbr>anl.gov</a> <<a href="mailto:nek5000-users@lists.mcs.anl.gov">nek5000-users@lists.mcs.anl.<wbr>gov</a>><br>
> Sent: Wednesday 30th May 2018 19:19<br>
> To: nek5000-users <<a href="mailto:nek5000-users@lists.mcs.anl.gov">nek5000-users@lists.mcs.anl.<wbr>gov</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 class="">> Engineering Science and Mechanics,<br>
> Virginia Tech.<br>
> <br>
</span><span class="">> On Sat, May 26, 2018 at 10:54 PM, <<a href="mailto:nek5000-users@lists.mcs.anl.gov">nek5000-users@lists.mcs.anl.<wbr>gov</a> <mailto:<a href="mailto:nek5000-users@lists.mcs.anl.gov">nek5000-users@lists.<wbr>mcs.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 class="">> On Thu, May 24, 2018 at 10:55 PM, <<a href="mailto:nek5000-users@lists.mcs.anl.gov">nek5000-users@lists.mcs.anl.<wbr>gov</a> <mailto:<a href="mailto:nek5000-users@lists.mcs.anl.gov">nek5000-users@lists.<wbr>mcs.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 class="">> Engineering Science and Mechanics,<br>
> Virginia Tech.<br>
> <br>
</span><span class="">> On Tue, May 22, 2018 at 4:47 PM, Saikat Mukherjee <<a href="mailto:msaikat6@vt.edu">msaikat6@vt.edu</a> <mailto:<a href="mailto:msaikat6@vt.edu">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 class="">> 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">Nek5000-users@lists.mcs.anl.<wbr>gov</a> <mailto:<a href="mailto:Nek5000-users@lists.mcs.anl.gov">Nek5000-users@lists.<wbr>mcs.anl.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> <<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><wbr>><br>
> <br>
> <br>
> <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> <mailto:<a href="mailto:Nek5000-users@lists.mcs.anl.gov">Nek5000-users@lists.<wbr>mcs.anl.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> <<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><wbr>><br>
<div class="HOEnZb"><div class="h5">> <br>
> <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>
______________________________<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>
</div></div></blockquote></div><br></div>