Small particles jumping up in gravity deposition example in a cylindrical box
Hello everyone,
Hope you are doing well.
I want to simulate spherical packing in a cylindrical container. I followed the Gravity deposition example on the Yade website. It works well for the bigger particles. But for the small particles, most of the particles jumping up and going above, instead of deposition. Some of the particles go out of the box.
I need the porosity and particle configuration of packing at the end (balanced state).
I want to simulate my experiments, in which the particles are mono-sized spheres with 0.5 mm and 0.1 mm in diameter. And, the diameter of my cylinder is 5.2 cm. As it is not possible to use the real geometry of the cylinder because of the huge number of particles, that is why I used smaller ones.
Here is my code:
###########
# gravity deposition in box, showing how to plot and save history of data,
# and how to control the simulation while it is running by calling
# python functions from within the simulation loop
# import yade modules that we will use below
from yade import pack, geom, plot
from yade import export
pred = pack.inCylinder
sp = pack.randomDens
O.bodies.append(sp)
facets = geom.facetCylin
O.bodies.
# add the sphere pack to the simulation
# sp.toSimulation()
O.engines = [
# handle sphere+sphere and facet+sphere collisions
),
# call the checkUnbalanced function (defined below) every 2 seconds
]
O.dt = .5 * PWaveTimeStep()
# enable energy tracking; any simulation parts supporting it
# can create and update arbitrary energy types, which can be
# accessed as O.energy[
O.trackEnergy = True
# if the unbalanced forces goes below .05, the packing
# is considered stabilized, therefore we stop collected
# data history and stop
def checkUnbalanced():
if unbalancedForce() < .05:
O.pause()
O.saveTmp()
# export spheres function every 1000 iterations
O.engines += [PyRunner(
def exportSpheres():
i = O.iter
fName = f"yade-
export.
# porosity
O.engines += [PyRunner(
def plotAddData():
porosity = utils.porosity()
plot.
plot.
############
Any help will be greatly appreciated.
Thanks and regards,
Soheil
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Soheil Safari for more information if necessary.