<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi,<br>
<br>
if I am not mistaken, 'W' will always impose zero velocity. You
may want to use 'v' instead. If you set zero velocity, it will
behave like a wall.<br>
<br>
In addition, there are several things you should change:<br>
1) you should do this in the userbc subroutine that is called once
for each point on the boundary where it needs a value (so you
don't have to write the loop yourself).<br>
2) there you need to set the variables ux, uy, uz instead of vx,
vy, vz. Probably similar to what you do for inflow.<br>
3) be careful checking equalities with floating point numbers, in
some cases you could have y very small but non zero.<br>
<br>
Guillaume<br>
<br>
Le 01/08/2018 à 07:01, <a class="moz-txt-link-abbreviated" href="mailto:nek5000-users@lists.mcs.anl.gov">nek5000-users@lists.mcs.anl.gov</a> a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:mailman.7768.1533099679.86639.nek5000-users@lists.mcs.anl.gov">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;"
dir="ltr">
<p style="margin-top:0;margin-bottom:0">Dear Nek users,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">I am trying to impose a
periodic velocity to simulation blowing and suction on a flat
plate. The current inlet has a specified velocity whereas the
top and outlet are specified as 'O'. The bottom is wall,
'W'. Does anyone has any experience of specifing a temporally
periodic velocity on a narrow strip of the wall? I tried to
define this velocity in the usrchk like,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">do i = 1, n </p>
<p style="margin-top:0;margin-bottom:0"> x = xm1(...)</p>
<p style="margin-top:0;margin-bottom:0"> y = ym1(...)</p>
<p style="margin-top:0;margin-bottom:0"> IF (y .eq. 0) then</p>
<p style="margin-top:0;margin-bottom:0"> if(x.LT... .and.
x.GT...) then</p>
<p style="margin-top:0;margin-bottom:0"> vy (...)= ...</p>
<p style="margin-top:0;margin-bottom:0"> endif</p>
<p style="margin-top:0;margin-bottom:0"> ENDIF</p>
<p style="margin-top:0;margin-bottom:0">enddo</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">But this does not work.
Could anyone give me some suggestions please?</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Thanks in advance</p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Nek5000-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nek5000-users@lists.mcs.anl.gov">Nek5000-users@lists.mcs.anl.gov</a>
<a class="moz-txt-link-freetext" href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users">https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users</a>
</pre>
</blockquote>
<p><br>
</p>
</body>
</html>