[Nek5000-users] ifield
nek5000-users at lists.mcs.anl.gov
nek5000-users at lists.mcs.anl.gov
Thu Apr 15 15:01:16 CDT 2010
Hello all,
I am looking for how to assure that one and only one fluid is used. For
instance, in the following snippet, "ifield" should not be greater than
1. I guess am not sure what "ifield" means exactly.
if (ifield.eq.1) then ! fluid/gas
utrans=param(1) ! density of liquid
udiff =param(2) ! dynamic viscosity of liquid
else ! Thermal properties
utrans=.1*param(7) ! rhocp, liquid
udiff =.1*param(8) ! conductivity, liquid
endif
Cheers,
Frank
--
Frank Herbert Muldoon, Ph.D. Mechanical Engineering
Technische Universität Wien (Technical University of Vienna)
Inst. f. Strömungsmechanik und Wärmeübertragung (Institute of Fluid
Mechanics and Heat Transfer)
Resselgasse 3
1040 Wien
Tel: +4315880132232
Fax: +4315880132299
Cell:+436765203470
fmuldoo (skype)
http://tetra.fluid.tuwien.ac.at/fmuldoo/public_html/webpage/frank-muldoon.html
More information about the Nek5000-users
mailing list