# simulation problem between sphere and polyhedra

hello

i was simulating the contact between sphere and polyhedra, but there is a problem:when the particle When particles come into contact with the boundary which formed by polyhedra with fixed position, it It bounces up and then fly away,moreover, the polyhedra paticle just get though the boundary, and finally only a few sphere left in the contain form by polyhedron boundary.

below is part of my code:

from yade import polyhedra_

import random

n = FrictMat(

O.materials.

#the boundary of particle flow

v1=((0,

v2=((0,

v3=((0,

v4=((0,

v5=((3,

b1 = polyhedra_

b2 = polyhedra_

b3 = polyhedra_

b4 = polyhedra_

wall = polyhedra_

b2.shape.wire=True

O.bodies.

#polyhedra_

#sphere particles mixed with polyhedra

sp=pack.

sp.makeCloud(

for center,radius in sp:

if radius >= 0.3:

t = polyhedra_

t.state.pos = center # sets polyhedron position according to sphere position

else:

t = sphere(

#simulation

O.engines = [

ForceResett

InsertionSo

Interaction

),

# GravityEngine(

NewtonInteg

PyRunner(

]

O.dt=5e-5

i would appreciate if if you can help me

## Question information

- Language:
- English Edit question

- Status:
- Expired

- For:
- Yade Edit question

- Assignee:
- No assignee Edit question

- Last query:
- 2019-05-17

- Last reply:
- 2019-06-02

Launchpad Janitor (janitor) said : | #1 |

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Jan Stránský (honzik) said : | #2 |

Hello, sorry for late answer.

> When particles come into contact with the boundary which formed by polyhedra with fixed position, it It bounces up and then fly away,moreover, the polyhedra paticle just get though the boundary, and finally only a few sphere left in the contain form by polyhedron boundary.

all the symptoms might be from too long time step. What happens if you use lower (2x, 10x, 100x) value?

cheers

Jan