Question #640434 on Yade changed:
https://answers.launchpad.net/yade/+question/640434
Status: Open => Answered
Jan Stránský proposed the following answer:
Hello Wang,
> I am new here
welcome :-)
> I don't know what is wrong
actually nothing is wrong, your code works as expected.
After O.run(1,True), try
for b in O.bodies: print b.state.displ()
You will see, that the particles did move, but only little and the displacement
is not visible. This is probably due to simulation setup (forces magnitude,
stifnesses, sizes etc.)
In Yade GUI at "display" tab, you can set dispScale to magnify displacement. I
set the three values to 1000 and clearly see the displacement.
cheers
Jan
--
You received this question notification because your team yade-users is
an answer contact for Yade.
___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help : https://help.launchpad.net/ListHelp