[Mesa-users] Select envelope zones only in a model
Matheus Bernini
matheus.b.peron at gmail.com
Tue Jul 16 07:55:24 EDT 2019
Oops, I'm sorry I wasn't clear.
What I really I want is to multiply the Mdot by a factor of 2 when any cell
of the envelope reaches super-eddington luminosity. So, I need to evaluate
this condition during runtime. I would implement this in the other_wind
hook.
Cheers
Em ter, 16 de jul de 2019 às 00:10, Bill Wolf <wmwolf at asu.edu> escreveu:
> Hi Matheus,
>
> I don't think you've given enough information for us to help you. Do you
> just want to investigate this property after a run? You can enable the
> profile column log_L_div_Ledd. Then you can filter out cells from the
> surface down to where eps_nuc is above some threshold value above which you
> call it "burning".
>
> If you need to do something with this data at runtime, then how you
> approach this problem will depend on what hook you are trying to use, since
> we can't be sure what values are set at the time you are trying to access
> the data. That is, what function/subroutine are you trying to do analysis
> in?
>
> Regards,
>
> Bill
>
>
> From: Matheus Bernini via Mesa-users <mesa-users at lists.mesastar.org>
> <mesa-users at lists.mesastar.org>
> Reply: Matheus Bernini <matheus.b.peron at gmail.com>
> <matheus.b.peron at gmail.com>
> Date: July 15, 2019 at 5:13:50 PM
> To: mesa-users <mesa-users at lists.mesastar.org>
> <mesa-users at lists.mesastar.org>
> Subject: [Mesa-users] Select envelope zones only in a model
>
> Hello everyone,
>
> My name is Matheus, I'm an undergraduate student and I'm using MESA
> (r9575) to study the evolution of massive stars.
>
> I'm looking for the luminosity at each zone from the envelope *(assuming
> the envelope is the outermost part of the star which has no element
> burning)* and testing whether these luminosity are larger or not than
> Eddington's luminosity.
>
> Since I don't want to test the super-Edd luminosity throughout all the
> zones, my question is how can I select only envelope zones using the
> star_data.inc variables (I intend to program this at the
> run_star_extras.f90).
>
> Thanks!
> _______________________________________________
> 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/20190716/306f169f/attachment.html>
More information about the Mesa-users
mailing list