mesa-users] Regarding the MESA EOS

Aaron Dotter aaron.dotter at gmail.com
Mon Feb 22 09:51:29 EST 2010


Hi Ricky,

Actually, the eos module works with Pgas, see mesa/eos/public/eos_def.f for
a list of variables that it works with.

So, for example, the eos call that returns P(Rho,T) = eosDT_get actually
returns Pgas.  See also mesa/eos/public/eos_lib.f for a list of different
eos subroutines.  A function called Radiation_Pressure(T) is included in
eos_lib as a convenience.

Best wishes,
Aaron




On Mon, Feb 22, 2010 at 1:25 AM, Ricky Olivier <olivier at saao.ac.za> wrote:

> Hi,
>
> I am interested in using the MESA EOS and Opacity modules for use with
> my stellar pulsation code. As such, I have been poking around the MESA
> source files, and hacked the sample_eos.f source file to generate EOS
> tables in the format I need. However, it seems the MESA EOS routines
> automatically add the contribution due to radiation  into the
> thermodynamic variables. I could easily subtract the contribution to
> radiation out, but is there a way of switching it off inside MESA? I
> treat  radiation separately from the gas in the code I use.
>
> Can anyone help me with this?
>
> Regards,
> Ricky
>
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20100222/c7194c51/attachment.html>


More information about the Mesa-users mailing list