← Back to team overview

yade-users team mailing list archive

Re: [Question #245254]: Update interaction and material parameters during the simlulation process

 

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

Henry posted a new comment:
Dear Jan,
   How can I  change the material parameters during the simulation?

 I tried the following script, but there is no change. :(
   
   for b in O.bodies:
             if b.material.id==0:
                 b.mat.frictionAngle=Fri_Fos
                 b.mat.normalCohesion=Coh_0/Fos
                 b.mat.shearCohesion=0.1*Coh_0/Fos

Thanks a lot!
Henry

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