Question #406774 on Yade changed:
https://answers.launchpad.net/yade/+question/406774
Status: Answered => Open
Tina Asia is still having a problem:
Hello,
Thanks Jerome and Jan, my code got no error but the upper platen still fixed.
According to Jan's advice, my code got an error and the particle assembly
disintegrated, sub-particles flew here and there. The error is here:
huihuang@huihuang-Aspire-F5-572G:~$ cd Desktop/single_particle
huihuang@huihuang-Aspire-F5-572G:~/Desktop/single_particle$ yade BPM.py
Welcome to Yade 1.20.0
TCP python prompt on localhost:9000, auth cookie `skcsyd'
XMLRPC info provider on http://localhost:21000
Running script BPM.py
No suitable packing in database found, running PERIODIC compression
/usr/lib/x86_64-linux-gnu/yade/py/yade/pack.py:296: FutureWarning: The default
behavior will change; specify returnSpherePack=True for the new behavior, and
False to get rid of this warning (your code will break in the future, however).
The returned SpherePack object can be added to the simulation using
SpherePack.toSimulation()
warnings.warn('The default behavior will change; specify
returnSpherePack=True for the new behavior, and False to get rid of this
warning (your code will break in the future, however). The returned SpherePack
object can be added to the simulation using
SpherePack.toSimulation()',category=FutureWarning)
Traceback (most recent call last):
File "/usr/bin/yade", line 182, in runScript
execfile(script,globals())
File "BPM.py", line 26, in <module>
TranslationEngine(translationAxis=(0,0,-1),velocity=0.09,ids=[upper_platen],label='trans'),
TypeError: No registered converter was able to produce a C++ rvalue of type int
from this Python object of type list
[[ ^L clears screen, ^U kills line. F12 controller, F11 3d view (use h-key for
showing help), F10 both, F9 generator, F8 plot. ]]
Yade [1]:
--
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