← Back to team overview

yade-users team mailing list archive

Re: [Question #667790]: facetCylinder disintegrates when being rotated

 

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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hi Steve,
please, if possible, always provide a MWE [1]. We could e.g. immediately if rotateAroundZero [2] is missing or not

###
ids=O.bodies.append(geom.facetCylinder((0,0,0),1,2))
O.engines = [
   ForceResetter(),
   RotationEngine(ids=ids,angularVelocity=1,rotateAroundZero=True),
   NewtonIntegrator(),
]
O.dt = 1e-6
###

cheers
Jan

[1] https://yade-dem.org/wiki/Howtoask
[2] https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.RotationEngine

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.