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-env examples depicting isotope-related formulae:

0D box-environment coalescence and breakup examples:

  • Shima et al. 2009 (coalescence only, test case employing Golovin analytical solution):
    • Fig. 2: View notebook launch on mybinder.org launch on Colab
  • Berry 1967 (coalescence only, test cases for realistic kernels):
    • Figs. 5, 8 & 10: View notebook launch on mybinder.org launch on Colab
  • Bieli et al. 2022 (coalescence and breakup with fixed coalescence efficiency):
    • Fig. 3: View notebook launch on mybinder.org launch on Colab
  • deJong et al. 2023 (coalescence and breakup):
    • Figs. 3-5 (validation against Srivastava 1982 analytic solution): View notebook launch on mybinder.org launch on Colab
    • Figs. 6-8 (Berry 1967 coalescence efficiency): View notebook launch on mybinder.org launch on Colab
  • deJong and Azimi (Ongoing research: Box model, coalescence only):
    • Figs. 1-2 (validation of moment-based method against PySDM with Golovin and Geometric kernels): View notebook launch on mybinder.org launch on Colab

0D box-environment immersion freezing-only examples:

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

0D parcel-environment condensation only examples:

  • Arabas & Shima 2017 (monodisperse size spectrum activation/deactivation test case):
    • Fig. 5: View notebook launch on mybinder.org launch on Colab
  • Yang et al. 2018 (polydisperse size spectrum activation/deactivation test case):
    • Fig. 2: View notebook launch on mybinder.org launch on Colab
  • Abdul-Razzak & Ghan 2000 (aerosol activation parameterization for GCMs):
    • Figs. 1 - 5: View notebook 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: View notebook launch on mybinder.org launch on Colab
  • Lowe et al. 2019 (externally mixed polydisperse size spectrum with surface-active organics case):
    • Fig. 1: View notebook launch on mybinder.org launch on Colab
    • Fig. 2: View notebook launch on mybinder.org launch on Colab
    • Fig. 3: View notebook launch on mybinder.org launch on Colab
  • Grabowski & Pawlowska 2023 (polydisperse size spectrum activation test case):
    • Fig. 1: View notebook launch on mybinder.org launch on Colab
    • Fig. 2: View notebook launch on mybinder.org launch on Colab
    • Fig. 3: View notebook launch on mybinder.org launch on Colab
    • Fig. 4: View notebook launch on mybinder.org launch on Colab
  • Jensen & Nugent 2017 (multi-modal + GCCN measurement-based spectrum, updraft-downdraft cycle):
    • Fig. 1: View notebook launch on mybinder.org launch on Colab
    • Fig. 3 and Tab. 4 (upper rows): View notebook launch on mybinder.org launch on Colab
    • Fig. 4 and 7, Tab. 4 (bottom rows): View notebook launch on mybinder.org launch on Colab
    • Fig. 5: View notebook launch on mybinder.org launch on Colab
    • Fig. 6: View notebook launch on mybinder.org launch on Colab
    • Fig. 8: View notebook launch on mybinder.org launch on Colab

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

0D parcel-environment condensation/freezing example:

OD parcel-environment iterative framework mimicking removal of precipitation

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

  • Shipway & Hill 2012:
    • Fig 1 (thermodynamics/condensation only, no particle displacement yet):
      View notebook 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: View notebook launch on mybinder.org launch on Colab
  • deJong and Azimi (Ongoing research: Similar kinematic setup as in Shipway and Hill, but with no condensation (coalescence only) and with power-series representation of the terminal velocity):
    • Fig 3: View notebook launch on mybinder.org launch on Colab

2D kinematic environment (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):
      View notebook 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):
      View notebook launch on mybinder.org launch on Colab
    • Fig 2: View notebook launch on mybinder.org launch on Colab
    • Fig 3: View notebook launch on mybinder.org launch on Colab
  • Arabas et al. 2023 (singular vs. time-dependent immersion freezing)

    • Fig. 11: View notebook launch on mybinder.org launch on Colab

Project details


Release history Release notifications | RSS feed

This version

2.76

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.76.tar.gz (116.3 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.76-py3-none-any.whl (157.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: PySDM-examples-2.76.tar.gz
  • Upload date:
  • Size: 116.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for PySDM-examples-2.76.tar.gz
Algorithm Hash digest
SHA256 528ddc83d35830fb3b459b08a2a39e3d4983e71472b0a33cbf05079100711e48
MD5 4aebbfbedd78bea8e05f61d3e591e7bb
BLAKE2b-256 2403c5b5acad70fd5a36e2e944dd1734b549ec2dfbe8a21f85c5415e3b59ce8c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PySDM_examples-2.76-py3-none-any.whl
  • Upload date:
  • Size: 157.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for PySDM_examples-2.76-py3-none-any.whl
Algorithm Hash digest
SHA256 d74e81b84c71ff94ea196b3c84e43ffb7e0c6f4770ba0f8db5acf11ba255e358
MD5 a2dc7f65836266759039fec711415cbc
BLAKE2b-256 de01fde263a376e3c3d76bf28cae4a1243971c08d66b300253fb4df81aa05756

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