[Nek5000-users] Outpost question

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Fri Aug 15 09:57:55 CDT 2014


Hi Katherine,

Thanks for the answer. I knew about the parameter 15 and was not sure about
the 64 bits precision. This is now more clear.
Regarding the overwriting, I had guessed that prepost has a parameter that
needs to be reset, but I haven't been able to figure out which one so far.
That would be very helpful if you can take a quick look at it.

Thanks a lot and enjoy the end of the summer
++

JC


2014-08-15 16:53 GMT+02:00 <nek5000-users at lists.mcs.anl.gov>:

> Hi JC,
>
> You should be able to control the outpost frequency and precision using
> the parameters parameter 15 (IOSTEP) and parameter 63, respectively.
>
> So, if you wanted the first 100 steps to output every step, you would set
> something like:
>
> if(istep.le.100)  param(15)=1
>
>  To set the precision to 64bit, set param(63)=8, as well.  Setting
> param(63) to anything else should default it to 8 byte precision.
>
> As far as overwriting previous fld files, you should be able to reset a
> parameter used in prepost.f that increments the file counter.  I haven't
> had a chance to test this, but I can take a look at it last this weekend.
>
> hth.
> Katherine
>
>
> On Fri, Aug 15, 2014 at 3:34 AM, <nek5000-users at lists.mcs.anl.gov> wrote:
>
>> Howdy Nek's,
>>
>> I have a couple questions regarding the ouput of files:
>>
>>    1. How can force, within the code (say in usrchk), some files to be
>>    output in 64 bits for high-accuracy checkpointing and other in regular 8
>>    bits for simple visualisation?
>>    2. Say, during the first 1000 iterations, the code outpost a file
>>    every single iteration so that I have blah0.f00001 to blah0.f01000. How can
>>    I then force the code to outpost my new files (from istep = 1001 to 2000
>>    say) rewriting on blah0.f00001 to blah0.f01000?
>>
>> Thanks a lot.
>> Regards,
>>
>> JC
>>
>> --
>> Jean-Christophe Loiseau
>> Homepage <https://sites.google.com/site/loiseaujc/>
>>
>> _______________________________________________
>> 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
>
>


-- 
Jean-Christophe Loiseau
Homepage <https://sites.google.com/site/loiseaujc/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20140815/0b4b8887/attachment.html>


More information about the Nek5000-users mailing list