← Back to team overview

yade-users team mailing list archive

Re: [Question #615644]: density and time-step

 

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

Jan Stránský proposed the following answer:
Hello,

> As far as I know, the time-step calculated by the
GlobalStiffnessTimeStepper increases with the increasing of the particle
density

as DEM is discrete, as Robert mentioned, the important quantity is body
mass, not its material density

you can try:

b = O.bodies[someID]
print b.state.mass
b.mat.density = 100000000
print b.state.mass # has no effect on existing bodies

So the correct approach should be

for b in O.bodies:
   b.state.mass *= someFactor

cheers
Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.