← Back to team overview

yade-users team mailing list archive

Re: [Question #240167]: FuncG in ConcretePM.cpp

 

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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hi Hicham,
check if not only the line, but also specimenLength and sphereRadius values
are the same (or similar). According to MemoryError I would say that
the specimenLength/sphereRadius ratio is much higher in the error prone
simulation than that you used before, resulting in too many particles
exceeding memory capacity.
cheers
Jan



2013/12/4 Hicham BENNIOU <question240167@xxxxxxxxxxxxxxxxxxxxx>

> Question #240167 on Yade changed:
> https://answers.launchpad.net/yade/+question/240167
>
>     Status: Answered => Open
>
> Hicham BENNIOU is still having a problem:
> Thanks Jan,
>
> It still generates this error :
>
>
> sp=pack.randomDensePack(pack.inAlignedBox((-.5*specimenLength,-.5*specimenLength,-.5*specimenLength),(.5*specimenLength,.5*specimenLength,.5*specimenLength)),spheresInCell=spheresInCell,radius=sphereRadius,returnSpherePack=True)
>   File
> "~/Yade/build/lib/x86_64-linux-gnu/yade-2013-11-20.git-11c208a/py/yade/pack.py",
> line 474, in randomDensePack
>     if wantPeri: sp.cellFill(Vector3(fullDim[0],fullDim[1],fullDim[2]))
> MemoryError
>
> This is weird especially because I use the same line that generates this
> error in another script and it works fine :
>
> sp=pack.randomDensePack(pack.inAlignedBox(min,max),spheresInCell=spheresInCell,radius=sphereRadius,returnSpherePack=True)
>
> Any Ideas ?
>
> Hicham
>
> --
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp
>

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