PySDM icon indicating copy to clipboard operation
PySDM copied to clipboard

merge VapourDepositionOnIce into `Condensation` dynamic (refactoring the code to make it more open to other dynamics modifying the "predicted" quantities, e.g., latent heating due to homogeneous nucleation of vapour)

Open slayoo opened this issue 11 months ago • 2 comments

CC: @tluettm

slayoo avatar Mar 07 '25 09:03 slayoo

using "tendency" nomenclature/concept would make the code clearer as well, even if keeping with the current basic logic

slayoo avatar Mar 07 '25 09:03 slayoo

plan:

  • [ ] explain in a docstring how tendencies are handled for thermodynamic vars (see also https://github.com/open-atmos/PySDM/discussions/1545)
  • [ ] add tests with asserts on mass and energy conservation
  • [ ] merge deposition dynamic into condensation (and rename)
  • [ ] double check if recalculation of TpRH is triggered correctly in Particulator + add test
  • [x] A&A settings -> adjust timestep after adaptive timestepping is available

slayoo avatar Mar 31 '25 10:03 slayoo