add material property (bouncing sphere example)

Asked by Weimin Song

Dear all,

          I am running the bouncing sphere example by adding the material property:

O.materials.append(FrictMat(density=2e3, young=30e9,poisson=.3,frictionAngle=.5,label="aggregate"))

         Why is the velocity of the particle so small, in contrast with the default material? Anything I missed? Thank you!

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Jérôme Duriez
Solved:
Last query:
Last reply:
Revision history for this message
Best Jérôme Duriez (jduriez) said :
#1

Hi,

I guess you're referring to the example of the doc at https://yade-dem.org/doc/tutorial-examples.html (this was not obvious for me at first)

Maybe you thought the particle velocity got small because the motion depicted in the GUI is much slower with your new material line. However, this is highly misleading...

What you see in the GUI is displacements: vitesse *time. And, with your new line, the time step has decreased a lot: from 2.5e-7 from 6.45e-9.

However, the velocity itself is probably the same, you may check it asking for state.vel (this is the best measure of velocity !)

Revision history for this message
Weimin Song (wsong8) said :
#2

Thanks Jérôme Duriez, that solved my question.