how to add cohesion between box and spheres
Dear YADE users,
I am simulating the spheres falling down to a box plate under gravity. When the spheres touching the box plate, I want to add strong cohesive force between the spheres and box plate, so that spheres will not bounce but stay on the box plate. The sphere and box are FrictMat. I tried to add a positive normal force between spheres and box once they are in touch:
#------
for i in O.interactions:
if isinstance(
i.phys.
#------
The full code is shown as follows:
#######
from yade import pack, plot, qt, export, os
O.periodic=True
O.trackEnergy=True
lx=0.05
ly=0.1
lz=0.1
radium=0.0005
# creat horizontal 4 periodic boundries by cell
O.cell.
0, ly, 0,
0, 0, lz)
# Define materials
idBox=O.
idSand=
# creat plate
lowBox=
lowBoxid=
# creat sphere particles
sp=pack.
sp.makeCloud(
for s in sp:
O.bodies.
# engines
O.engines=[
ForceResetter(),
InsertionSortC
InteractionLoop(
[Ig2_
[Ip2_
[Law2_
),
GlobalStiffnes
NewtonIntegrat
PyRunner(
]
# define functions
def servo(): # add cohesive forces
for i in O.interactions:
if isinstance(
i.phys.
The sphere will stay on the box plate instead of bouncing. But I am not sure if it is suitable to adjust the interaction forces directly. In the following stage, an external force F_e will be applied on the box.
1) Is this way correct to add cohesive force between spheres and box plate?
2) Will the added interaction force affect the behavior under F_e? I mean can we treat the interaction force as a external force or not?
Thank you so much!
Yuxuan
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jérôme Duriez
- Solved:
- Last query:
- Last reply: