← Back to team overview

yade-users team mailing list archive

Re: [Question #251176]: default material resetting

 

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

    Status: Answered => Solved

leishaoxin confirmed that the question is solved:
THX I have done it

idPFA=O.materials.append(FrictMat(young=5e6,poisson=.32,frictionAngle=.1,label="PFA"))

# create empty sphere packing
# sphere packing is not equivalent to particles in simulation, it contains only the pure geometry
sp=pack.SpherePack()
# generate randomly spheres with uniform radius distribution
sp.makeCloud((2,-4.5,1),(7,4.5,0.75),rMean=.05,rRelFuzz=.5,material=idPFA)
# add the sphere pack to the simulation and difine simulation material for spheres here
sp.toSimulation(material=idPFA)

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