RotationEngine on a clump
Dear all,
I have been struggling recently to apply the RotationEngine on a clump of spheres.
My goal is basically to let the clump roll over the floor, as a wheel would do. The forward movement comes from the traction between the wheel and the floor, so the TranslationEngine is not used.
My questions are:
- what am I doing wrong? I tried several things: apply the rotation engine on the individual spheres or on the clump ID, rotate around the center of mass, ...
- Is the same thing possible with a clump of facets?
Here's an example:
I'm using Yade 2018.02b-
(I want to work with cohesive materials, hence the cohesive physics. I guess this doesn't matter)
## MWE
from yade import plot, utils, pack, geom, ymport, polyhedra_utils, timing
## MATERIALS
CohFrictMat02=
density=
## DEFINE BODIES
# Fixed Reference
sp=pack.
O.bodies.append(sp)
# Clump to be rotated
sp=pack.
RotatingClumpID_L = O.bodies.
RotatingClumpID = RotatingClumpID
RotatingSpheresID = RotatingClumpID
# RotatingSpheresID = O.bodies.append(sp) ## APPEND NOT CLUMPED (for testing)
## dT
dt=O.dt=
## MODEL
Gravity = -9.8
# Gravity = 0.0
## Engines
O.timingEnabled
EnlargeDetectio
RotEngine = RotationEngine(
O.engines=[
ForceResett
InsertionSo
]),
Interaction
[
],
),
NewtonInteg
RotEngine,
PyRunner(
]
Thanks
Jan
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Bruno Chareyre
- Solved:
- Last query:
- Last reply: