yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #21985
Re: [Question #688508]: Shaking and Packing problem
Question #688508 on Yade changed:
https://answers.launchpad.net/yade/+question/688508
Status: Open => Answered
Jan Stránský proposed the following answer:
> However I cannot make the top stop at a desired height.
> def stopPlate():
> if plate.state.pos[2]<15:
> plate.state.vel*=0
> integrator.gravity=(0,0,+9.81)
> checker.command='stop1()'
here the change of checker.command is done in the very first run (and
the plate is then not stpped), maybe put it inside the if condition?
cheers
Jan
--
You received this question notification because your team yade-users is
an answer contact for Yade.