Skip to main content

Spectral solutions to two-dimensional PDEs.

Project description

whirly

whirly provides easy-to-use Python classes for the spectral solution of two-dimensional partial differential equations, especially those related to fluid dynamics. The core of the package is the abstract PseudospectralSolver class, which is easily extensible to a variety of PDEs with linear and nonlinear terms. For time stepping, whirly implements a fourth-order integrating factor method as outlined in Yang et al. (2021), accessible through the IFRK4Integrator class.

See example.ipynb for a quick demonstration of whirly used to solve the two-dimensional vorticity equation.

whirly can be installed with pip install whirly.

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

whirly-1.0.1.tar.gz (173.3 kB view hashes)

Uploaded Source

Built Distribution

whirly-1.0.1-py2.py3-none-any.whl (8.5 kB view hashes)

Uploaded Python 2 Python 3

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