[Mesa-users] Evolution simulation questions

Adam Jermyn adamjermyn at gmail.com
Thu Aug 29 00:28:28 EDT 2019


You need to write your routine in a run_star_extras file. For details on how to do this you might check out this tutorial:
https://jschwab.github.io/mesa-2019/

-Adam
On Aug 28, 2019, 8:55 PM -0700, Croxmor Moraga <rodrigo.moraga.merino at gmail.com>, wrote:
> I found it, but the place where you said that I can write my own version of the equation, is in the same winds.f90 ?
> Or I must write it in the other function you mentioned, and if it does, where is positioned that programm?
>
> > El mié., 28 ago. 2019 a las 18:04, Croxmor Moraga (<rodrigo.moraga.merino at gmail.com>) escribió:
> > > Thanks, I will check it out.
> > >
> > > > El mié., 28 ago. 2019 17:32, Adam Jermyn <adamjermyn at gmail.com> escribió:
> > > > > Hi Croxmor,
> > > > >
> > > > > You can find the answer to this by looking in MESA_DIR/star/private/winds.f90, which I found by grep'ing for 'Reimers' through star/private. In there you'll see a function called eval_wind_for_scheme. Following the logic, the wind gets set as
> > > > >
> > > > >                 wind = 4d-13*(L1*R1/M1)/(Lsun*Rsun/Msun) ! in Msun/year
> > > > >
> > > > > Following this, if you've set the scheme to 'Reimers', it just gets multiplied by a scale-factor called Reimers_scaling_factor, which you can set in the controls section of your inlist.
> > > > >
> > > > > If you want to modify the wind prescription I'd recommend using the other_wind hook in run_star_extras. That will let you write your own prescription.
> > > > >
> > > > > Cheers,
> > > > > -Adam
> > > > >
> > > > >
> > > > > > On Wed, Aug 28, 2019 at 2:25 PM Croxmor Moraga via Mesa-users <mesa-users at lists.mesastar.org> wrote:
> > > > > > > Greetings developers comunity.
> > > > > > > You will see, the thing is that I am trying to simulate a red giant star in order the study the mass loss process, following the reimers equations, which is included between the parameters of MESA. But as it was redifined by Schröder and  Cuntz; for this process.
> > > > > > > I want to study if the presence of the red giant magnetic field, manifested in MHD turbulences from subsurface convection zones which dissipates and escape throught magnetic flux within the cool stellar winds; as it was suggested by Cramer and Saar.
> > > > > > > I want to know :in which version of the reimers equation is based the standard mass loss relation used by MESA, and if is not the one I want to use, how can I modify that equation in my version of MESA, to use it in my simulations?
> > > > > > >
> > > > > > > From beforehand: Thank you and good afternoon.
> > > > > > > _______________________________________________
> > > > > > > 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/20190828/6e830c8b/attachment.html>


More information about the Mesa-users mailing list