yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #04011
Re: [Yade-users] Python script : i.phys=NoneType ??
On 15 April 2010 15:57, Jerome Duriez <jerome.duriez@xxxxxxxxxxxxxxx> wrote:
>
>
> Václav Šmilauer a écrit :
>
> Spheres have exactly 0 contact, so then you get in finite precision
>> numerics as to whether the contact will be real in the first step (which
>> is not, obviously). So they might not be in contact until you move them.
>>
>>
> Indeed. After few iterations with movement, it works. It was just a matter
> of luck with finite precision numerics that it worked in mindlin_test ?
>
> BTW2: you can specifu multiple plots at once, like
>>
>> plots.plots={'step':('un',),'un':('Normfn',)}
>>
>>
> I do not succeed in obtaining more than 2 figures : with
> plot.plots={'step':('Normfn',),'un':('Normfn',),'step':('un',),} for
> example. Is it normal ??
>
If you want the same variable (un in your case) in a different plot, you
will have to store it again (like un_) in the function you run with
PyPeriodicRunner. I do not remember exactly why (Vaclav will tell you) but
in this way it works.
cheers, Chiara
>
> Thanks a lot for your help and your remarks !!!
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> Post to : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> More help : https://help.launchpad.net/ListHelp
>