overlapping particle/particle and particle/wall
Hello everyone,
I'm new with Yade and I would appreciate some help.
I need to create a random dense packing in a cylinder. The radii of the spheres should have a normal distribution around a given value. Furthermore the spheres should not overlap, and the particles close to the cylinder surface should touch the surface (but not intersect the cylinder wall). Then I export the coordinates for further analysis in Ansys Fluent.
I first create a particle cloud in my predicate and then apply gravity deposition while my predicate is shaking (to distribute the particles evenly over the whole cross section of the cylinder). After 8000 iterations I stop the simulation and export the coordinates:
from yade import pack, qt, export
cylinder=
sp=pack.
diameter=
cum=[0.
sp.makeCloud(
sp.toSimulation()
yade.qt.
yade.qt.View()
O.engines=[
ForceResetter(),
InsertionSortC
InteractionLoop(
[Ig2_
[Ip2_
[Law2_
),
NewtonIntegrat
PyRunner(
]
O.dt=.5*
def iterations():
O.stopAtIter
export.
Then I start another simulation, create the same predicate, import the packing and then apply a simple gravity deposition and let it "rest" until the unbalanced force is below 0.001:
from yade import pack, qt, ymport, export
cylinder=
packing=
O.bodies.
yade.qt.
yade.qt.View()
O.engines=[
ForceResetter(),
InsertionSortC
InteractionLoop(
# handle sphere+sphere and facet+sphere collisions
[Ig2_
[Ip2_
[Law2_
),
NewtonIntegrat
PyRunner(
]
O.dt=.5*
def checkUnbalanced():
if unbalancedForce
export.
But when I import my pack into Ansys Fuent (generating the spheres in CATIA V5 first), the particles overlap sligthly among each other and intersect with the drawn cylinder wall.
And now my question: Why is that so and is there a way to avoid this problem?
Many thanks,
Michael
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Michael Kolbeck
- Solved:
- Last query:
- Last reply: