<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi,praveen:<br> Thank you for your explaination, it's really helpful. By the way, I have two more questions(sorry, I'm really newer to Nek):<br> 1/ Is there any way to map a coarse mesh solution to a finer mesh solution?<br> 2/ When the "0 RESTART OPTIONS FOLLOW" is changed to '1 RESTART OPTIONS FOLLOW' with a specified field, is the average field been loaded in the starting? Because I do have some variables in the subroutine userchk, such as 'common /plane/ uavg_pl(ly1*lely)' <br></div><br><br><br><br><div></div><div id="divNeteaseMailCard"></div><br>At 2014-05-31 10:04:11, nek5000-users@lists.mcs.anl.gov wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><div dir="ltr">vx is the solution array, see the include file trunk/nek/SOLN whereas ux is just a real number which is filled with the velocity at the current evaluation point. So you should use ux in userf.<div><br></div>
<div>Best</div><div>praveen</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, May 31, 2014 at 3:47 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 style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi,Mike:<br> Is there any difference by using ux and vx? As in the help, most frequently used is vx. However, when I use vx in the formulation, the compile turn out error.<br>
<br>Xianbei<br></div><div><div class="h5"><br><br><br><br><div></div><div></div><br>At 2014-05-29 09:09:16, <a href="mailto:nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mcs.anl.gov</a> wrote:<br> <blockquote style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid">
<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi,Mike</div><div> Thank you very much for you help. Now I have a question about the built-in variables. As the help document is not so sufficient, there are so many variables not introduced, so how can I find what's the meaning of the variables? I'm sorry to trouble you for this simple question, but it's really important to me.</div>
<div><br></div><div>Thank you</div><div>Xianbei</div><br><br><br><br><div></div><div></div><br><pre><br>在 2014-05-28 11:53:58,<a href="mailto:nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mcs.anl.gov</a> 写道:
>Xianbel,
>
>You can add the Coriolis term in the userf routine:
>
> omega = something
>
>c add coriolis forces
> ffx = + 2.0*omega*uy
> ffy = - 2.0*omega*ux
> ffz = 0.
>
>Mike
>
>
>On May 27, 2014, at 8:45 PM, <<a href="mailto:nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mcs.anl.gov</a><mailto:<a href="mailto:nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mcs.anl.gov</a>>> <<a href="mailto:nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mcs.anl.gov</a><mailto:<a href="mailto:nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mcs.anl.gov</a>>> wrote:
>
>Dear Neks;
> I want to add Coriolis force to do a rotating simulation. As known, the Coriolis term is defined as 2*omega(cross product)U, so how can I add it to the N-S equation? Is there any example of similar case?
>
>Thank you
>Xianbei
>
>
>来自网易手机号码邮箱了解更多<<a href="http://shouji.163.com/" target="_blank">http://shouji.163.com/</a>>
>_______________________________________________
>Nek5000-users mailing list
><a href="mailto:Nek5000-users@lists.mcs.anl.gov" target="_blank">Nek5000-users@lists.mcs.anl.gov</a><mailto:<a href="mailto:Nek5000-users@lists.mcs.anl.gov" target="_blank">Nek5000-users@lists.mcs.anl.gov</a>>
><a href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users</a>
>
>_______________________________________________
>Nek5000-users mailing list
><a href="mailto:Nek5000-users@lists.mcs.anl.gov" target="_blank">Nek5000-users@lists.mcs.anl.gov</a>
><a href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users</a>
</pre></div><br><br><span title="neteasefooter"><span><div><div style="border-top:#cccccc 1px solid;padding:10px 5px;font-size:12px;color:#666;line-height:22px">来自网易手机号码邮箱<a href="http://shouji.163.com" style="color:#0000ff" target="_blank">了解更多</a></div>
</div>
</span></span></blockquote></div></div></div><br><br><span title="neteasefooter"><span><div><div style="border-top:#cccccc 1px solid;padding:10px 5px;font-size:12px;color:#666;line-height:22px">来自网易手机号码邮箱<a href="http://shouji.163.com" style="color:#0000ff" target="_blank">了解更多</a></div>
</div>
</span></span><br>_______________________________________________<br>
Nek5000-users mailing list<br>
<a href="mailto:Nek5000-users@lists.mcs.anl.gov">Nek5000-users@lists.mcs.anl.gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"><div id="netease_mail_footer"><div style="border-top:#CCCCCC 1px solid;padding:10px 5px;font-size:12px;color:#666;line-height:22px">来自网易手机号码邮箱<a id="mobile_set" sys="1" log=1 logid="free_sms_20120504" href="http://shouji.163.com" target="_blank" style="color:#0000FF">了解更多</a></div></div>
</span></span>