[Mesa-users] Star Mass Loss Question

Isaac Malsky isaacmalsky at uchicago.edu
Sun Aug 27 16:51:32 EDT 2017


I was hoping to ask if anyone had a suggestion on how to modify the mass of
a small star in a particular way so that the model loses hydrogen and
helium in specific ways. I've written a hook in run_star_extras that
determines how much mass for each element should be lost, but I'm unsure of
how to modify the parameter in star_data.inc. Should I use something like

s% star_mass_h1 = star_mass_h1 - escape_h1

Similar to %s mstar_dot = blank_variable?

I'd greatly appreciate any help/advice. This is all in the adjust_mdot and
mass_loss subroutine.

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

More information about the Mesa-users mailing list