<div dir="ltr"><div><div>Hi Emily,<br><br></div>Could you send me your case off-list so that I could have a look?<br><br></div>Sincerely,<br></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Feb 20, 2018 at 10:55 AM <<a href="mailto:nek5000-users@lists.mcs.anl.gov">nek5000-users@lists.mcs.anl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="m_-5356512015743857184WordSection1">
<pre><span style="color:black">Hello,<u></u><u></u></span></pre>
<pre><span style="color:black"><u></u> <u></u></span></pre>
<pre><span style="color:black">Thank you for the reply. The istep loop shall be fine. I tried some other lines in the “if..endif” loop here and they all worked. <u></u><u></u></span></pre>
<pre><span style="color:black">I also commented the if loop and I had the same error information. I really do not know why.<u></u><u></u></span></pre>
<pre><span style="color:black"><u></u> <u></u></span></pre>
<pre><span style="color:black">Regards,<u></u><u></u></span></pre>
<pre><span style="color:black"><u></u> <u></u></span></pre>
<pre><span style="color:black">Emily<u></u><u></u></span></pre>
<pre><span style="color:black"><u></u> <u></u></span></pre>
<pre><span style="color:black">_______________________________________________________________________<u></u><u></u></span></pre></div></div><div lang="EN-US" link="#0563C1" vlink="#954F72"><div class="m_-5356512015743857184WordSection1">
<pre><span style="color:black"><u></u> <u></u></span></pre>
<pre><span style="color:black">Hi Emily,<u></u><u></u></span></pre>
<pre><span style="color:black"><u></u> <u></u></span></pre>
<pre><span style="color:black">Did you call the hpts() subroutine without calling the istep loop?<u></u><u></u></span></pre>
<pre><span style="color:black"><u></u> <u></u></span></pre>
<pre><span style="color:black">Sincerely,<u></u><u></u></span></pre>
<pre><span style="color:black"><u></u> <u></u></span></pre>
<pre><span style="color:black">On Mon, Feb 19, 2018 at 3:41 PM <<a href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users" target="_blank">nek5000-users at lists.mcs.anl.gov</a>> wrote:<u></u><u></u></span></pre>
<pre><span style="color:black"><u></u> <u></u></span></pre>
<pre><span style="color:black">><i> Dear Nek users,<u></u><u></u></i></span></pre>
<pre><span style="color:black">><i><u></u> <u></u></i></span></pre>
<pre><span style="color:black">><i><u></u> <u></u></i></span></pre>
<pre><span style="color:black">><i><u></u> <u></u></i></span></pre>
<pre><span style="color:black">><i> I am attempting to use History Points features in turbChannel example and<u></u><u></u></i></span></pre>
<pre><span style="color:black">><i> unfortunately I run into an issue. In the subroutine userchck, I added:<u></u><u></u></i></span></pre>
<pre><span style="color:black">><i><u></u> <u></u></i></span></pre>
<pre><span style="color:black">><i><u></u> <u></u></i></span></pre>
<pre><span style="color:black">><i><u></u> <u></u></i></span></pre>
<pre><span style="color:black">><i> if(istep. eq. 1) then<u></u><u></u></i></span></pre>
<pre><span style="color:black">><i><u></u> <u></u></i></span></pre>
<pre><span style="color:black">><i> call hpts() !checkpoints<u></u><u></u></i></span></pre>
<pre><span style="color:black">><i><u></u> <u></u></i></span></pre>
<pre><span style="color:black">><i> endif<u></u><u></u></i></span></pre>
<pre><span style="color:black">><i><u></u> <u></u></i></span></pre>
<pre><span style="color:black">><i><u></u> <u></u></i></span></pre>
<pre><span style="color:black">><i><u></u> <u></u></i></span></pre>
<pre><span style="color:black">><i> where the file is name “check.his” , the format of which follows the user<u></u><u></u></i></span></pre>
<pre><span style="color:black">><i> guide:<u></u><u></u></i></span></pre>
<pre><span style="color:black">><i><u></u> <u></u></i></span></pre>
<pre><span style="color:black">><i> 2 !number of checkpoints<u></u><u></u></i></span></pre>
<pre><span style="color:black">><i><u></u> <u></u></i></span></pre>
<pre><span style="color:black">><i> 1. -0.98 1. !x,y,z locations<u></u><u></u></i></span></pre>
<pre><span style="color:black">><i><u></u> <u></u></i></span></pre>
<pre><span style="color:black">><i> 2. -0.67 4.<u></u><u></u></i></span></pre>
<pre><span style="color:black">><i><u></u> <u></u></i></span></pre>
<pre><span style="color:black">><i><u></u> <u></u></i></span></pre>
<pre><span style="color:black">><i><u></u> <u></u></i></span></pre>
<pre><span style="color:black">><i> However, I received an error saying: Cannot open history file in<u></u><u></u></i></span></pre>
<pre><span style="color:black">><i> subroutine hpts(). Has anyone run into this error before?<u></u><u></u></i></span></pre>
<pre><span style="color:black">><i><u></u> <u></u></i></span></pre>
<pre><span style="color:black">><i><u></u> <u></u></i></span></pre>
<pre><span style="color:black">><i><u></u> <u></u></i></span></pre>
<pre><span style="color:black">><i> Another question really bothering me is that I could not figure out how to<u></u><u></u></i></span></pre>
<pre><span style="color:black">><i> write out the instantaneous velocity field (u(x,y,z),v(x,y,z),w(x,y,z)) at<u></u><u></u></i></span></pre>
<pre><span style="color:black">><i> a specific time step (istep). Could anyone please help me on this as well?<u></u><u></u></i></span></pre>
<pre><span style="color:black">><i><u></u> <u></u></i></span></pre>
<pre><span style="color:black">><i><u></u> <u></u></i></span></pre>
<pre><span style="color:black">><i><u></u> <u></u></i></span></pre>
<pre><span style="color:black">><i> Regards,<u></u><u></u></i></span></pre>
<pre><span style="color:black">><i><u></u> <u></u></i></span></pre>
<pre><span style="color:black">><i><u></u> <u></u></i></span></pre>
<pre><span style="color:black">><i><u></u> <u></u></i></span></pre>
<pre><span style="color:black">><i> Emily</i><u></u><u></u></span></pre>
<p class="MsoNormal"><u></u> <u></u></p>
</div></div>
_______________________________________________<br>
Nek5000-users mailing list<br>
<a href="mailto:Nek5000-users@lists.mcs.anl.gov" target="_blank">Nek5000-users@lists.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/mailman/listinfo/nek5000-users</a><br>
</blockquote></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><p dir="ltr"><b><font color="#000033">Amitvikram Dutta</font></b></p>
<p dir="ltr">Graduate Research Assistant</p>
<p dir="ltr">Fluid Mechanics Research Lab</p><p>Multi-Physics Interaction Lab</p>
<p dir="ltr">University of Waterloo</p>
</div></div>