yade-users team mailing list archive
Mailing list archive
Re: [Question #676176]: Generate a sample with a porosity gradient; change sphere material in periodic simulation
Question #676176 on Yade changed:
Status: Open => Answered
Bruno Chareyre proposed the following answer:
> is there any way to edit the material of spheres which have already
been added to the simulation?
"O.bodies[n].material =.." should do the trick. :)
If you want a different material for each body you need to instantiate a
new one explicitely, else they share the same:
O.bodies[n].material = FrictMat()
The part of the question related to periodicity is less clear to me.
You received this question notification because your team yade-users is
an answer contact for Yade.