[Mesa-users] Internal energy profile

Josiah Schwab jwschwab at ucsc.edu
Wed Sep 2 13:47:09 EDT 2020


Hi Luke

Also, I just want to confirm something: the MESA tabular EoS (or maybe just
> the OPAL part of the tables?) includes the radiation energy density, and
> assumes this to be given by Erad=aT^4 with a the radiation constant, but
> the radiation pressure is not included at all in the EoS tables. Rather
> Prad is added separately by MESA and the P in the tables is the gas
> pressure only. Is this correct? If I wanted to remove the radiation energy
> from the tables, would I just subtract aT^4/rho from the specific internal
> energy?
>

The eos result value for lnE does include the radiation energy density and
the result for lnPgas does not include radiation pressure (independent of
which component eos you're on).  So yes, if you need just the gas part of
the energy you can get it by subtracting off aT^4/rho.

Josiah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20200902/cab1dc55/attachment.htm>


More information about the Mesa-users mailing list