[Mesa-users] difficulty with custom mass loss

TUCHOW, NOAH WOLFE nxt5109 at psu.edu
Mon Jul 15 21:33:18 EDT 2019


Hello everyone,

I've been having a bit of difficulty trying to implement a custom mass loss rate for a main sequence star. I've started off simple, just slightly modifying the default work folder's inlists to make a 1 solar mass star losing mass with a mass loss rate given as a function of time. Since I want to specify a function for a custom mass loss mechanism, I have been trying to use the "other" hooks in run_star_extras to do so. However, I can't seem to get even the simplest example, a constant mass loss rate, working via run star extras. I made a simple subroutine called const_mdot, and I direct MESA to use it in extras_controls as an other_adjust_mdot. I am trying to set  s% star_mdot to be a value that I specify in the inlist, but, when I run MESA, I find that the mass of the star doesn't change at all.  I noticed that setting mass_change in the inlist controls does what I thought this would be doing, but I would eventually like to implement more complicated mass loss rates.

Am I not implementing mass loss in the correct manner? Should I not put my mass loss subroutine as an other_adjust_mdot, or is s% star_mdot not the right quantity to be modifying? I know there is an other_wind option, but I'm dealing with mass loss from other sources such as CMEs not only wind. I've attached my inlists and run_star_extras.f  which I've been using in MESA r10398.  How does one specify a custom mass loss rate in MESA?

Thanks,
Noah Tuchow

Noah Tuchow
Penn State University
Department of Astronomy and Astrophysics
532C Davey Lab
University Park, PA 16802

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20190716/63cdbe74/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inlist_project
Type: application/octet-stream
Size: 1515 bytes
Desc: inlist_project
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20190716/63cdbe74/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: run_star_extras.f
Type: application/octet-stream
Size: 15154 bytes
Desc: run_star_extras.f
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20190716/63cdbe74/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: history_columns.list
Type: application/octet-stream
Size: 38498 bytes
Desc: history_columns.list
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20190716/63cdbe74/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: profile_columns.list
Type: application/octet-stream
Size: 26008 bytes
Desc: profile_columns.list
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20190716/63cdbe74/attachment-0007.obj>


More information about the Mesa-users mailing list