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

    Status: Open => Answered

Anton Gladky proposed the following answer:
Do you need to change a density during simulation?

Anton



On Tue, May 31, 2011 at 9:21 AM, Lin Zhang
<[email protected]> wrote:
> New question #159705 on Yade:
> https://answers.launchpad.net/yade/+question/159705
>
> hi,
> I found it kind of unreasonable about the mass calculation of body(sphere and 
> box). I don't know whether it have been posted. If yes, plz ignore this.
> I am trying to increase the timestep by assigning a large density to 
> particles, so-called density-scale. However, I found the mass of body won't 
> update when a new density assigned. Maybe it is a bug, at least unreasonable.
>
> As far as I found, the mass of body is calculated only in Shop.cpp, saying 
> only available in the initialize of body. So the calculated mass is right 
> only if the body is declared with given materials. Otherwise, it will be 
> calculated according to the default value(1000. in my current version) and 
> won't update even if you change the density.
>
> regards,
> Lin ZHANG
>
> --
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to     : [email protected]
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp
>

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

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to