← Back to team overview

yade-users team mailing list archive

Re: [Question #185098]: InteractionLocator.macroAroundPt module

 

Question #185098 on Yade changed:
https://answers.launchpad.net/yade/+question/185098

    Status: Open => Answered

Jan Stránský proposed the following answer:
The problem is, that at the time of InteractionLocator construction, you
have no interactions present in the simulation. Try to place the command
to the time, where you have some. Also attach your script, so we can
advise a correct location to place the line.

Jan

Rinaldi Giuseppe píše v Čt 19. 01. 2012 v 11:25 +0000:
> Question #185098 on Yade changed:
> https://answers.launchpad.net/yade/+question/185098
> 
>     Status: Answered => Open
> 
> Rinaldi Giuseppe is still having a problem:
> Hi Strànsky ,
> 
> if I do so I get the following:
> 
> Yade [1]: ---------------------------------------------------------------------------
> RuntimeError                              Traceback (most recent call last)
> 
> 
> /usr/lib/yade-daily/py/yade/__init__.pyc in <module>()
> ----> 1 
>       2 
>       3 
>       4 
>       5 
> 
> /usr/lib/yade-daily/py/yade/__init__.pyc in saveData()
>     142         damping=contactLaw.normDampDissip  # viscous damping
>     143 
> --> 144         locator = eudoxos.InteractionLocator()
>     145         pointstress = locator.macroAroundPt((0.00001,0.00001,0.00001),0.00001,[-1])
>     146 
> 
> RuntimeError: Zero interactions when constructing InteractionLocator!
>

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.