mesa-users] Regarding the MESA EOS

Aaron Dotter aaron.dotter at gmail.com
Mon Feb 22 10:13:46 EST 2010


Hi Ricky,

Sorry I misunderstood; thanks for clarifying.  At present, we do not have
the capability to evaluate things like specific heats, ChiT, and ChiRho as
functions of Pgas rather than total P.  It is good to know that this is of
interest.  If you write some code to fulfill your needs, you are certainly
encouraged to share it with us!

Best wishes,
Aaron



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

>  Hi Aaron,
>
> I have noticed that with regards to the pressure, but it appears not to be
> the case for the internal energy, chiT, chiRho and Cv for example. I need
> these quantities as evaluated for the gas only.  In the code that I use,  I
> do not assume LTE and treat the radiation energy density and radiation
> pressure separately from the gas.
>
> Thanks for your input, and the additional info. I am keen on using the mesa
> routines, as it has all the top notch EOS in one place ...
>
> Ricky
>
>
> Aaron Dotter wrote:
>
> 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/abf52389/attachment.html>


More information about the Mesa-users mailing list