<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Set ifflow to false and ifheat to T and ifadvc = F T F F F F...</div>
<div><br>
</div>
<div>in the .rea file.</div>
<div><br>
</div>
<div>Then, supply your velocity field in useric (ux, uy, uz), or, if you want time-varying velocity,</div>
<div>do so in usrchk by over-writing the velocity field arrays, vx(), vy(), and vz() at each step.</div>
<div><br>
</div>
<div><br>
</div>
<div>Paul<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF851959" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> nek5000-users-bounces@lists.mcs.anl.gov [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> Saturday, February 28, 2015 9:24 AM<br>
<b>To:</b> nek5000-users@lists.mcs.anl.gov<br>
<b>Subject:</b> [Nek5000-users] Linear Advection Equation<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">
<div>
<div>Dear Users,<br>
<br>
</div>
Is there a way to solve a linear advection equation in nek5k without computing the Navier-Stokes equations? I am simply interested in advecting a profile according to the following:<br>
<br>
</div>
D(phi)/Dt = d (phi) /dt + v<b>.</b>grad(phi)= 0<br>
<div><br>
where v<b>.</b>grad(phi) = u.d(phi)/dx + v.d(phi)/dy + w.d(phi)/dz<br>
<br>
</div>
<div>and v is a prescribed velocity (for example v = (1,1) in 2D) <br>
</div>
<div><br>
</div>
<div>Best,<br>
<br>
</div>
<div>Saumil <br clear="all">
</div>
<div>
<div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>