← Back to team overview

yade-users team mailing list archive

Re: [Question #285535]: Keeping track of internal energy in the Law2_ScGeom6D_CohFrictPhys_CohesionMoment contact law

 

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

Jan Stránský proposed the following answer:
Hi Tijan,


> So if I understand correctly,  it is only possible to follow
> the elastic energy of the contact (normal, shear, bending and twisting)
> by applying this type of energy tracking? I'm a bit puzzled by the fact
> that there is a switch in the contact law to turn on shear energy
> dissipation (traceEnergy=True), but there seems to be no function to
> record the this shear dissipation in the contact law.


To get the dissipation energy, you have to define O.trackEnergy=True. Then,
instead of law.plasticDissipation do O.energy['shearDissip'],
O.energy['bendingDissip'] and O.energy['twistDissip']

These information I got from the source code, maybe the documentation could
be a bit more explanatory..


> I also can't seem
> to find any function in this contact law to record kinetic energy. Is
> the O.energy the only way to follow friction dissipation and kinetic
> energy?
>

kinetic energy is independent on material model, so utils.kineticEnergy()
is used (or just kineticEnergy() as in your example, no
law.kineticEnergy..). Or you can do O.trackEnergy=True and
O.energy['kinetic'], you should get the same results.

cheers
Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.