Sphere particles pass through the walls or facets under gravity
Hello everyone,
I run the scripts periodicSandPile.py as shown in:
https:/
where the bottom plate is made by box instead of wall or facet. I am curious about the situation if wall or facet is used instead of box, so I changed the box into wall. But the spheres under gravity will passes through the wall or facet that I defined, which is confusing. Would you please tell me why this happened, or where I was wrong? Thank you! The script using wall is presented:
#------
# import yade modules that we will use below
from yade import pack, plot, qt
O.periodic=True
lx=0.05
ly=0.1
lz=0.1
# creat horizontal 4 periodic boundries by cell
O.cell.
0, ly, 0,
0, 0, lz)
# creat plate
O.bodies.
# define material of sphere particles
idSand=
# creat sphere particles
radium=0.0005
sp=pack.
sp.makeCloud(
sp.makeCloud(
for s in sp:
if s[1]==radium:
O.bodies.
else:
O.bodies.
#------
O.engines=[
ForceResetter(),
InsertionSortC
InteractionLoop(
# handle sphere+sphere and facet+sphere collisions
[Ig2_
[Ip2_
[Law2_
),
GlobalStiffnes
NewtonIntegrat
PyRunner(
PyRunner(
]
O.trackEnergy=True
def checkUnbalanced():
if unbalancedForce
O.pause()
plot.
# plot.saveGnuplo
def addPlotData():
# each item is given a names, by which it can be the unsed in plot.plots
# the **O.energy converts dictionary-like O.energy to plot.addData arguments
plot.addData(
plot.plots=
plot.plot()
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Yuxuan Wen
- Solved:
- Last query:
- Last reply: