Re: [Yade-users] [Question #640434]: check if the model is right

2017-06-03 Thread Wang Wang
Question #640434 on Yade changed:
https://answers.launchpad.net/yade/+question/640434

Status: Answered => Solved

Wang Wang confirmed that the question is solved:
Thanks Jan Stránský, that solved my question.

-- 
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


Re: [Yade-users] [Question #640434]: check if the model is right

2017-06-03 Thread Jan Stránský
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