yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #02965
Re: Energy dissipation + radius of fictious "box" sphere is now =r (not 2*r)
On 3 May 2010 18:33, chiara modenese <c.modenese@xxxxxxxxx> wrote:
>
>
> On 3 May 2010 18:30, Bruno Chareyre <bruno.chareyre@xxxxxxxxxxx> wrote:
>
>>
>>
>> chiara modenese a écrit :
>>
>>
>>>
>>> On 21 April 2010 18:23, Bruno Chareyre <bruno.chareyre@xxxxxxxxxxx<mailto:
>>> bruno.chareyre@xxxxxxxxxxx>> wrote:
>>>
>>> It is commited now (r2170). I've put the symmetric IGeom for
>>> box-sphere in this commit as well (removed the "2" factor).
>>> I didn't test energy tracing at all yet. Any feedback is welcome.
>>>
>>>
>>> Hi Bruno,
>>>
>>> I'd like to monitor the elastic energy of the system with the basic
>>> contact law, how can I call the function you wrote in your contact law per
>>> each time step? Can I do that in py?
>>>
>> In python, you just have to use
>> Law2_ScGeom_FrictPhys_Basic::elasticEnergy().
>> O.engines[x].elasticEnergy()
>>
>> or if this one doesn't work :
>>
>> e=O.engines[x]//or using labels
>> e.elasticEnergy()
>>
>>
>> Btw, do we have in function that get the kinetic energy of the system?
>>>
>> This one is in shop : static Real kineticEnergy(Scene* _rb=NULL)
>>
> Hi,
the function is implemented in Shop class, but I cannot say how to access it
through py atm. In fact it is just not wrapped..
> You can use it like any other function from shop. Not sure about the syntax
>> now, and I need to ruuuun! Sorry.
>
>
> It is ok, thanks!
>
>
>>
>>
>> Bruno
>>
>>
>> _______________________________________________
>> 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
>>
>
>
Follow ups
References
-
Energy dissipation
From: chiara modenese, 2010-04-20
-
Re: Energy dissipation
From: Bruno Chareyre, 2010-04-21
-
Re: Energy dissipation
From: chiara modenese, 2010-04-21
-
Re: Energy dissipation
From: chiara modenese, 2010-04-21
-
Re: Energy dissipation
From: Bruno Chareyre, 2010-04-21
-
Re: Energy dissipation
From: chiara modenese, 2010-04-21
-
Re: Energy dissipation + radius of fictious "box" sphere is now =r (not 2*r)
From: Bruno Chareyre, 2010-04-21
-
Re: Energy dissipation + radius of fictious "box" sphere is now =r (not 2*r)
From: chiara modenese, 2010-05-03
-
Re: Energy dissipation + radius of fictious "box" sphere is now =r (not 2*r)
From: Bruno Chareyre, 2010-05-03
-
Re: Energy dissipation + radius of fictious "box" sphere is now =r (not 2*r)
From: chiara modenese, 2010-05-03