Skip to main content

PySDM usage examples reproducing results from literature and depicting how to use PySDM from Python Jupyter notebooks

Project description

PySDM-examples

no-model examples depicting isotope-related formulae:

0D box-model coalescence and breakup examples:

  • Shima et al. 2009 (Box model, coalescence only, test case employing Golovin analytical solution):

    • Fig. 2: preview in nbviewer launch on mybinder.org launch on Colab
  • Berry 1967 (Box model, coalescence only, test cases for realistic kernels):

    • Figs. 5, 8 & 10: preview in nbviewer launch on mybinder.org launch on Colab
  • Bieli et al. 2022 (Box model, coalescence and breakup with fixed coalescence efficiency):

    • Fig. 3: preview in nbviewer launch on mybinder.org launch on Colab
  • deJong et al. 2023 (Box model, coalescence and breakup):

    • Figs. 3-5 (validation against Srivastava 1982 analytic solution): preview in nbviewer launch on mybinder.org launch on Colab
    • Figs. 6-8 (Berry 1967 coalescence efficiency): preview in nbviewer launch on mybinder.org launch on Colab

0D box-model immersion freezing-only examples:

  • Alpert & Knopf 2016 (stochastic immersion freezing with monodisperse vs. lognormal immersed surface areas):
    • Fig. 1: preview in nbviewer launch on mybinder.org launch on Colab
    • Fig. 2: preview in nbviewer launch on mybinder.org launch on Colab
    • Fig. 3: preview in nbviewer launch on mybinder.org launch on Colab
    • Fig. 4: preview in nbviewer launch on mybinder.org launch on Colab
    • Fig. 5: preview in nbviewer launch on mybinder.org launch on Colab
  • Arabas et al. 2023 (singular vs. time-dependent immersion freezing)
    • Fig. 2: preview in nbviewer launch on mybinder.org launch on Colab
    • Figs. 3, 7, 8: preview in nbviewer launch on mybinder.org launch on Colab
    • Figs. 5, 6: preview in nbviewer launch on mybinder.org launch on Colab

0D parcel-model condensation only examples:

  • Arabas & Shima 2017 (monodisperse size spectrum activation/deactivation test case):

    • Fig. 5: preview in nbviewer launch on mybinder.org launch on Colab
  • Yang et al. 2018 (polydisperse size spectrum activation/deactivation test case):

    • Fig. 2: preview in nbviewer launch on mybinder.org launch on Colab
  • Abdul-Razzak & Ghan 2000 (aerosol activation parameterization for GCMs):

    • Figs. 1 - 5: preview in nbviewer launch on mybinder.org launch on Colab
  • Pyrcel documentation example (externally mixed polydisperse size spectrum activation test case):

    • supersaturation, temperature, wet radii evolution and dry spectra plots: preview in nbviewer launch on mybinder.org launch on Colab
  • Lowe et al. 2019 (externally mixed polydisperse size spectrum with surface-active organics case):

    • Fig. 1: preview in nbviewer launch on mybinder.org launch on Colab
    • Fig. 2: preview in nbviewer launch on mybinder.org launch on Colab
    • Fig. 3: preview in nbviewer launch on mybinder.org launch on Colab

0D parcel-model condensation/aqueous-chemistry example:

1D kinematic (prescribed-flow, single-column):

  • Shipway & Hill 2012:

    • Fig 1 (thermodynamics/condensation only, no particle displacement yet):
      preview in nbviewer launch on mybinder.org launch on Colab
  • deJong et al. 2023 (Kinematic setup as in Shipway and Hill, including breakup with Berry 1967 coalescence efficiency):

    • Figs. 6-8: preview in nbviewer launch on mybinder.org launch on Colab

2D kinematic (prescribed-flow) Sc-mimicking aerosol collisional processing (warm-rain) examples:

  • Arabas et al. 2015

    • Figs. 8 & 9 (interactive web-GUI with product selection, parameter sliders and netCDF/plot export buttons):
      preview in nbviewer launch on mybinder.org launch on Colab
  • Bartman et al. (in preparation):

    • Fig 1 (default-settings based script generating a netCDF file and loading it subsequently to create the animation below):
      preview in nbviewer launch on mybinder.org launch on Colab
    • Fig 2: preview in nbviewer launch on mybinder.org launch on Colab
    • Fig 3: preview in nbviewer launch on mybinder.org launch on Colab
  • Arabas et al. 2023 (singular vs. time-dependent immersion freezing)

    • Fig. 11: preview in nbviewer launch on mybinder.org launch on Colab

Project details


Release history Release notifications | RSS feed

This version

2.34

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PySDM-examples-2.34.tar.gz (95.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PySDM_examples-2.34-py3-none-any.whl (127.8 kB view details)

Uploaded Python 3

File details

Details for the file PySDM-examples-2.34.tar.gz.

File metadata

  • Download URL: PySDM-examples-2.34.tar.gz
  • Upload date:
  • Size: 95.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for PySDM-examples-2.34.tar.gz
Algorithm Hash digest
SHA256 0daf51515edbdb1ca0ad405a7e865247c1454817c2bcfa1347e08fe620e61746
MD5 3a9bb922505167021ca8e0cf71d76057
BLAKE2b-256 7834c52ffcf838ed557dbc9cc107755fdd011e9210a8b382996211151545253a

See more details on using hashes here.

File details

Details for the file PySDM_examples-2.34-py3-none-any.whl.

File metadata

  • Download URL: PySDM_examples-2.34-py3-none-any.whl
  • Upload date:
  • Size: 127.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for PySDM_examples-2.34-py3-none-any.whl
Algorithm Hash digest
SHA256 bb70bfdbe32a7e5d09abeeb1816f4619977af5acc740c3836b75536b0ad40441
MD5 da93068a8e92d58f86cf6d2166f2db05
BLAKE2b-256 f40b1812170f0c94374da1596ef99c14a70388637197f6974630b342f04313dc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page