← Back to team overview

yade-users team mailing list archive

Re: [Question #659526]: Triaxial test on dry granular material

 

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

Jan Stránský proposed the following answer:
> could you please check this script

> mn,mx=Vector3(0,0,0),Vector3(0.1,0.1,0.1)
> pred=pack.inAlignedBox(mn,mx)
> sp=pack.randomDensePack(pred,radius=0.5,...)

using spheres (radius=0.5) larger than predicate (0.1) results in zero
spheres..


> It takes a lot of time for the periodic compression though

use lower value of spheresInCell, e.g. 300 should be ok

> How do I assign the label 'spheres' (which contains the material
properties) to the above spherical particles?

e.g.
sp=pack.randomDensePack(...,material='spheres')

Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.