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

Possible bug in the if conditions for white dwarf dynamical mass transfer #572

Open
claireshiye opened this issue Sep 24, 2022 · 0 comments

Comments

@claireshiye
Copy link
Contributor

On line 2486 elseif(kstar(j1).eq.10.or.kstar(j2).gt.10)then in evolv2.f

elseif(kstar(j1).eq.10.or.kstar(j2).gt.10)then
the 'or' should probably be 'and' in this if condition according to the comments for this block.

If using the default COSMIC, when there is a dynamical mass transfer from a CO WD, for example, to a ONe WD, the ONe WD will temporarily become a type 8 giant star. This will cause the ONe WD to be destroyed (turned into type 15) instead of forming an NS if the WD accretes a lot of mass during dynamical mass transfer (e.g., when eddfac>=10).

Here are a few outputs as examples for comparison. All outputs are for this binary initial condition single_binary = InitialBinaryTable.InitialBinaries(m1=1.2, m2=1.37999, porb=0.2, ecc=0., tphysf=13700.0, kstar1=11, kstar2=12, metallicity=0.002)
If change the 'or' in the if condition to 'and':
image

if use eddfac=10:
image

If using the default as in COSMIC V3.4:
image

and then if use eddfac=10:
image

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

1 participant