yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #13885
Re: [Question #406774]: Translation engine can not work
Question #406774 on Yade changed:
https://answers.launchpad.net/yade/+question/406774
Status: Open => Answered
Jan Stránský proposed the following answer:
Hi,
thanks for the files. I have no problem with the script, the facets moves
exactly as prescribed. You can check it by defining following function and
calling it in O.engines with PyRunner:
################
def printVel():
b = O.bodies[upper_platen[0]]
vel = b.state.vel
pos = b.state.pos
print vel,pos
O.engines = [
...
PyRunner(iterPeriod=1,command='printVel()'),
]
################
Of course, because of the velocity (~1e-1) and time step(~4e-8), the motion
is not visible, but it is a different story..
cheers
Jan
--
You received this question notification because your team yade-users is
an answer contact for Yade.