[Nek5000-users] write initial condition

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


Hey Mike,

An option I use is to put a simple statement in userchk() in the user
file.  Code is below

    if (istep.eq.0) call prepost(.true.,'   ' )

Note that the second argument is a string containing three spaces.
Let me know if this works for you.

- Josh

On Tue, Feb 28, 2012 at 1:24 PM,  <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



-- 
Josh Camp

"All that is necessary for the triumph of evil is that good men do
nothing" -- Edmund Burke



More information about the Nek5000-users mailing list