[Nek5000-users] Outpost question

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


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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20140815/76f6194f/attachment.html>


More information about the Nek5000-users mailing list