yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #05423
Re: NaN velocity
-
To:
yade-dev@xxxxxxxxxxxxxxxxxxx
-
From:
Janek Kozicki <janek_listy@xxxxx>
-
Date:
Fri, 16 Jul 2010 12:49:01 +0200
-
Face:
iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAALVBMVEUBAQEtLS1KSkpRUVFXV1dYWFhjY2Nzc3N3d3eHh4eKioqdnZ24uLjLy8vc3NxVIagyAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH2AIVEzgS1fgQtQAAAjRJREFUOMtt1DFv00AUAOAzFQNbjigSyoQaRaBMhKgLUyKXpVNNeUpk9vyDqFJhQ1kiBuaqAwJCqvPtSLY7RlTn5+5IdnYkkt/AOyfxXVLe5vf53Z1875kd34tOEax8djmj6GyjhB5bxz50GdsVZr9fqRjZwAtKOJw5Wqs2MMZ16ALHsaDncF7xAHix1oEFHAB8f+pRjcO4gfZDykcYzbiucRolOLUJ6kjA0xtVt+A6TySlM0RajIpK6DzwKZ/nOYbF/gclHMo1ZOHYY/+Ha+AWuM+3oMS4eeqYzZ8FiCltgUqI8cd2wwAVpJk+8LWYjBtnJdQpHQqJMd4Oxt4bU9ESiFGc5hkqaH74asAX4iabP5I5gZ+qjgGlJCqZa3h3lxhoeVcSE1qLQC4sqKOK9MGW9E3izFqqHokoztLFEgXg31sbZEKnWi2T74A4NxfVQqlkjKtcAWD+zcArFEES01dR0E/nnV0IgugmDd/2L84sOAouRBBHEc7gtc8teDkRlE0iNQPo2w3Xhh/D4TCIQ4LRLoTvgwjj6RRgavdurxYGMaIuGOyAW/PpNlCcU9/93AHenAWYjPoAwa+G3e3to/MgFNTAEKvKDjzuCzHTnY3qqdXtx24VijzQfZ0yewZ5cwRFQaa+mIYr1uI0I76+3W4xhlvoVRwOA0Fdl64HlJnxP6T8YpX/Lga4Wv4A3ErrU5oTfN7Mu/llXMl8RXEPji/lQkN3H7qXqgC2By47EXeU/7PJ/wPxRKMnuZwIeAAAAABJRU5ErkJggg==
-
In-reply-to:
<20100715154026.35b4388e@atak.bl.pg.gda.pl>
I will look at that next week, when I'm back from COSPAR 2010
conference on 26.07. I hope to find the reason for those recently
occurring unexpected NaNs.
Janek Kozicki said: (by the date of Thu, 15 Jul 2010 15:40:26 +0200)
> I wonder if this can be related to problems with O.load(), because
> here I am NOT using O.load. I am only generating a new sample using
> somewhat more complex method, including a call to O.reset().
>
> I am attaching a stripped down script, but still a bit complex.
>
> After I run that script, in the end I can get a following thing in python:
>
> Yade [1]: O.bodies[0].state.dict()
> -> [1]:
> {'accel': Vector3(0,0,0),
> 'angAccel': Vector3(0,0,0),
> 'angMom': Vector3(0,0,0),
> 'angVel': Vector3(0,0,0),
> 'blockedDOFs': 0,
> 'inertia': Vector3(1.680768072756119e-10,1.680768072756119e-10,1.680768072756119e-10),
> 'mass': 9.7475048955972981e-05,
> 'refOri': Quaternion((1,0,0),0),
> 'refPos': Vector3(0.046777726741579144,0.064726888517427708,0.060929861505333097),
> 'se3': (Vector3(0.046777726741579144,0.064726888517427708,0.060929861505333097),
> Quaternion((1,0,0),0)),
> 'vel': Vector3(0,0,0)}
>
> Yade [2]: O.run()
> Yade [3]: 48474 FATAL yade.ThreadRunner /home/janek/20-Programowanie/10-cpp/50-Yade/Code/HEAD/trunk/core/ThreadRunner.cpp:31 run: Exception occured:
> Body #0 has velocity==NaN!
>
>
> Now - I have just checked that velocity is 0,0,0. And for some reason
> it is NaN. why?
>
> --
> Janek Kozicki http://janek.kozicki.pl/ |
--
Janek Kozicki http://janek.kozicki.pl/ |
Follow ups
References