amusecode / amuse

Astrophysical Multipurpose Software Environment. This is the main repository for AMUSE
http://www.amusecode.org
Apache License 2.0
154 stars 98 forks source link

stellar_wind.py: wind incorrect for binaries #995

Open rieder opened 11 months ago

rieder commented 11 months ago

When using derive_from_evolution in stellar_wind.py in combination with a binary system, the resulting amount of wind particles is incorrect: it does not take the mass transfer to the companion into account, and therefore overestimates the wind. To solve this, ideally one should have access to more properties of the stars than are available (to account for a potentially existing wind from the accretor) - but probably just subtracting the mass accreted by the other star would be good enough. stellar_wind.py would then still have to know about binaries though - so an update is needed.

Alternatively, don't use derive_from_evolution with binary stars.