← Back to team overview

yade-users team mailing list archive

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

 

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(10000,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.