[Nek5000-users] ffx ffy ffz from current run

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Thu May 3 18:03:18 CDT 2018


Dear Zhai,


Assuming you have a periodic domain in direction "d" (d=1,2,3 or x,y,z), and

that you have ffx=ffy=ffz=0 in your .usr file, then


grep volf logfile


will show a list of time step, time, and "ffd" + other columns.


Column 3 will be "ffd"


where ffd is the force in the direction "d" and d = |p54|.


p54 = +/-  1  ==>   d=x direction

           +/-  2 ==>         y direction

           +/-  3 ==>         z direction


If p54 < 0, then p55 determines the mean velocity in direction d


If p54 > 0, then p55 determines the volumetric flux in direction d


(Note that p55 < 0 would be the flow is in the reverse direction.)


hth,


Paul


________________________________
From: Nek5000-users <nek5000-users-bounces at lists.mcs.anl.gov> on behalf of nek5000-users at lists.mcs.anl.gov <nek5000-users at lists.mcs.anl.gov>
Sent: Thursday, May 3, 2018 11:47:44 AM
To: nek5000-users at lists.mcs.anl.gov
Subject: [Nek5000-users] ffx ffy ffz from current run

Hi Nek users,

How can I get the ffx ffy and ffz from the simulation with flowrate fixed, where ffx ffy and ffz are in usr file?

Kind regards,

Zhai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20180503/ecd674f3/attachment.html>


More information about the Nek5000-users mailing list