<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">No. If you look at Eos_getData.F90 and Eos_putData.F90, the total energy is re-calculated as the sum of internal and kinetic energies at the end of every EOS call.<div><br></div><div>Sean</div><div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; border-collapse: separate; border-spacing: 0px; -webkit-text-decorations-in-effect: none; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br class="Apple-interchange-newline">--------------------------------------------------------</div><div>Sean M. Couch, Ph.D.</div><div>Hubble Fellow</div><div>Flash Center for Computational Science</div><div>Department of Astronomy & Astrophysics</div><div>The University of Chicago</div><div>5747 S Ellis Ave, Jo 315</div><div>Chicago, IL 60637</div><div>(773) 702-3899</div><div><a href="http://www.flash.uchicago.edu/~smc">www.flash.uchicago.edu/~smc</a></div><div><br></div></div></span></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On Aug 7, 2013, at 10:39 AM, Daniel Seifried <<a href="mailto:dseifried@hs.uni-hamburg.de">dseifried@hs.uni-hamburg.de</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Dear all,<br><br>I have a general question about the consistency between the total energy<br>(ENER_VAR), the internal energy (EINT_VAR) and the kinetic energy<br>calculated from the three velocity components.<br><br>I know that calling Eos_wrapped(some_mode) assures that pressure,<br>temperature and internal energy are consistent. However, as far as I can<br>see it does not affect the total energy, so that there might be a<br>difference between the total energy and the sum of the kinetic energy<br>and the (updated) thermal energy.<br><br>So my question is: do I have to update the total energy manually every<br>time the internal energy is changed or is this done somewhere else? If<br>not, it would probably be good to include this in Eos_wrapped (or some<br>follow-up routine)<br><br>Best,<br><br>Daniel Seifried<br></blockquote></div><br></div></body></html>