MESAHub / mesa

Modules for Experiments in Stellar Astrophysics
http://mesastar.org
GNU Lesser General Public License v2.1
138 stars 38 forks source link

CPM is broken since 15140 #425

Closed rjfarmer closed 1 year ago

rjfarmer commented 2 years ago

Appears to be related to the removal of lnpgas

evbauer commented 2 years ago

From Anne on slack: convcorecpm.pdf

rjfarmer commented 2 years ago

Do we have a test case that specify tests that the core grows with ledoux? That would a be helpful first step to make sure we keep this working (when we have a fix)

evbauer commented 2 years ago

Some notes that hopefully help clarify what's going on.

BucheleL commented 2 years ago

@annethoul Here's a rough draft of a test suite case to check this for the future. It uses the starting model from the MESA summer school lab and works similarly to the existing hb_2M test suite case. The insist specifies the range of convective core mass that is acceptable when the central H abundance is 0.5. The extras_after_evolve routine checks whether the model ends up in this range. The values currently given in the inlist were pulled from the plot shared by Evan in this thread. CPM_LEDOUX_test.tar.gz