[mesa-users] relax_initial_composition

Mike Montgomery mikemon at astro.as.utexas.edu
Tue Apr 29 17:03:25 EDT 2014


Hi Josiah,

On Apr 29, 2014, at 10:50 AM, Josiah Schwab <jwschwab at berkeley.edu> wrote:

> Hi Mike,
> 
> ... snipped 51 lines ...
> 
>> So, I have 8 species, and the composition is defined in 234 shells, from the center to the surface. Labeling the columns, I have
>> 
>>  1. - M(r)/Mstar         h1                 he3              he4               c12             n14             o16              ne20           mg24
>> 1.000000000000 0.00000000 0.00000000 0.00000000 0.50000000 0.00000000 0.50000000 0.00000000 0.00000000
>> 0.999995394800 0.00000000 0.00000000 0.00000000 0.50000000 0.00000000 0.50000000 0.00000000 0.00000000
>> 0.999988487100 0.00000000 0.00000000 0.00000000 0.50000000 0.00000000 0.50000000 0.00000000 0.00000000
>> etc.
>> 
>> So, Mesa is acting as if the h1 column has 1.000 everywhere and the other columns have zeros everywhere. 
>> 
>> Does anything leap out at anybody about what I might be doing wrong?
> 
> Can you try reordering the lines in the file so that 1-M(r)/Mstar
> increases monotonically?  (So just reverse the order of the lines.)

Yep, that fixed it! It works like a charm now! I should have thought of that...

And concerning your follow-up email:

> Which MESA version are you using?  Someone noticed this error during the
> MESA summer school last year.  For some reason, I thought I fixed it,
> but if you're using a recent version, then I clearly forgot...


I’m using a recent version of MESA, 6208.

Thanks again!

Mike
_____________________________________

Michael Houston Montgomery
Department of Astronomy
University of Texas
email:  mikemon at astro.as.utexas.edu
www.as.utexas.edu/~mikemon/
_____________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20140429/99a62c9c/attachment.html>


More information about the Mesa-users mailing list