Giter Site home page Giter Site logo

slayoo / pysdm-examples Goto Github PK

View Code? Open in Web Editor NEW
7.0 4.0 12.0 59.84 MB

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

License: GNU General Public License v3.0

Jupyter Notebook 97.70% Python 2.30%
python monte-carlo-simulation atmospheric-modelling cloud-microphysics condensation particle-simulation particle-in-cell aerosol-microphysics aerosol-science smoluchowski

pysdm-examples's Introduction

License: GPL v3 DOI

Github Actions Build Status PyPI version API docs

This repository stores example files for PySDM depicting usage of PySDM from Python via Jupyter. For information on the PySDM package itself and examples of usage from Julia and Matlab, see PySDM README.md file.

Please use the PySDM issue-tracking and discussion infrastructure for PySDM-examples as well.

0D box-model coalescence and breakup examples:

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

    • Fig. 2: nbviewer Binder Open In Colab
  • Berry 1967 (Box model, coalescence only, test cases for realistic kernels):

    • Figs. 5, 8 & 10: nbviewer Binder Open In Colab
  • Bieli et al. 2022 (Box model, coalescence and breakup with fixed coalescence efficiency):

    • Fig. 3: nbviewer Binder Open In Colab
  • deJong et al. 2023 (Box model, coalescence and breakup):

    • Figs. 3-5 (Berry 1967 coalescence efficiency): nbviewer Binder Open In Colab
    • Appendix figures (validation against Srivastava 1982 analytic solution): nbviewer Binder Open In Colab

0D box-model immersion freezing-only example:

  • Alpert & Knopf 2016 (stochastic immersion freezing with monodisperse vs. lognormal immersed surface areas):
    • Fig. 1: nbviewer Binder Open In Colab
    • Fig. 2: nbviewer Binder Open In Colab
    • Fig. 3: nbviewer Binder Open In Colab
    • Fig. 4: nbviewer Binder Open In Colab
    • Fig. 5: nbviewer Binder Open In Colab

0D parcel-model condensation only examples:

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

    • Fig. 5: nbviewer Binder Open In Colab
  • Yang et al. 2018 (polydisperse size spectrum activation/deactivation test case):

    • Fig. 2: nbviewer Binder Open In Colab
  • Abdul-Razzak & Ghan 2000 (aerosol activation parameterization for GCMs):

    • Figs. 1 - 5: nbviewer Binder Open In Colab
  • Pyrcel documentation example (externally mixed polydisperse size spectrum activation test case):

    • supersaturation, temperature, wet radii evolution and dry spectra plots: nbviewer Binder Open In Colab
  • Lowe et al. 2019 (externally mixed polydisperse size spectrum with surface-active organics case):

    • Fig. 1: nbviewer Binder Open In Colab
    • Fig. 2: nbviewer Binder Open In Colab
    • Fig. 3: nbviewer Binder Open In 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):
      nbviewer Binder Open In Colab
  • deJong et al. 2023 (Kinematic setup as in Shipway and Hill, including breakup with Berry 1967 coalescence efficiency):

    • Figs. 6-8: nbviewer Binder Open In 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):
      nbviewer Binder Open In Colab
  • Bartman et al. 2021 (in preparation):

    • Fig 1 (default-settings based script generating a netCDF file and loading it subsequently to create the animation below):
      nbviewer Binder Open In Colab
    • Fig 2: nbviewer Binder Open In Colab
    • Fig 3: nbviewer Binder Open In Colab

animation

pysdm-examples's People

Contributors

abulenok avatar claresinger avatar edejong-caltech avatar imdula avatar jb-mackay avatar piotrbartman avatar sajjadazimi avatar slayoo avatar tangwhiap avatar trontrytel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.