yade-users team mailing list archive
Mailing list archive
Re: [Question #689696]: Change contact properties
Question #689696 on Yade changed:
Status: Open => Answered
Jan Stránský proposed the following answer:
> by loading the sample.yade.gz from phase1
one option is not saving the simulation, but only the packing.
Than you would not need to change existing instances..
Applicable if the deviatoric phase is not dependent on the history of isotropic phase (i.e. it is only dependent on the final state). Which seems to me not unlikely.
> It seems like there is not something like "setContactalhpaKr()".
yes, you are right
> I'd like to know how to change the contact parameters during the
1) change parameters of existing materials - will be applied on (only!) new interactions
2) change parameters of existing interactions
mat = O.materials[id]
mat.whatever = anything
for i in I.interactions:
phys = i.phys
phys.whatever = anything
But be aware that you should know very well what and how to chthe ange (e.g. the value of stiffness could affect strength and so on..), if you need or (must not) touch history variables etc. etc.
If the packing-only-saving approach is suitable, it is much more preferable.
You received this question notification because your team yade-users is
an answer contact for Yade.