[Mesa-users] Pgstar Kippenhahn diagram log M vs log R

Nicholas Herrington up813350 at myport.ac.uk
Tue Dec 29 11:02:06 EST 2020


Hi Rob

Thanks for the reply, I will have a look into your python package. I tried using pythons fill_between feature with the history values conv_mx1_top_r, conv_mx1_bot_r, conv_mx2_top_r and conv_mx2_bot_r at each mass value to replicate the plot I sent previously (specifically the 1 Msun/yr panel in the subplot). I get similar features but I get these streaks between convective (blue) or mixing regions (pink). Is this possibly a python issue or do you think I should try another approach? 

Hope everyone had a good Christmas
Nick


> On 18 Dec 2020, at 14:16, Rob Farmer <r.j.farmer at uva.nl> wrote:
> 
> Hi,
> No the pgstar kippenhan only works with the star's age as the xaxis (though the one you show is also showing a time based quantity as your star is gaining mass) and mass as the y axis.
> 
> MESA can output the data needed to do a radial kippenhan if you include:
> mix_relr_regions 20
> burn_relr_regions 20
> 
> in your history output. The pgstar's kippenhan plotter can not use that data but you could try my python package https://github.com/rjfarmer/mesaplot <https://github.com/rjfarmer/mesaplot> which can.
> 
> import mesaPlot as mp
> m=mp.MESA()
> m.loadHistory()
> p=mp.plot()
> p.plotKip3(m,xaxis='star_age',yaxis='radius',age_log=True,y1log=True)
> 
> Should work to give log age vs log radius
> 
> Rob
> 
> 
> On Fri, 18 Dec 2020 at 14:23, Nicholas Herrington via Mesa-users <mesa-users at lists.mesastar.org <mailto:mesa-users at lists.mesastar.org>> wrote:
> Hi mesa-users,
> 
> Is it possible to set the y axis to log radius and x axis to log Mass for a Kippenhahn diagram in my pgstar inlist? I am modelling some supermassive Pop III stars that start at 10 Msun and reach 10^5 Msun and I am looking to produce a pgstar diagram similar to one of panels from this subplot (https://ui.adsabs.harvard.edu/abs/2018MNRAS.474.2757H/abstract <https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fui.adsabs.harvard.edu%2Fabs%2F2018MNRAS.474.2757H%2Fabstract&data=04%7C01%7Cr.j.farmer%40uva.nl%7Cb2e41e67251f4ea4fd8108d8a35841de%7Ca0f1cacd618c4403b94576fb3d6874e5%7C1%7C0%7C637438946753072810%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ixailRbDZKMKqlVEHj0DZqvbuQYJRNDdEE9H6gVopP4%3D&reserved=0> figure 2),
> 
> 
> 
> Thanks
> Nick

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20201229/66f2ddd1/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kipp_test_interval=1.png
Type: image/png
Size: 38270 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20201229/66f2ddd1/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-1.png
Type: image/png
Size: 283310 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20201229/66f2ddd1/attachment-0001.png>


More information about the Mesa-users mailing list