From: Aaron D. <aar...@gm...> - 2010-02-22 14:51:36
|
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 <ol...@sa...> 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 > mes...@li... > https://lists.sourceforge.net/lists/listinfo/mesa-users > |