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

angular momentum conservation error #465

Open
astroJeff opened this issue Nov 18, 2020 · 2 comments
Open

angular momentum conservation error #465

astroJeff opened this issue Nov 18, 2020 · 2 comments
Assignees
Milestone

Comments

@astroJeff
Copy link
Collaborator

I've been frustrated by a feature of cosmic that I've recently noticed.

When you force all the mass lost by a donor to be accepted by an accretor, I'm finding that mass transfer from a less massive star onto a more massive star is causing the binary separation to shrink. This is the opposite of what should happen. After spending most of the day digging into this, I've found several terms that affect the orbital angular momentum, even during stable mass transfer. They are related to spin-orbit coupling terms:

  1. When mass is taken away from a donor, the angular momentum is added to the orbit.
  2. When mass is added to an accretor, angular momentum is taken away from the orbit (based on the specific J at L1).
  3. Tides will strongly affect a binary - particularly during mass transfer when R/a is large.
  4. There is a dJ/dt term which can affect the spin of a star accreting from the wind of its companion (Equation 11 in HPT 2002; lines 2849-2851 in evolv2.f).

It turns out that term 4 above is turned on even when the binary is in stable RLOF. I don't yet fully understand why, but the result is the system has a huge angular momentum sink, leading to a 0.2% angular momentum loss (from the combined system) per time step. When I set that dJ/dt term to zero by hand, the angular momentum conservation becomes consistent at the level of 1e-5 per time step. I also see the expected behavior in the orbital separation: that the binary expands when a less massive star is donating mass to a more massive star.

There may be some physical reason for including that dJ/dt term for wind accretion, but right now, it is causing more harm than good. I suggest that we comment out the relevant terms until we can come up with an improved prescription.

@astroJeff
Copy link
Collaborator Author

I forgot, I also had to set djorb=0 at line 2791 to achieve the angular momentum accuracy of 1e-5 above.

@scottcoughlin2014
Copy link
Contributor

#409 is part of same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants