<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<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"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Hi Alok,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Assuming your inlet ranges from y = y0 to y1 and your flow is in the</p>
<p style="margin-top:0;margin-bottom:0">x direction, the following should work in userbc:</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"> y0 =</p>
<p style="margin-top:0;margin-bottom:0"> y1 =</p>
<p style="margin-top:0;margin-bottom:0"> const =</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"> ux = const*(y-y0)*(y1-y)</p>
<p style="margin-top:0;margin-bottom:0"> uy=0</p>
<p style="margin-top:0;margin-bottom:0"> uz=0</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">where const is some number you choose. You have to supply</p>
<p style="margin-top:0;margin-bottom:0">const, y0, and y1.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Also, you must have 'v ' boundary conditions on the inlet faces of the</p>
<p style="margin-top:0;margin-bottom:0">elements that are at the inlet.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">hth</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Paul</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Nek5000-users <nek5000-users-bounces@lists.mcs.anl.gov> on behalf of nek5000-users@lists.mcs.anl.gov <nek5000-users@lists.mcs.anl.gov><br>
<b>Sent:</b> Thursday, August 2, 2018 5:58:57 AM<br>
<b>To:</b> nek5000-users@lists.mcs.anl.gov<br>
<b>Subject:</b> [Nek5000-users] Parabolic velocity profile at channel inlet boundary</font>
<div> </div>
</div>
<meta content="text/html; charset=utf-8">
<div>
<div dir="ltr">Hi <span style="color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif; font-size:16px; float:none; display:inline">
Nek users,</span>
<div><br>
</div>
<div>I am trying to simulate expansion channel case in the laminar region. For the fully developed flow, the velocity profile should be parabolic at the inlet boundary. I am not able to provide Parabolic inlet profile at the inlet.
<span style="font-size:12.8px; background-color:rgb(255,255,255); float:none; display:inline">
Could anyone help me with this please?</span> <br clear="all">
<div><br>
</div>
<span style="color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif; font-size:16px; background-color:rgb(255,255,255); float:none; display:inline">Thanks in advance</span> </div>
<div> <br>
<div class="x_gmail_signature">
<div dir="ltr">
<div dir="ltr">Alok Mishra
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>