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

Current implementation of CHE may have unintended or undocumented consequences #346

Open
ilyamandel opened this issue Aug 29, 2020 · 1 comment
Assignees
Labels
code cleanup/optimisation documentation Improvements or additions to documentation severity_moderate This is a moderately severe bug urgency_moderate This is a moderately urgent issue

Comments

@ilyamandel
Copy link
Collaborator

Some of the code for treating CHE stars may have unintended consequences, or intended but perhaps not fully documented consequences. Two examples:

  • the stellar rotation angular velocity is set to orbital angular velocity for any binary after CE or MT if CHE is enabled; this could have unintended consequences when treating tides;
  • CHE binaries always circularise with a conservation of angular momentum, ignoring the usual flag settings for whether circularisation should happen at mass transfer, and, if so, whether angular momentum should be conserved.

[As a sidenote, the function BaseBinaryStar::CalculateMassTransfer(), via BaseBinaryStar::InitialiseMassTransfer(), somewhat inconsistently amends the orbital parameters -- and even stellar masses for CHE stars -- on circularisation, whereas usually the future orbital updates on mass transfer are only recorded and delayed until ResolveMassChanges is called; this can manifest in unexpected inconsistencies in the code.]

@ilyamandel ilyamandel added code cleanup/optimisation documentation Improvements or additions to documentation severity_minor This bug is not very severe urgency_low This issue is not urgent severity_moderate This is a moderately severe bug urgency_moderate This is a moderately urgent issue and removed severity_minor This bug is not very severe urgency_low This issue is not urgent labels Aug 29, 2020
@ilyamandel ilyamandel changed the title Check some functionality Current implementation of CHE may have unintended or undocumented consequences Aug 30, 2020
@ilyamandel
Copy link
Collaborator Author

Implementing tides properly -- #210 -- would address this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code cleanup/optimisation documentation Improvements or additions to documentation severity_moderate This is a moderately severe bug urgency_moderate This is a moderately urgent issue
Projects
None yet
Development

No branches or pull requests

2 participants