[Nek5000-users] Setting viscosity in usr file

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Thu Apr 24 01:37:19 CDT 2014


Hello Praveen,

 

Try to set parameter 'udiff' for field 1 ('ifield.eq.1', i.e. velocity
field) in subroutine uservp.

Param(30) in .rea file has to be equal to 1..

 

Regards,

Donato

 

From: nek5000-users-bounces at lists.mcs.anl.gov
[mailto:nek5000-users-bounces at lists.mcs.anl.gov] On Behalf Of
nek5000-users at lists.mcs.anl.gov
Sent: 24 April 2014 06:31
To: nek5000
Subject: [Nek5000-users] Setting viscosity in usr file

 

Hello neks

 

Which is the place to set viscosity (param(2)) in the usr file ?

 

In example fs_2, it is done in usrdat2, but the param seems to be read
after usrdat2 is called.

 

Thanks

praveen


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20140424/f9284486/attachment.html>


More information about the Nek5000-users mailing list