← Back to team overview

yade-users team mailing list archive

Re: Time Series Forcing implementation in python

 


I added the periodicpythonrunner to my code, but I am not sure how to
define BexContainter().  When I run the simulation, it gives the error:
"NameError: global name 'BexContainer' is not defined".
Oh, my fault. You should say O.actions to get a BexContainer object, which then accepts addForce etc methods. Make sure you run at least r1727 where I added the addForce method.
Also, when I use the interpolatingspiralengine in my code, it gives the
error: "RuntimeError: ClassFactory::create - cannot create class named:
InterpolatingSpiralEngine".
DeusExMachina("InterpolatingSpiralEngine") works fine here. Can you post your code (whole script preferrably).
Additionally, with the interpolating spiral
engine, I am not sure what velocities you are referring to.  Should
these instead be the same forces I apply in periodicpythonrunner?  Also,
I do not know what 'thrAxRad' should be in that engine.
Have a look at InterpolatingSpiralEngine header, in pkg/common/Engine/DeusExMachina/RotationEngine.hpp, all parameters are commented. thrAxRad is a leftover variable, it should be some number, simply. I hope it is clearer now.

Vaclav.

(PS. please can you, when replying to mails, use the Reply function of your mail client instead of just pasting the subject to a new message? Messages are threaded not according to subject but following the In-Reply-To: header which contains ID of the message you are replying to.)



Follow ups

References