← Back to team overview

yade-users team mailing list archive

Re: [Question #177389]: pack a volume with specified spheres

 

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

    Status: Answered => Open

Jack Wang is still having a problem:
Chareyre,

Maybe I don't understand the "makecloud" very clearly.  Here is my modification:
 sp.makeCloud(Vector3(-1,-9,30),Vector3(1,-13,32),num=2000,psdSizes=[.0118/2,.0236/2,.0475/2,.095/2,.132/2,.16/2,.19/2],
psdCumm=[0,.6385,.8715,.9625,.9855,.9965,1]) 

When I run the example, a problem occurs. I don't know what to do then.
Please give me some guidance.  Thank you very much.


Welcome to Yade 0.50
TCP python prompt on localhost:9000, auth cookie `cadssy'
TCP info provider on localhost:21000
Running script lixi.py
Generating cloud…
Traceback (most recent call last):
  File "yade-0.50", line 112, in <module>
    execfile(args[0])
  File "lixi.py", line 44, in <module>
    psdCumm=[0,.6385,.8715,.9625,.9855,.9965,1])
ArgumentError: Python argument types in
    SpherePack.makeCloud(SpherePack, tuple, tuple)
did not match C++ signature:
    makeCloud(SpherePack {lvalue}, Eigen::Matrix<double, 3, 1, 2, 3, 1> minCorner, Eigen::Matrix<double, 3, 1, 2, 3, 1> maxCorner, double rMean, double rRelFuzz, int num=-1, bool periodic=False, double porosity=-1)

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.