[mesa-users] Modify criterion for onset of convection

Chris Mankovich cmankovich at ucsc.edu
Mon Feb 29 12:09:27 EST 2016

Hi Lewis,

It looks like you have all the pieces in place.  The guts of the MLT code
are in the subroutine Get_results, where at some point diff_grads = gradr -
gradL is calculated, and this is the quantity used in the stability
criterion part of the code. This is what you want to adjust.

It might be important for you to note that if use_Ledoux_criterion ==
.false., then these routines see gradL_composition_term = zero so that
gradL just reduces to grad_ad.


On Mon, Feb 29, 2016 at 5:31 AM, Ireland, Lewis <lgi201 at exeter.ac.uk> wrote:

> Hello,
> I wish to modify the Schwarzschild criterion for the onset of convection,
> i.e. nabla > nabla_ad, by replacing it with, nabla > nabla_ad + delta,
> where delta can be user inputted constant, thus affecting the
> superadiabatic profile of the model. I was following tutorials from the
> MESA summer school 2014, covering how to modify the standard convection
> prescription both inside and outside mlt_eval(), but I’m not sure that
> these can help me with the modifications I wish to make, as the tutorials
> stop before covering how to implement your own prescription of MLT.
> I know it should be analogous to how your implementation of Ledoux
> criterion works, but it isn’t clear yet how to go about this. I have
> attached my run_star_extras.f, which as it stands includes other_mlt()
> (renamed to my_other_mlt()), mlt_eval() and do_mlt_eval().
> Thank you,
> Lewis
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20160229/aaab25f5/attachment.html>

More information about the Mesa-users mailing list