bouncing ball on the soil
hi, I was recently assigned to work on YADE and may first programme is about bouncing ball on the soil , the problem is that the ball pass through the soil .This is what i am using:
""" add the particule to simulation """
O.bodies.
""" add a wall to simulation """
O.bodies.
O.engines=[
ForceResetter(),
InsertionSor
InteractionLoop(
),
# Apply gravity force to particles. damping: numerical dissipation of energy.
NewtonIntegr
]
O.dt=.5e-
# save the simulation, so that it can be reloaded later, for experimentation
O.saveTmp()
# Prints in file the center coordinates of the bouncing sphere
#def printFile():
#h = [O.bodies[
#np.
Can anyone please help me ? I will really appreciate your concern. Thanks.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jan Stránský
- Solved:
- 2019-01-21
- Last query:
- 2019-01-21
- Last reply:
- 2019-01-20
|
#1 |
Hello,
you need to tell Yade to take into account interaction of sphere-wall type [1], ie. add Ig2_Wall_
###
InteractionLoop(
),
###
cheers
Jan
hafsa (sebbah.hafsa) said : | #2 |
Thank you Jan my problem was solved
hafsa (sebbah.hafsa) said : | #3 |
Thanks Jan Stránský, that solved my question.