danieljprice / phantom

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

Add possibility of varying beta cooling with radius as a power law #361

Closed crislong closed 1 year ago

crislong commented 1 year ago

Possibility to have a Gammie \beta cooling as a function of the radius (power law).

2 new parameters: 1) eta, that is the exponent of the power law (r^-eta) 2) r_beta, the characteristic radius at which the beta_cooling is fixed