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