Skip to main content

A flexible framework for solving PDEs with modern spectral methods.

Project description

Dedalus Project

Repo status Read the Docs PyPI - Python Version PyPI Conda Version PyPI - License

Dedalus is a flexible framework for solving partial differential equations using modern spectral methods. The code is open-source and developed by a team of researchers studying astrophysical, geophysical, and biological fluid dynamics.

Dedalus is written primarily in Python and features an easy-to-use interface with symbolic vectorial equation specification. For example, to simulate incompressible hydrodynamics in a ball, you can symbolically enter the equations, including gauge conditions and boundary conditions enforced with the tau method, as:

problem.add_equation("div(u) + tau_p = 0")
problem.add_equation("dt(u) - nu*lap(u) + grad(p) + lift(tau_u) = - u@grad(u)")
problem.add_equation("u(r=1) = 0")
problem.add_equation("integ(p) = 0")

Our numerical algorithms produce sparse and spectrally accurate discretizations of PDEs on simple domains, including Cartesian domains of any dimension, disks, annuli, spheres, spherical shells, and balls:

KdV-Burgers equation (1D IVP)
Rayleigh-Benard convection (2D IVP)
Periodic shear flow (2D IVP)
Poisson equation (2D LBVP)
Librational instability (disk IVP)
Spherical shallow water (sphere IVP)
Spherical shell convection (shell IVP)
Internally heated convection (ball IVP)

The resulting systems are efficiently solved using compiled libraries and are automatically parallelized using MPI. See the documentation for tutorials and additional examples.

Links

Developers

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

dedalus-3.0.3.tar.gz (247.8 kB view details)

Uploaded Source

File details

Details for the file dedalus-3.0.3.tar.gz.

File metadata

  • Download URL: dedalus-3.0.3.tar.gz
  • Upload date:
  • Size: 247.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for dedalus-3.0.3.tar.gz
Algorithm Hash digest
SHA256 8167cf7ed9c74e7df580ba693ea57e3649698fae8257f4a91c69775bf7c7180d
MD5 c5dbf5b042d6073164d712b8426e4032
BLAKE2b-256 b9d223391cfb30f4d77d43fc74e597ccc890bede2385cde8264d0811334683a9

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