Yade rookie

Asked by Diego

Hey guys,

I am very new in this Yade stuff and I would really appreciate if you could help me with a task.

What I need is to create a ball that falls from certain point to a sloped surface, bounces to another sloped surface (with a different angle to the previous slope) and bounces again. Finally, the ball has to crash into a vertical wall. I require the forces applied to this wall.

So far I have been able to create the ball and one surface, but the ball always goes through the surface and never bounces.

Thank you very much in advance.

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Christian Jakob
Solved:
Last query:
Last reply:
Revision history for this message
Best Christian Jakob (jakob-ifgt) said :
#1

Hi rookie ;)

Assuming you use facets, FrictMat and ScGeom:

It seems you forgot to add Ig2_Facet_SphereScGeom() to InteractionLoop engine. Just have a look at this code from examples/funnel.py:

O.engines=[
ForceResetter(),
InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Facet_Aabb()]),
InteractionLoop(
[Ig2_Sphere_Sphere_ScGeom(),Ig2_Facet_Sphere_ScGeom()],
[Ip2_FrictMat_FrictMat_FrictPhys()],
...
),
...
]
If are using boxes, just replace all "Facet" by "Box" in the code above.

Good luck,

Christian

Revision history for this message
Diego (diegof0610) said :
#2

Thanks a lot man, that was really the sollution!

I'll contact you if something comes up.

Thank you again and have a nice day!