[Mesa-users] Mass loss equations for different periods
Aaron Dotter
aaron.dotter at gmail.com
Sun Sep 13 10:17:39 EDT 2020
Hi Rodrigo,
You didn't say so but I suppose you already have an "other_wind"
implementation. You can access anything in the star_info pointer from
within your other_wind routine, see here for details on how to do this.
http://mesa.sourceforge.net/run_star_extras.html
This would allow you to create a test to determine whether the star is
before or after the RGB bump. Once you have that test, you can use it to
switch between two different winds. E.g., inside an "if -else" block.
Cheers,
Aaron
On Fri, Sep 11, 2020 at 11:07 PM Croxmor Moraga via Mesa-users <
mesa-users at lists.mesastar.org> wrote:
> Greetings Mesa Users. I hope everyone is okay in these times.
> I want to ask about the mass loss equation, the thing is that for some
> test I want to do using mesa, I want to improve the known Mass loss
> equation made by Reimers, and promoted and fixed by other astronomers like
> Schroder & Cuntz and Cranmer and Saar y adding more terms into the
> equation. I had already written my own version of the mass loss equation
> and implemented it in my previous test models.
> But the thing is that now I want to make 2 equations, and to made it so
> that the first one is used in the model, until the model star has reached a
> certain phase in it's ascension through the rgb phase, more specifically at
> the rgb bump, and after that to deactivate the first equation and begin to
> use the second one onward to the end of the model run.
> How can I rewrite the run_star_extras.f archive so the model is able to do
> what I need to do?
> From before hand, thank you for your help and cooperation Mesa community.
> Atte. Rodrigo Moraga.
> _______________________________________________
> 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/20200913/db1eb5c5/attachment.htm>
More information about the Mesa-users
mailing list