Skip to content
Snippets Groups Projects

GEAR sink: add a minimal mass to sink

Merged Darwin requested to merge darwin/gear_sink_mass_min into master
All threads resolved!

In this MR, I implemented a minimal mass threshold when sink spawn stars. So, they cannot spawn stars if m_sink - target_mass < sink_minimal_mass. We discussed it with Yves.

The second condition is relevant for low-resolution simulations, where a newborn sink can spawn stars because the gas mass turned into the sink is big. After spawning the stars, we have sink_mass << gas_mass, which gravitational interactions can kick away. Also, gas particles can never be bound to the sink if their mass is >> sink mass.

Merge request reports

Merged by Matthieu SchallerMatthieu Schaller 5 months ago (Nov 27, 2024 8:36am UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Darwin added 1 commit

    added 1 commit

    Compare with previous version

  • Matthieu Schaller resolved all threads

    resolved all threads

  • mentioned in commit e6581cec

  • Please register or sign in to reply
    Loading