Skip to content

Commit

Permalink
Changed the prescription for Tonset in the Picker+ models to take adv…
Browse files Browse the repository at this point in the history
…antage of improved metallicity-dependent fits
  • Loading branch information
Ilya Mandel committed Oct 7, 2024
1 parent ac31692 commit ddb3300
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/GiantBranch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1089,9 +1089,9 @@ DBL_DBL GiantBranch::CalculateConvectiveEnvelopeMass() const {
double Tmin = clone->Temperature(); // get temperature of clone
delete clone; clone = nullptr; // return the memory allocated for the clone

// Assume Tonset is always 0.1 dex hotter than Tmin, to avoid issues caused by differences between temperatures
// in MESA models (used in Picker+ fits) and Pols models (used in Hurley+ SSE tracks), rather than Eq. (6) of Picker+ 2024
double Tonset = 1.2589 * Tmin;
// Use Eq. 6 of Mandel, Hirai, Picker (2024) rather than Eq. 6 of Picker+ 2024 for Tonset to avoid issues caused by
// differences between temperatures in MESA models (used in Picker+ fits) and Pols models (used in Hurley+ SSE tracks)
double Tonset = Tmin / std::min(0.0695 - 0.057 * m_Log10Metallicity, 0.95); // eq. (6) of Mandel, Hirai, Picker, 2024

double mCoreFinal = CalculateCoreMassAtBAGB(m_Mass0);
double mConvMax = std::max(m_Mass - mCoreFinal * (1.0 + MinterfMcoref), 0.0); // eq. (9) of Picker+ 2024
Expand Down
4 changes: 3 additions & 1 deletion src/changelog.h
Original file line number Diff line number Diff line change
Expand Up @@ -1340,7 +1340,9 @@
// output file post-stellar timestep was removed, and one was added per-stellar timestep. The post-stellar timestep print was removed because
// with the code as it is currently it would be redundant with the post-timestep print, but because we may add code in the future the constant
// POST_STELLAR_TIMESTEP was left in enum class BSE_DETAILED_RECORD_TYPE in LogTypedefs.h.
// 03.05.01 IM - Oct 07, 2024 - Enhancement:
// - Changed the prescription for Tonset in the Picker+ models to take advantage of improved metallicity-dependent fits

const std::string VERSION_STRING = "03.05.00";
const std::string VERSION_STRING = "03.05.01";

# endif // __changelog_h__

0 comments on commit ddb3300

Please sign in to comment.