[mesa-users] Extending MESA for mass-loss

Bill Paxton paxton at kitp.ucsb.edu
Wed Jul 27 13:58:41 EDT 2016


Hi, 

The arguments to other_wind include the current mass (in grams) along with L, R, and T.   

I suggest using s% time for age in seconds (the s% star_age variable is not updated until after the call on other_wind).

Good luck,

Bill





On Jul 27, 2016, at 10:38 AM, Farag, Ebraheem Khaled wrote:

> Hello all,
> 
>     I'm currently working to implement an exponential mass loss function as  implemented in the LANL Stellar Pulsation Codes.( The function can be seen in the attached image.)
> 
> I believe this can be done through extending MESA. My current idea is to modify the other_winds subroutine in run_star_extras.f, as to create function for the value of 'w'. One of my problems is that I don't know what variable in star_def to use for time and Solar mass at that given time. Do you think this is the best approach toward implementing mass loss in this form for a 1-1.15M solar evolution model of the sun, or is there a better approach? 
> 
> Thanks,
> 
> Ebraheem
> <mass_loss.png>------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are 
> consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
> reports.http://sdm.link/zohodev2dev_______________________________________________
> 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/20160727/8797a0a5/attachment.html>


More information about the Mesa-users mailing list