[Nek5000-users] Instantaneous velocity field

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Wed Feb 21 09:33:16 CST 2018


Doesn't outpost() (userchk subroutine) inside a conditional statement 
address your issue?
Something like (if you have to flow information at istep=10):

  if (istep .eq. 10) then
       outpost(vx,vy,vz,pr,t,'vel')
   endif


On 02/21/2018 04:22 PM, nek5000-users at lists.mcs.anl.gov wrote:
>
> Hello,
>
> Thank you for the reply. I meant the instantaneous velocity field for 
> the domain (u(x,y,z),v(x,y,z),w(x,y,z)) at some certain time step (istep).
>
> Regards,
>
> Tim
>
> ------------------------------------------------------------------------
>
> do you mean how to write out an instantaneous field, or to generate an
> initial condition?
> On 2018-02-21 11:55, nek5000-users at lists.mcs.anl.gov 
> <https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users> wrote:
> >/The subroutine useric (in the usr file) is used to specify the initial /
> >/condition for the whole domain./
> >//
> >/On 21 Feb 2018, at 05:41, "nek5000-users at lists.mcs.anl.gov 
> <https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users> /
> >/<mailto:nek5000-users at lists.mcs.anl.gov 
> <https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users>>" /
> >/<nek5000-users at lists.mcs.anl.gov 
> <https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users> /
> >/<mailto:nek5000-users at lists.mcs.anl.gov 
> <https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users>>> wrote:/
> >//
> >>/Dear Nek users,/
> >>//
> >>/Could anyone please teach me how to generate an instantaneous velocity /
> >>/field for the whole domain (let’s say for just one time step and have /
> >>/it stored in a .dat file) for case of turbChannel. I have been /
> >>/tracking/reading many subroutines and files, but I could not find the /
> >>/location where I could add lines to generate the instantaneous /
> >>/velocity profile./
> >>//
> >>/Thank you./
> >>//
> >>/Tim/
>
>
>
> _______________________________________________
> 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/20180221/9af27230/attachment.html>


More information about the Nek5000-users mailing list