[Nek5000-users] Multiple scalars
nek5000-users at lists.mcs.anl.gov
nek5000-users at lists.mcs.anl.gov
Mon Jun 20 19:32:00 CDT 2011
Hi David,
The output in .fld/.f files work for multiple passive scalars -- 9 for
.fld & 99 for .f
A way to setup, say for 3 passive output fields is to specify .rea:
3 PASSIVE SCALARS
T PS 1
T PS 2
T PS 3
The boolean areas IFNAV & IFADVC set Nek5000 for solving w/
non-linear/advecting terms for Navier-Stokes and advection-diffusion
equations for temperature/passive scalars -- otherwise there just
Stokes/unsteady solves.
Best,
Aleks
On Mon, 20 Jun 2011, nek5000-users at lists.mcs.anl.gov wrote:
> Hi Paul,
>
> Thanks, your example file helped me find my mistake. I was outputting an
> initial .fld file that contained only the temperature scalar, due to a
> vestigial outpost call in the .usr file. Then, although the next .fld file
> contained the geometry, T, and PS1, VisIt was confused.
>
> I have fixed this, but it leads me to wonder: does outpost only work for a
> single scalar?
>
> Also, what is the meaning of the IFNAV & IFADVC boolean array in the .rea
> file?
>
> Best,
>
> David
>
>
> On Mon, Jun 20, 2011 at 6:08 PM, <nek5000-users at lists.mcs.anl.gov> wrote:
>
>>
>> Hi David,
>>
>> In the .rea file, be certain to set
>>
>> 1 NPSCAL
>>
>> T IFHEAT
>>
>> T T T T ... IFNAV etc
>>
>> and to have a set of BCs for
>>
>> FLUID
>> TEMP
>> PASSIVE SCALAR 1
>>
>> I've just done this and it seems to work ok.
>>
>> www.mcs.anl.gov/~fischer/ps1.**rea.gz<http://www.mcs.anl.gov/%7Efischer/ps1.rea.gz>
>>
>>
>> Paul
>>
>>
>
More information about the Nek5000-users
mailing list