← Back to team overview

yade-dev team mailing list archive

Re: velocity==NaN!

 

chiara modenese said:     (by the date of Thu, 26 Aug 2010 16:27:50 +0100)

> 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

no, I didn't. I suppose that I'll have to look at that now, when I'm
back from summer vacation.

-- 
Janek Kozicki                               http://janek.kozicki.pl/  |



References