[Nek5000-users] Instantaneous velocity field

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


I forgot to add 'call' before outpost. Please read the block as:

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


On 02/21/2018 04:33 PM, Navrose Navrose wrote:
>
> 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/93a90c2d/attachment-0001.html>


More information about the Nek5000-users mailing list