Question #235138 on Yade changed: https://answers.launchpad.net/yade/+question/235138
Status: Open => Answered Christian Jakob proposed the following answer: Hi stephen, Welcome to yade community. In yade you have to define materials (e.g. one material for particles and one for boundaries): ### properties: density = 2650 shear_modulus = 2e5 poisson_ratio = 0.15 young_modulus = 2*shear_modulus*(1+poisson_ratio) ### define materials: SphereMat = FrictMat(young=young_modulus,poisson=poisson_ratio,density=density,frictionAngle=0.5) BoundaryMat = FrictMat(young=young_modulus,poisson=poisson_ratio,frictionAngle=1) O.materials.append(SphereMat) O.materials.append(BoundaryMat) Then you can use the materials in the generation process: O.bodies.append(sphere([0,0,0],radius=R, material = SphereMat, fixed=True)) O.bodies.append(geom.facetBox((0.035,0.035,0.035),(0.035,0.035,0.035),wallMask=15, material = BoundaryMat, dynamic=1)) Hope it helps, Christian -- 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@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp