Skip to main content

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

Project description

Copyright License: GPL v3

Github Actions Build Status
GitHub issues GitHub issues
PyPI version API docs

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

Please use the PyMPDATA issue-tracking and dicsussion infrastructure for PyMPDATA-examples as well.

Each of the examples listed below can either be executed using Jupyer after downaloding it (and installing the PySDM-examples package using pip install) or executed in the cloud by clicking on one of the Mybinder or Colab badges below:

  • Smolarkiewicz 2006 Figs 3,4,10,11 & 12
    Binder Open In Colab
    (1D homogeneous cases depicting infinite-gauge and flux-corrected transport cases)
  • Arabas & Farhat 2020 (1D advection-diffusion example based on Black-Scholes equation):
    • Fig 1: Binder Open In Colab
    • Fig 2: Binder Open In Colab
    • Fig 3: Binder Open In Colab
    • Tab 1: Binder Open In Colab
  • Olesik et al. 2020
    Binder Open In Colab
    (1D particle population condensational growth problem with coordinate transformations)
  • Shipway and Hill 2012 (KiD-1D) (analysis discussed in Olesik et al. 2020)
    Binder Open In Colab
    (2D spectral-spatial problem of droplet condensational growth in a column of air)
    animation animation
  • Molenkamp 2D solid-body rotation test (as in Jaruga et al. 2015, Fig. 12)
    Binder Open In Colab
  • 1D advection-diffusion example with animation
    Binder Open In Colab
  • 2D shallow-water equations (3D elliptic drop spreading on 2D plane under gravity example from Jarecka et al. 2015)
    • Fig 6: Binder Open In Colab
  • 2D advection on a sphere (setup depicting coordinate transformation based on Williamson and Rasch 1989)
    Binder Open In Colab
    animation
  • 3D advection (spherical signal revolving in a box, based on Smolarkiewicz 1984)
    Binder Open In Colab

Project details


Download files

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

Source Distribution

PyMPDATA-examples-0.11.tar.gz (10.5 MB view details)

Uploaded Source

Built Distribution

PyMPDATA_examples-0.11-py3-none-any.whl (10.6 MB view details)

Uploaded Python 3

File details

Details for the file PyMPDATA-examples-0.11.tar.gz.

File metadata

  • Download URL: PyMPDATA-examples-0.11.tar.gz
  • Upload date:
  • Size: 10.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.7

File hashes

Hashes for PyMPDATA-examples-0.11.tar.gz
Algorithm Hash digest
SHA256 2a349e85377c85bab11fb179582c749a3e625ed457d76f011fc31a29eea403af
MD5 c9152f0aa873702679c81d8a62233216
BLAKE2b-256 1647664ae799be37020cbcdb4d767b50b27497b20c623b5c8ee5ed78a7d09774

See more details on using hashes here.

File details

Details for the file PyMPDATA_examples-0.11-py3-none-any.whl.

File metadata

  • Download URL: PyMPDATA_examples-0.11-py3-none-any.whl
  • Upload date:
  • Size: 10.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.7

File hashes

Hashes for PyMPDATA_examples-0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 506382f39174946536d3304a55b3280433d6802e5deba0a35dd8a4b9b3a8ca7d
MD5 7801b5a580b82c3051a2d55556ec2f20
BLAKE2b-256 5a982497c99d5c7e8c45d516f984f9154f64c1eaa4cab1be7d202a3da9365eba

See more details on using hashes here.

Supported by

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