Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add new rotating 40Msun to cc test_suite for testing #755

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -130,6 +130,7 @@ star/test_suite/wd_stable_h_burn @wmwolf

star/test_suite/12M_pre_ms_to_core_collapse @Debraheem @aurimontem
star/test_suite/20M_pre_ms_to_core_collapse @Debraheem @aurimontem
star/test_suite/40M_rotating_pre_ms_to_core_collapse @Debraheem @mathren
star/test_suite/split_burn_big_net
star/test_suite/zams_to_cc_80 @Debraheem
star/test_suite/20M_z2m2_high_rotation
44 changes: 44 additions & 0 deletions star/test_suite/40M_rotating_pre_ms_to_core_collapse/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
.. _40M_rotating_pre_ms_to_core_collapse:

***************************
40M_rotating_pre_ms_to_core_collapse
***************************

This test suite evolves a Z=10^-3, 40 |MSun| model from the pre-ms to core collapse.
For bit for bit convergence, we recomended to run by using the ./run_all script instead of restarting from models,
see https://github.com/MESAHub/mesa/issues/610.

This test_suite has been tested up to 80 solar masses, up to solar metallicity, with mass loss, and produces reasonable HR-tracks.
Note that for higher masses at solar metallicity, some combination of Pextra_factor, mass-loss, and/or superadiabatic convection reduction (e.g. mlt++)
might be necessary to stabilize the surface and avoid numerical issues. See the 80Msun_zams_to_cc test_suite as an example.

For production science we recommend adopting tighter mesh and timestep controls, such as those suggested in the comments of inlist_common.

Physical checks
===============

None

Inlists
=======

This test case has seven parts.

* Part 1 (``inlist_make_late_pre_zams``) creates a 40 |Msun|, Z=10^-3 metallicity, pre-main sequence model and evolves it for 100 years.

* Part 2 (``inlist_to_zams``) evolves the model to the zero age main sequence and then relaxes until omega/omega_crit = 0.6.

* Part 3 (``inlist_to_end_core_he_burn``) takes the model to core helium depletion.

* Part 4 (``inlist_remove_envelope``) removes the remianing hydrogen envelope. (optional)

* Part 5 (``inlist_to_end_core_c_burn``) takes the model to core carbon depletion.

* Part 6 (``inlist_to_lgTmax``) evolves the model until the core temperature reaches log T =9.60 (approximately silicon-shell burning)

* Part 7 (``inlist_to_cc``) evolves until core collapse.




Last-Updated: 10Dec2024 by MR
7 changes: 7 additions & 0 deletions star/test_suite/40M_rotating_pre_ms_to_core_collapse/ck
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

# this provides the definition of check_one
# check_one
source "${MESA_DIR}/star/test_suite/test_suite_helpers"

check_one
4 changes: 4 additions & 0 deletions star/test_suite/40M_rotating_pre_ms_to_core_collapse/clean
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

cd make
make clean
32 changes: 32 additions & 0 deletions star/test_suite/40M_rotating_pre_ms_to_core_collapse/gyre.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
&model
/

&mode
l = 0
/

&osc
nonadiabatic = .TRUE.
/

&rot
/

&num
diff_scheme = 'MAGNUS_GL2'
/

&scan
grid_type = 'LINEAR'
freq_min = 0.5
freq_max = 5.0
freq_min_units = 'ACOUSTIC_DELTA'
freq_max_units = 'ACOUSTIC_DELTA'
n_freq = 50
/

&grid
w_osc = 10
w_exp = 2
w_ctr = 10
/
Loading