← Back to team overview

yade-users team mailing list archive

Re: [Question #245923]: RotationEngine not work SpherePack()

 

Question #245923 on Yade changed:
https://answers.launchpad.net/yade/+question/245923

Summary changed to:
RotationEngine not work SpherePack()

Description changed to:
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)), 
]

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.