[FLASH-USERS] update of total energy

Sean Couch smc at flash.uchicago.edu
Wed Aug 7 11:45:03 EDT 2013


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.

Sean


--------------------------------------------------------
Sean M. Couch, Ph.D.
Hubble Fellow
Flash Center for Computational Science
Department of Astronomy & Astrophysics
The University of Chicago
5747 S Ellis Ave, Jo 315
Chicago, IL  60637
(773) 702-3899
www.flash.uchicago.edu/~smc



On Aug 7, 2013, at 10:39 AM, Daniel Seifried <dseifried at hs.uni-hamburg.de> wrote:

> Dear all,
> 
> I have a general question about the consistency between the total energy
> (ENER_VAR), the internal energy (EINT_VAR) and the kinetic energy
> calculated from the three velocity components.
> 
> I know that calling Eos_wrapped(some_mode) assures that pressure,
> temperature and internal energy are consistent. However, as far as I can
> see it does not affect the total energy, so that there might be a
> difference between the total energy and the sum of the kinetic energy
> and the (updated) thermal energy.
> 
> So my question is: do I have to update the total energy manually every
> time the internal energy is changed or is this done somewhere else? If
> not, it would probably be good to include this in Eos_wrapped (or some
> follow-up routine)
> 
> Best,
> 
> Daniel Seifried

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20130807/6a8c0d5d/attachment.htm>


More information about the flash-users mailing list