← Back to team overview

yade-dev team mailing list archive

Re: [Bug 897237] Re: bug in neverErase?!

 

On 28 November 2011 16:15, Chareyre <897237@xxxxxxxxxxxxxxxxxx> wrote:

> >Christian should use a fixed time
>
> I'd say GSTS should work even in that case (provided it is the source of
> the crash), and it is not too difficult to fix.
> I'm not really sure PWave timestep is accurate for Hertz contact, is it?
>
I have used it without any problem so far in QS condition (and I have also
run tests for different time steps to check that the solution is truly not
time step dependent.) Besides that, a very similar definition is used by
many other authors (e.g. Thornton) with non linear contact models (e.g.
Hertzian law).
Chiara

>
> --
> You received this bug notification because you are a member of Yade
> developers, which is the registrant for Yade.
> https://bugs.launchpad.net/bugs/897237
>
> Title:
>  bug in neverErase?!
>
> Status in Yet Another Dynamic Engine:
>  New
>
> Bug description:
>  If I set neverErase=True Yade crashes with following output:
>
>  O.run(3000,True)
>  RuntimeError: std::exception
>
>  and also:
>
>  Traceback (most recent call last):
>    File "/home/me/YADE/YADE2970/lib/yade-bzr2970/py/yade/qt/__init__.py",
> line 192, in refreshEvent
>                                                     15:01:13
>      self.refreshValues()
>
>                                                     15:01:30
>    File "/home/me/YADE/YADE2970/lib/yade-bzr2970/py/yade/qt/__init__.py",
> line 265, in refreshValues
>                                                      15:01:34
>      s=int(t); ms=int(t*1000)%1000; us=int(t*1000000)%1000;
> ns=int(t*1000000000)%1000
>  ValueError: cannot convert float NaN to integer
>
>
>  You can reproduce the bug with the attached script (similar to the one i
> submitted with version 2960).
>  First try to set Law2_ScGeom_MindlinPhys_Mindlin(neverErase=False), this
> will work.
>  Then set neverErase=True and yade crashes.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/yade/+bug/897237/+subscriptions
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev
> Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev
> More help   : https://help.launchpad.net/ListHelp
>

-- 
You received this bug notification because you are a member of Yade
developers, which is the registrant for Yade.
https://bugs.launchpad.net/bugs/897237

Title:
  bug in neverErase?!

Status in Yet Another Dynamic Engine:
  New

Bug description:
  If I set neverErase=True Yade crashes with following output:

  O.run(3000,True)                                                                                                                                                                                             
  RuntimeError: std::exception 

  and also:

  Traceback (most recent call last):                                                                                                                                                                               
    File "/home/me/YADE/YADE2970/lib/yade-bzr2970/py/yade/qt/__init__.py", line 192, in refreshEvent                                                                                                       15:01:13
      self.refreshValues()                                                                                                                                                                                 15:01:30
    File "/home/me/YADE/YADE2970/lib/yade-bzr2970/py/yade/qt/__init__.py", line 265, in refreshValues                                                                                                      15:01:34
      s=int(t); ms=int(t*1000)%1000; us=int(t*1000000)%1000; ns=int(t*1000000000)%1000                                                                                                                             
  ValueError: cannot convert float NaN to integer  

  
  You can reproduce the bug with the attached script (similar to the one i submitted with version 2960).
  First try to set Law2_ScGeom_MindlinPhys_Mindlin(neverErase=False), this will work.
  Then set neverErase=True and yade crashes.

To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/897237/+subscriptions


References