[Nek5000-users] PRENEK, how to set o change parameters ("input vales" like thermal conductivity)? Is there a manual with pictures?

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Wed Jun 11 06:40:11 CDT 2014


The best way to change these parameters is to edit the .rea file and change them;
or to reset them in the .usr file in subroutine usrdat, e.g.

      subroutine usrdat
      include 'SIZE'
      include 'TOTAL'

      param(1) = 1.0       ! density
      param(2) = .0001   ! viscosity
      

      return
      end

Paul

________________________________________
From: nek5000-users-bounces at lists.mcs.anl.gov [nek5000-users-bounces at lists.mcs.anl.gov] on behalf of nek5000-users at lists.mcs.anl.gov [nek5000-users at lists.mcs.anl.gov]
Sent: Wednesday, June 11, 2014 2:52 AM
To: nek5000-users at lists.mcs.anl.gov
Subject: [Nek5000-users] PRENEK,        how to set o change parameters ("input vales" like thermal      conductivity)? Is there a manual with pictures?

According to manual
http://www.mcs.anl.gov/~fischer/nek_manual_v0.pdf
(which lacks for pictures)
after you have set the
[EQUATION TYPE] and switch [CONVECTION]
you are prompted to enter
[INPUT VALUES] where you can set parameter CONDUCT (the thermal conductivity), NORDER and so on

but really in prex after you
"Assemble form of equation to be solved"
and
"ACCEPT CURRENT SWITCHES",
choose the switches "WITH CONVECTION" and "CHARACTERISTICS"
you are to "BUILD FROM FILE" or "BUILD INTERACTIVELY"
so there is no option to set material properties
Then, after you have created the geometry you can set
[SET  MATL PROPS,Q]
But when you try to assign a constant value you got a message
"If properties in group zero are constants,
 they can be set in the SET PARAMETER menu.
 You cannot override those values here except with a FORTRAN FUNCTION.
 Please change them in the SET PARAMETER menu in a new session."
I have looked for "SET PARAMETER" everywhere in the menu, but have not found.

So how do I set and change thermal expansion, thermal conductivity, rho, cp, viscosity and so on?

Thanks in advance

Van
_______________________________________________
Nek5000-users mailing list
Nek5000-users at lists.mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users


More information about the Nek5000-users mailing list