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

    Status: Open => Needs information

Jan Stránský requested more information:
> I am quite new to yade and this forum

welcome :-)
and please read [1] 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 [1], M = minimal.
Something like this, a short code focusing just on the problem.
###
bot = (
    sphere((0,0,0),1),
    sphere((2,0,0),1),
    sphere((0,2,0),1),
    sphere((2,2,0),1),
)
top = (
    sphere((0,0,3),1),
    sphere((2,0,3),.5),
    sphere((0,2,3),.5),
    sphere((2,2,3),1),
)
botIds = O.bodies.append(bot)
topIds = O.bodies.append(top)

harmRot = HarmonicRotationEngine(
    ids=topIds,
    rotateAroundZero=True,
    rotationAxis=(0,0,1),
    zeroPoint=(1,1,0),
    A=1,
    f=1,
)

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.

Cheers
Jan

[1] https://www.yade-dem.org/wiki/Howtoask

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

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to