Skip to content

Commit 379ef3e

Browse files
authored
Merge pull request #566 from TomWagg/lbv_defaults
Change default LBV wind prescription 💨
2 parents 2bac6d7 + aac7263 commit 379ef3e

File tree

7 files changed

+9
-6
lines changed

7 files changed

+9
-6
lines changed

defaults/pythonSubmit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ class pythonProgramOptions:
138138
envelope_state_prescription = 'LEGACY'
139139

140140
mass_loss_prescription = 'VINK'
141-
luminous_blue_variable_prescription = 'BELCZYNSKI'
141+
luminous_blue_variable_prescription = 'HURLEY_ADD'
142142
luminous_blue_variable_multiplier = 1.5
143143
overall_wind_mass_loss_multiplier = 1.0
144144
wolf_rayet_multiplier = 1.0

docs/COMPAS_Doc.pdf

-29.4 KB
Binary file not shown.

docs/COMPAS_LaTex/sections/Appendices/ProgramOptions.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ \section{Program Options}\label{sec:ProgramOptionsAppendix}
167167

168168
\programOption{log-level}{}{Determines which print statements are included in the logfile.}{0}
169169

170-
\programOption{luminous-blue-variable-prescription}{}{Luminous blue variable mass loss prescription. \\ Options: \lcb\ NONE, HURLEY, HURLEY\_ADD, BELCZYNSKI\ \rcb}{BELCZYNSKI}
170+
\programOption{luminous-blue-variable-prescription}{}{Luminous blue variable mass loss prescription. \\ Options: \lcb\ NONE, HURLEY, HURLEY\_ADD, BELCZYNSKI\ \rcb}{HURLEY\_ADD}
171171

172172
\programOption{luminous-blue-variable-multiplier}{}{Multiplicative constant for LBV mass loss. (Use 10 for \citet{Mennekens_2014}) Note that wind mass loss will also be multiplied by the overall-wind-mass-loss-multiplier. }{1.5}
173173

docs/COMPAS_LaTex/sections/RevisionHistory.tex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
\revisionHistoryRow{19 February 2021}{2.14}{Added descriptions for options rotational-frequency, rotational-frequency-1, and rotational-frequency-2}{Jeff Riley}
8383
\revisionHistoryRow{06 April 2021}{2.15}{Added FARMER prescription for option pulsational-pair-instability-prescription}{Lieke van Son}
8484
\revisionHistoryRow{20 April 2021}{2.16}{Added option add-options-to-sysparms}{Jeff Riley}
85+
\revisionHistoryRow{18 May 2021}{2.17}{Changed default LBV prescription}{Tom Wagg}
8586

8687
\end{tabularx} % why is this too wide?
8788
\normalsize

src/BaseStar.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1494,8 +1494,8 @@ double BaseStar::CalculateMassLossRateLBV(const LBV_PRESCRIPTION p_LBV_prescript
14941494
rate = CalculateMassLossRateLBVBelczynski();
14951495
break;
14961496
default:
1497-
SHOW_WARN(ERROR::UNKNOWN_LBV_PRESCRIPTION, "Using default value BELCZYNSKI");
1498-
rate = CalculateMassLossRateLBVBelczynski();
1497+
SHOW_WARN(ERROR::UNKNOWN_LBV_PRESCRIPTION, "Using default value HURLEY_ADD");
1498+
rate = CalculateMassLossRateLBVHurley(HD_limit_factor);
14991499
break;
15001500
}
15011501
} else {

src/Options.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ void Options::OptionValues::Initialise() {
326326
m_MassLossPrescription.type = MASS_LOSS_PRESCRIPTION::VINK;
327327
m_MassLossPrescription.typeString = MASS_LOSS_PRESCRIPTION_LABEL.at(m_MassLossPrescription.type);
328328

329-
m_LuminousBlueVariablePrescription.type = LBV_PRESCRIPTION::BELCZYNSKI;
329+
m_LuminousBlueVariablePrescription.type = LBV_PRESCRIPTION::HURLEY_ADD;
330330
m_LuminousBlueVariablePrescription.typeString = LBV_PRESCRIPTION_LABEL.at(m_LuminousBlueVariablePrescription.type);
331331

332332
// Wind mass loss multiplicitive constants

src/changelog.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,8 +743,10 @@
743743
// Modified h5view.py (in postProcessing/Folders/H5/PythonScripts) to handle detailed ouput files
744744
// 02.19.02 LVS - May 04, 2021 - Defect Repairs:
745745
// - Avoid possibility of exceeding total mass in Farmer PPISN prescription
746+
// 02.19.03 TW - May 18, 2021 - Enhancement:
747+
// - Change default LBV wind prescription to HURLEY_ADD
746748

747749

748-
const std::string VERSION_STRING = "02.19.02";
750+
const std::string VERSION_STRING = "02.19.03";
749751

750752
# endif // __changelog_h__

0 commit comments

Comments
 (0)