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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for whirly-1.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 996b866aeae5ce126da3243b1e4a23eb0958af664e1f3b3552db65e50c79c868 |
|
MD5 | 2702b923146b3126e2c59c734560f228 |
|
BLAKE2b-256 | aa81454cf2e445472497542ef438bd70884fd80eb8bf679489ab8d0b09ca1656 |