RotationEngine not work SpherePack()

Asked by Carrie

Hi , everyone,
I am trying to simulate the rotatation of a cylinder.
I use
         SpherePack() to creat a cylinder
         RotationEngine to rotate this cylinder

 What should i do? Thank you for your any suggestions.

Here is the some paragraph of my code——

O.engines=[
 ForceResetter(),
 InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Facet_Aabb(),Bo1_Box_Aabb(),]),
 InteractionLoop(
  [Ig2_Sphere_Sphere_ScGeom(),Ig2_Facet_Sphere_ScGeom(),Ig2_Box_Sphere_ScGeom6D()],
  [Ip2_FrictMat_FrictMat_FrictPhys()],
  [Law2_ScGeom_FrictPhys_CundallStrack()],
 ),
 RotationEngine(rotateAroundZero=True,zeroPoint=(0,0,0),rotationAxis=(1,0,0),angularVelocity=100,ids=cylIds,label='rotor'),
 NewtonIntegrator(damping=.3,gravity=(0,0,-1e4)),
]

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Carrie
Solved:
Last query:
Last reply: