← Back to team overview

yade-dev team mailing list archive

Re: velocity==NaN!

 

On 26 August 2010 13:25, Bruno Chareyre <bruno.chareyre@xxxxxxxxxxx> wrote:

>  I bet on contact law returning nan value (division by 0, or something like
> that).
> Then velocity is NaN when this force is integrated.
>
You win the bet, sorry. After a day of debugging, I realized I was returning
a negative tangential stiff, and this was causing the problem with contact
damping. Thxs for suggestions anyway. I see from the mail archive that Janek
had some problems with Nan values (unrelated to my question at this point),
have you fixed them?
Cheers, Chiara

>
> Cheers.
>
> Bruno
>
>
> On 25/08/10 20:12, chiara modenese wrote:
>
> Hi all,
>
> what are the reasons for which one should get the following message from a
> simulation?
>
> 9088  FATAL yade.ThreadRunner
> /home/chia/Documents/yade-r2394-psd2/core/ThreadRunner.cpp:31 run: Exception
> occured:
> Body #5653 has velocity==NaN!
>
> In my case it happens right after I launch a triaxial test (I am only doing
> few small changes in my contact law, I do not think they are related to this
> problem) but I would not know how to circumscribe the problem. Any
> suggestions?
>
> Thanks, Chiara
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev <https://launchpad.net/%7Eyade-dev>
>
> Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev <https://launchpad.net/%7Eyade-dev>
> More help   : https://help.launchpad.net/ListHelp
>
>
>
> --
> _______________
> Bruno Chareyre
> Associate Professor
> ENSE³ - Grenoble INP
> Lab. 3SR
> BP 53 - 38041, Grenoble cedex 9 - France
> Tél : +33 4 56 52 86 21
> Fax : +33 4 76 82 70 43
> ________________
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References