particle get through the facet
hello
i have created a box by yade.utils.facet, but the particle always get through the boundary consist of facet and only a part of particle collision with the facet. i thought it maybe bacouse i set the value of timestep is too high, so i change it to a more low value, but it did not work. what confused me is that when i change the boundary to wall, everything is just fine. here is my code:
from yade import polyhedra_
import random
m = PolyhedraMat()
m.density = 2600 # kg/m^3
m.young = 1E6 # Pa
m.poisson = 20000 / 1E6
m.frictionAngle = 0.6 # rad\
v1=((0,
v2=((0,
v3=((20,
v4=((20,
v5=((20,
v6=((20,
v7=((0,
v8=((0,
v9=((0,
v10=((0,
O.bodies.
O.bodies.
O.bodies.
O.bodies.
O.bodies.
O.bodies.
O.bodies.
O.bodies.
O.bodies.
O.bodies.
O.bodies.
O.bodies.
polyhedra_
O.engines = [
ForceResett
InsertionSo
Interaction
),
# GravityEngine(
NewtonInteg
PyRunner(
]
O.dt=1e-2
# 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
O.pause()
O.
O.run()
#
# plot.saveGnuplo
# collect history of data which will be plotted
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.
# define how to plot data: 'i' (step number) on the x-axis, unbalanced force
# on the left y-axis, all energies on the right y-axis
# (O.energy.keys is function which will be called to get all defined energies)
# None separates left and right y-axis
plot.plots=
# show the plot on the screen, and update while the simulation runs
plot.plot()
O.saveTmp()
i would appreciate if you can help me
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 lip for more information if necessary.