yt icon indicating copy to clipboard operation
yt copied to clipboard

Add support for self-shielding in heating/cooling rates calculation

Open cphyc opened this issue 11 months ago • 3 comments

PR Summary

RAMSES uses some self-shiedling to compute the cooling/heating rates. This parameter is used in hydro/cooling_fine.f90. When self-shielding is activated, a "boost factor" is computed as boost =exp(-nH/0.01), and the effective density used to look-up the cooling tables is nH/boost.

PR Checklist

  • [x] New features are documented, with docstrings and narrative docs
  • [ ] Adds a test for any bugs fixed. Adds tests for new features.

cphyc avatar Mar 05 '24 12:03 cphyc

@yt-fido test this please

neutrinoceros avatar Apr 12 '24 08:04 neutrinoceros

Let's hold this a bit more, we probably need testing before this goes in!

cphyc avatar Apr 18 '24 12:04 cphyc

okay, converting to draft then !

neutrinoceros avatar Apr 18 '24 12:04 neutrinoceros