danieljprice / phantom

Phantom Smoothed Particle Hydrodynamics and Magnetohydrodynamics code
https://phantomsph.github.io
Other
103 stars 223 forks source link

winds from sink particles should be implemented in the main code #574

Open danieljprice opened 2 months ago

danieljprice commented 2 months ago

currently winds from sink particles are implemented in plug-and-play injection routines, but it would make sense for this to be a generic property of sink particles and wrapped into the main code, where Mdot and v_inject are properties inside the xyzmh_ptmass array.

this would enable applications like: