<div dir="ltr"><div><div><div><div><div>Hi all,<br><br></div>I'm trying to simulate a shear-layer which involves two different jets emerging at different velocities. The simulation is 2D for now. The width of the first jet extends from y=0.0 to y=1.0 and the second extends from y=1.0 to y=3.0<br><br></div>I generated a mesh using genbox with 'v' BCs for both inlets.<br><br></div>In the .usr file I have the following form for usrbc<br><br> subroutine userbc (ix,iy,iz,iside,ieg)<br>c NOTE ::: This subroutine MAY NOT be called by every process<br> include 'SIZE'<br> include 'TOTAL'<br> include 'NEKUSE'<br> if (ym1(i,j,k,e).lt.1) then<br> ux=10.0<br> elseif (ym1(i,j,k,e).gt.1) then <br> ux=1.0<br> endif<br> ux=1.0<br> uy=0.0<br> uz=0.0<br> temp=0.0<br> return<br> end<br><br></div>As you can see I try assigning ux = 10.0 and 1.0 to the different zones. However the results show a uniform value of 1.0 across both the inlets.<br></div><div>What am I missing here?</div><div><br></div><div>Sincerely,<br></div></div><div dir="ltr">-- <br></div><div 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>