[Nek5000-users] write initial condition

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Tue Feb 28 13:44:44 CST 2012



Thanks Mike for the suggestion...

I often achieve this result via:

nekbmpi blah 32
echo 1 > ioinfo

which tells nek to dump on the next step, which, if timing
is good, should be the first.

You're right, however, that we should make it a more certain
thing.   I'll talk with the group here about what would be a
good flag to realize this.

Paul


On Tue, 28 Feb 2012, nek5000-users at lists.mcs.anl.gov wrote:

> Paul & Josh,
>
> Thanks for your suggestions.  I should be set with those.
>
> Paul, the IC-output might make a nice flag in the .rea file.  There have been many instances where I've looked at my fld files thinking -- "what's up??"  -- and wondering how the initial conditions looked.
>
> Cheers,
> Mike
>
> On Feb 28, 2012, at 12:30 PM, <nek5000-users at lists.mcs.anl.gov> wrote:
>
>>
>> Sorry - I now see your question..
>>
>> The only thing I know of is to add the following to userchk:
>>
>>       if (istep.eq.0) call outpost(vx,vy,vz,pr,t,'   ')
>>
>>
>> You need something slightly different if you have multiple
>> passive scalars.  (you need output2() ... check the source
>> for syntax.)
>>
>> Paul
>>
>>
>>
>>
>> On Tue, 28 Feb 2012, nek5000-users at lists.mcs.anl.gov wrote:
>>
>>>
>>> set nsteps to 0 and fintime to 0 ?
>>>
>>>
>>>
>>> On Tue, 28 Feb 2012, nek5000-users at lists.mcs.anl.gov wrote:
>>>
>>>> Hello neks.
>>>>
>>>> Is there a .rea flag or other simple solution to have nek write the
>>>> initial-condition fld file regardless of the p015 IOSTEP choice?
>>>>
>>>> Thanks.
>>>> --Mike
>>>>
>>>> _______________________________________________
>>>> Nek5000-users mailing list
>>>> Nek5000-users at lists.mcs.anl.gov
>>>> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
>>>>
>>> _______________________________________________
>>> Nek5000-users mailing list
>>> Nek5000-users at lists.mcs.anl.gov
>>> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
>>>
>> _______________________________________________
>> Nek5000-users mailing list
>> Nek5000-users at lists.mcs.anl.gov
>> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
>
> _______________________________________________
> 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