<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 24, 2014 at 12:07 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"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hello Praveen,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Try to set parameter ‘udiff’ for field 1 (‘ifield.eq.1’, i.e. velocity field) in subroutine uservp.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Param(30) in .rea file has to be equal to 1..<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Regards,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Donato</span></p>
</blockquote></div><br>Thanks Donato. I know this method. My viscosity is a constant, so I want to set it just once. I have done it in usrdat2 and it seems to work, but wanted to confirm that it is the right place to set a constant viscosity. I do the following in usrdat2</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">param(2) = 1.0/1000.0</div><div class="gmail_extra">cpfld(1,1) = param(2)</div><div class="gmail_extra"><br></div><div class="gmail_extra">Best</div><div class="gmail_extra">
praveen</div></div>