← Back to team overview

yade-users team mailing list archive

Re: [Question #159705]: Is it a bug ? mass won't update after desity changing

 

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

Lin Zhang posted a new comment:
hi Anton,
I want to increase the density to get a higher timestep. In fact, I solved it by updating mass and inertia manually. but consider the py script below:

sp=pack.SpherePack()
sp.load('sample.spheres')
sp.toSimulation()

it is a common method to load sample into simulation. the particles'
mass will be initialized with default density value and won't change if
the density is modified later.


Lin

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