yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #05440
Re: Triaxial total energy
>
> Looking at your script, I think there is a small mistake in terms you
> define : external work should be compared to
> total=elastic+kinetic+dissipated.
> Your script is including external work in total energy, it cannot show
> conservation.
>
I think we are saying the same. Total energy constant means that you can
always write the equilibrium equation, including the external work done on
the system. With care to the signs, of course. So thanks cause you remind me
I could be wrong in that sense and changing the sign of externalWork the
result looks better (attached).
> You'll see that I initialized total energy at 0 at the begining of
> compression.
>
BTW, Q. : how do you initialize to zero a variable you were storing in
plotData()? How to do it in python?
cheers. Chiara
Attachment:
Energy_2png.png
Description: PNG image
Follow ups
References