← Back to team overview

yade-users team mailing list archive

Re: [Question #230139]: clumps generating randomly in 2D simulation

 

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

    Status: Open => Answered

Christian Jakob proposed the following answer:
> Now I still have no idea about what you just said some small
modifications because there is nothing

sorry, my fault, everthing looks fine.

your problem comes from density = 0.0 for your spheres. somewhere in the
code inertia is devided by density, so you get nans for inertia of
clumps ...

please define a material like:

id_Mat=O.materials.append(FrictMat(young=1e7,poisson=0.3,density=1000,frictionAngle=1))
Mat=O.materials[id_Mat]

and set it to your spheres:

        spherepara1 = sphere ( coors1 , radius , material=Mat )
        spherepara2 = sphere ( coors2 , radius , material=Mat )
        spherepara3 = sphere ( coors3 , radius , material=Mat )
        spherepara4 = sphere ( coors4 , radius , material=Mat )  

then everthing works fine ;)

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