yade-users team mailing list archive
Mailing list archive
Re: [Question #697909]: unexpected offset angle with the HarmonicRotationEngine
Question #697909 on Yade changed:
Status: Open => Needs information
Jan Stránský requested more information:
> I am quite new to yade and this forum
and please read  carefully, e.g. also add what is your Yade version (sometimes there are changes, that might be important for the problem) etc.
thanks for the code.
> The execution is a bit long ...
> sorry it is a bit long ...
therefore the code posted should be a MWE , M = minimal.
Something like this, a short code focusing just on the problem.
bot = (
top = (
botIds = O.bodies.append(bot)
topIds = O.bodies.append(top)
harmRot = HarmonicRotationEngine(
fResetter,collider,iLoop,timeStepper,newton = O.engines
O.engines = [fResetter,collider,iLoop,harmRot,newton]
O.dt = 1e-6
if this is what you are expecting and your code does not work as expected, you can think what is different, add relevant parts to the MWE and iterate similarly.
This way, there is also higher probability that you find the problem yourself.
So please try to create a MWE, i.e. deleting the deposition and compaction and just add a few "representative" hardcoded spheres (i.e. if particles are far away, make them far away, if they are touching, make them touching etc.), deleting not important PyRunners etc.
You received this question notification because your team yade-users is
an answer contact for Yade.