[Nek5000-users] Restart Problem
nek5000-users at lists.mcs.anl.gov
nek5000-users at lists.mcs.anl.gov
Sat Jul 21 11:08:44 CDT 2012
Hi Alireza,
I would suggest looking closely at the subroutine "my_full_restart"
in the cyl_restart example .usr files. I think from there you can
figure out how to accomplish your goal.
Please let me know if that gets you to where you need to be.
If I were you, I would use outpost(), rather than outpost2().
Both outpost (or outpost2) and my_full_restart are fully parallel
so nothing special required in that respect.
Paul
On Sat, 21 Jul 2012, nek5000-users at lists.mcs.anl.gov wrote:
> Hi Neks,
>
> I have a question regarding I/O procedure. At each time and on every grid
> point, I integrate the components of a vector field in time which are
> functions of the vorticity and their own values from the previous time step.
> I need to store the values of these components at the last time step
> (preferably in a separate file) and then recall those values after restarting
> the simulation. I think I should use outpost2 to store the values, but I'm
> not sure how to open a different file other than fld file and then how to
> read that file to be consistent in parallel. I wonder if you have any hint.
>
>
> Regards,
> Alireza
>
> _______________________________________________
> 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