← Back to team overview

yade-users team mailing list archive

Re: Are our systems conservatives?

 

On 7 May 2010 16:49, Bruno Chareyre <bruno.chareyre@xxxxxxxxxxx> wrote:

>
>
>> So, you need in fact to __substract__ accel*dt/2, and you will get at time
>> "t" the energy of time "t-dt". Sorry if I wrote something different in
>> previous mails.
>>
> Not sure it was a good idea, since nobody will understand why kineticEnergy
> computed a time t refers to time t-dt.
>
yes, I agree.


> The best is to keep your +dt/2 correction, and make the shift in
> post_processing, keeping in mind that the elastic energy you compute at time
> t refers to time t-dt (in that case we have no choice, forces(t) are not yet
> defined when Yade is at time t).
>
>
> Bruno
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> More help   : https://help.launchpad.net/ListHelp
>

References