Spheres/Box contact : spheres ori suddenly set to NaN.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Yade |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi,
Please see and launch the attached script.
Some spheres are falling into a box because of gravity. The simulation starts well, but when all particles are almost steady, wait for a few seconds and you will see that some of them who are in contact with the bottom wall will disapear. I spent some time to investigate and that's my preliminary conclusions :
- it is fully reproducible
- particles don't really disappear : their orientation is suddenly turned to Quaternion(
- you can reproduce this with one sphere (uncomment the last line of the script and comment the previous paragraph) : let it fall then apply to it a little angVel : "O.bodies[
- it's independent on the timestep value.
- it's dependant on the interpenetration of the contact : if you increase the gravity or decrease the young modulus, you will be able to avoid this behaviour.
Does somebody have an idea ? I think it's a rotation calculation issue, in a very specific geometric case.
Changed in yade: | |
status: | Fix Committed → Fix Released |
Confirm reproducibility with your script.
Yade 0.97.0