yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #02963
Re: Energy dissipation + radius of fictious "box" sphere is now =r (not 2*r)
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)
You can use it like any other function from shop. Not sure about the
syntax now, and I need to ruuuun! Sorry.
Bruno
Follow ups
References
-
Energy dissipation
From: chiara modenese, 2010-04-20
-
Re: Energy dissipation
From: Václav Šmilauer, 2010-04-21
-
Re: Energy dissipation
From: Bruno Chareyre, 2010-04-21
-
Re: Energy dissipation
From: Václav Šmilauer, 2010-04-21
-
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