New question #403219 on Yade:
https://answers.launchpad.net/yade/+question/403219

Hi,
When I conduct simulation using randomDensePack in YADE(vision 1.20.0), a 
strange error occur as follows:
Welcome to Yade 1.20.0 
TCP python prompt on localhost:9000, auth cookie `caseus'
XMLRPC info provider on http://localhost:21000
[[ ^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]: from yade import pack

Yade [2]: ## construct the predicate first

Yade [3]: 
pred=pack.inHyperboloid(centerBottom=(0,0,-.1),centerTop=(0,0,.1),radius=.05,skirt=.03)

Yade [4]: ## alternatively: pack.inHyperboloid((0,0,-.1),(0,0,.1),.05,.03)

Yade [5]: ## pack the predicate with spheres (will be explained later)

Yade [6]: spheres=pack.randomDensePack(pred,spheresInCell=2000,radius=3.5e-3)
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)

Yade [7]: ## add spheres to simulation

Yade [8]: O.bodies.append(spheres)
 ->  [8]: 
[0,
 1,
 2,
 3,
 4,
 5,
Finally, Yade got a same results as in the tutorial, but when I using 
randomDensePack to conduct other simulation, it got only this error without any 
particles displayed in the 3D view.
Can you help me to solve this problem?
Many thanks.

-- 
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     : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to