diff --git a/compas_python_utils/preprocessing/compasConfigDefault.yaml b/compas_python_utils/preprocessing/compasConfigDefault.yaml index 607817553..e744f9193 100644 --- a/compas_python_utils/preprocessing/compasConfigDefault.yaml +++ b/compas_python_utils/preprocessing/compasConfigDefault.yaml @@ -1,5 +1,5 @@ ##~!!~## COMPAS option values -##~!!~## File Created Sun Nov 1 20:57:27 2026 by COMPAS v03.31.00 +##~!!~## File Created Fri Nov 20 18:29:23 2026 by COMPAS v03.32.00 ##~!!~## ##~!!~## The default COMPAS YAML file (``compasConfigDefault.yaml``), as distributed, has ##~!!~## all COMPAS option entries commented so that the COMPAS default value for the @@ -258,7 +258,7 @@ stringChoices: # --envelope-state-prescription: 'LEGACY' # Default: 'LEGACY' # Options: ['CONVECTIVE_MASS_FRACTION','FIXED_TEMPERATURE','HURLEY','LEGACY'] # --initial-mass-function: 'KROUPA' # Default: 'KROUPA' # Options: ['KROUPA','UNIFORM','POWERLAW','SALPETER'] # --LBV-mass-loss-prescription: 'HURLEY_ADD' # Default: 'HURLEY_ADD' # Options: ['BELCZYNSKI','HURLEY','HURLEY_ADD','ZERO'] -# --main-sequence-core-mass-prescription: 'MANDEL' # Default: 'MANDEL' # Options: ['BRCEK','MANDEL','HURLEY'] +# --main-sequence-core-mass-prescription: 'BRCEK' # Default: 'BRCEK' # Options: ['BRCEK','MANDEL','HURLEY'] # --mass-loss-prescription: 'MERRITT2025' # Default: 'MERRITT2025' # Options: ['MERRITT2025','BELCZYNSKI2010','HURLEY','ZERO'] # --OB-mass-loss-prescription: 'VINK2021' # Default: 'VINK2021' # Options: ['KRTICKA2018','BJORKLUND2022','VINK2021','VINK2001','ZERO'] # --RSG-mass-loss-prescription: 'DECIN2023' # Default: 'DECIN2023' # Options: ['NJ90','KEE2021','YANG2023','DECIN2023','BEASOR2020','VINKSABHAHIT2023','ZERO'] diff --git a/online-docs/pages/User guide/Program options/program-options-list-defaults.rst b/online-docs/pages/User guide/Program options/program-options-list-defaults.rst index a542d63f4..adf76f90c 100644 --- a/online-docs/pages/User guide/Program options/program-options-list-defaults.rst +++ b/online-docs/pages/User guide/Program options/program-options-list-defaults.rst @@ -867,7 +867,7 @@ Options: {HURLEY, MANDEL, BRCEK} |br| ``HURLEY`` : Treatment from Hurley et al. (2000), in which MS stars do not have a distinct core and core evolution is not tracked |br| ``MANDEL`` : The core following case A mass transfer is set equal to the expected core mass of a newly formed HG star with mass equal to that of the donor, scaled by the fraction of the donor's MS lifetime at mass transfer |br| ``BRCEK`` : Core mass according to Shikauchi et al. (2024) with added rejuvenation of MS accretors and updated stellar tracks |br| -Default = MANDEL +Default = BRCEK **--maltsev-fallback** |br| Fixed fallback fraction when using MALTSEV2024 remnant mass prescription (must be between 0 and 1). |br| diff --git a/online-docs/pages/whats-new.rst b/online-docs/pages/whats-new.rst index 30ca591bd..913c409ab 100644 --- a/online-docs/pages/whats-new.rst +++ b/online-docs/pages/whats-new.rst @@ -3,11 +3,16 @@ What's new Following is a brief list of important updates to the COMPAS code. A complete record of changes can be found in the file ``changelog.h``. +**03.32.00 November 20, 2026** + +* Changed default behaviour of mass losing and mass gaining MS stars to the BRCEK prescription + **03.31.00 November 2, 2026** * Added post-common-envelope circumbinary disk formation and evolution following Grichener et al. (2026), including new CBD program options and the ``BSE_Circumbinary_Disks`` logfile. **03.29.00 January 30, 2026** + * Added new tidal prescription based on Zahn (1977) and Hurley et. al (2002), called ``ZAHN1977``. * Renamed the ``KAPIL2025`` tides prescription to ``KAPIL2026`` to match paper date. diff --git a/src/EAGB.cpp b/src/EAGB.cpp index 0d4384d9d..40658c761 100755 --- a/src/EAGB.cpp +++ b/src/EAGB.cpp @@ -1081,7 +1081,6 @@ bool EAGB::ShouldSkipPhase() const { double McCOBAGB = CalculateCOCoreMassOnPhase(timescales(tHeI) + timescales(tHe)); double McSN = std::max(CalculateCoreMassAtSupernova_Static(MCH, m_GBParams[static_cast(GBP::McBAGB)]), 1.05 * McCOBAGB); // hack from Hurley fortran code, doesn't seem to be in the paper - return (utils::Compare(McSN, m_COCoreMass) < 0); // skip phase if core is heavy enough to go supernova #undef timescales diff --git a/src/Options.cpp b/src/Options.cpp index c61a5e72e..3722bce56 100644 --- a/src/Options.cpp +++ b/src/Options.cpp @@ -455,7 +455,7 @@ void Options::OptionValues::Initialise() { m_ScaleTerminalWindVelocityWithMetallicityPower = 0.0; // Core mass prescription - m_MainSequenceCoreMassPrescription.type = CORE_MASS_PRESCRIPTION::MANDEL; + m_MainSequenceCoreMassPrescription.type = CORE_MASS_PRESCRIPTION::BRCEK; m_MainSequenceCoreMassPrescription.typeString = CORE_MASS_PRESCRIPTION_LABEL.at(m_MainSequenceCoreMassPrescription.type); // Mass transfer options diff --git a/src/changelog.h b/src/changelog.h index 975820a21..285ba1ee4 100644 --- a/src/changelog.h +++ b/src/changelog.h @@ -1712,7 +1712,7 @@ // - Add option (MIN) to lose specific angular momentum during non-conservative mass transfer that is the smaller of isotropic re-emission and Jeans mode mass loss // - Defect repair: // - Corrected orbital separation re-computation following pulsational (L/M threshold) mass loss -// 03.31.00 AG - November 01, 2026 - Enhancement: +// 03.31.00 AG - Nov 01, 2026 - Enhancement: // Added a post-common-envelope circumbinary disk (CBD) framework – disabled by default - based on the formalism // described in Grichener et al. (2026). The framework assumes that after common-envelope // evolution (CEE), a fraction of the pre-RLOF envelope mass and the binary's total angular @@ -1728,6 +1728,8 @@ // --post-common-envelope-eccentricity-prescription controls the post-CEE eccentricity (non-zero values tend to be significantly increased by the CBD-binary interaction) // See documentation for more information on the available options. // (*) https://github.com/ruggero-valli/spindler-c, installation required to use the CBD module +// 03.32.00 IM - Nov 20, 2026 - Enhancement: +// Changed default behaviour of mass losing and mass gaining MS stars to the BRCEK prescription @@ -1740,7 +1742,7 @@ // if MM is incremented, set mm and rr to 00, even if defect repairs and minor enhancements were also made // if mm is incremented, set rr to 00, even if defect repairs were also made -const std::string VERSION_STRING = "03.31.00"; +const std::string VERSION_STRING = "03.32.00"; # endif // __changelog_h__