[Mesa-users] Error in modelling for pp chain( ierr from write_star_job)

Piyush Kumar agogpiyush99 at gmail.com
Mon Jul 23 05:43:03 EDT 2018


Got it.

On Mon, Jul 23, 2018, 3:11 PM anne.thoul at uliege.be <anne.thoul at uliege.be>
wrote:

> Hi Piyush,
>
> I don’t understand your question. The values you want are in the
> history.data file, which is just a text file.
> You just need to read them in the file, using any program you usually use
> to do this kind of thing.
>
> Anne
>
>
> Le 23 juil. 2018 à 09:24, Piyush Kumar via Mesa-users <
> mesa-users at lists.mesastar.org> a écrit :
>
> Hello!!
> Is there any  other way to get the numerical values of the quantities at
> each model number from history.data file apart from manually noting all the
> values?
> Thanks!!
> Best,
> Piyush
>
> On 18-Jul-2018, at 12:29 AM, Jared Goldberg <goldberg at physics.ucsb.edu>
> wrote:
>
> Hello Piyush,
>
> Are you trying to study the relationship between the masses of different
> stars and their luminosities (and/or radius) on the main sequence?
>
> Or are you trying to study Luminosity as a function of mass *coordinate* inside
> a single star?  (How does luminosity change as you move throughout a single
> star?)
>
> The parameter initial_mass controls how massive a single stellar model is
> at the beginning of a MESA run. Typically, the mass of the model then only
> changes if you include some physics that would cause a change in mass, such
> as mass loss from a wind, or mass gain from accretion.
>
> Therefore, if you're trying to study the relationship between the masses
> of different stars and their luminosities, then you should make multiple
> models of different stars with different initial_mass (such as,
> initial_mass = 1, initial_mass = 2, initial_mass = 3, and so on, all in
> different MESA runs) and save their output in different locations (such as,
> LOGS_1M, LOGS_2M, LOGS_3M, and so on). Then, you can look in your history
> files for when the star is on the main sequence, and find the radius,
> luminosity, et cetera at that point in time. Remember -- a small star is
> not the same as the inner shells of a bigger star. Therefore you can't use
> the inside of a massive star to model a less massive star.
>
> On the other hand, if you're trying to study Luminosity as a function of
> the mass *coordinate* of a single star more massive than 10 Msun, then
> you are right to look at the different shells in a profile.
>
> In a profile, you are correct that each value on the mass x-axis is "a
> point in the star corresponding to a shell which contains that much mass
> inside it." In a history file, on the other hand, the 'mass' column is
> simply the total mass of the star at each timestep.
>
> Hope this helps!
>
> ~Jared
>
>
>
> On Tue, Jul 17, 2018 at 11:15 AM, Piyush Kumar via Mesa-users <
> mesa-users at lists.mesastar.org> wrote:
>
>> Hi!!
>> Suppose I want to study relation between mass of star and luminosity near
>> ZAMS, (ZAMS radii and luminosities).
>> So for e.g. I like to do this for mass range 1-10( in Msun units), then
>> is it right that all I need to do is take my initial_mass greater than or
>> equal to 10 for required result? (What I know about the mass x-axis is that
>> each value is a point in the star corresponding to a shell which contains
>> that much mass inside it.)
>> Thanks..
>> Best,
>> Piyush.
>>
>> On 16-Jul-2018, at 10:39 PM, Piyush Kumar via Mesa-users <
>> mesa-users at lists.mesastar.org> wrote:
>>
>> Thank you for the clarification.
>>
>> On Mon, Jul 16, 2018, 10:17 PM Josiah Schwab <jwschwab at ucsc.edu> wrote:
>>
>>> Hello Piyush,
>>>
>>> I recommend that you invest a little more time understanding the
>>> difference between MESA history and profile output.  The two key file types
>>> are history files, which store the value of scalar quantities (e.g. mass,
>>> luminosity) at different timesteps and profile files which store the value
>>> of spatially varying quantities (e.g. density, pressure) at a single
>>> timestep.  Correspondingly, the PGSTAR plots with "profile" in their name
>>> are for plotting profile data and the ones with "history" are for plotting
>>> history data.
>>>
>>> Josiah
>>>
>> _______________________________________________
>> mesa-users at lists.mesastar.org
>> https://lists.mesastar.org/mailman/listinfo/mesa-users
>>
>>
>>
>> _______________________________________________
>> mesa-users at lists.mesastar.org
>> https://lists.mesastar.org/mailman/listinfo/mesa-users
>>
>>
>>
> _______________________________________________
> mesa-users at lists.mesastar.org
> https://lists.mesastar.org/mailman/listinfo/mesa-users
>
>
> _______________________________________________
> mesa-users at lists.mesastar.org
> https://lists.mesastar.org/mailman/listinfo/mesa-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20180723/89f01ec3/attachment.html>


More information about the Mesa-users mailing list