You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
you can access fields after_step callback which can be implemented in
youtrLBSim class.
e.g:
def after_step(self, runner):
every_n = 10000
if self.iteration % every_n == every_n - 1:
self.need_sync_flag = True
if self.iteration%every_n==0:
vx,vy = runner._sim.vx, runner._sim.vy
Remember that sailfish does not copy gpu fields every step to host, so it
has to know one step ahead to do so.
Also if every is smaller than 100-1000 - the speed will be also smaller.
the best
mk
How to monitor the velocity along the center line of a cavity?
The text was updated successfully, but these errors were encountered: