4.3. pde.pdes package

Package that defines PDEs describing physical systems.

The examples in this package are often simple version of classical PDEs to demonstrate various aspects of the py-pde package. Clearly, not all extensions to these PDEs can be covered here, but this should serve as a starting point for custom investigations.

Publicly available methods should take fields with grid information and also only return such methods. There might be corresponding private methods that deal with raw data for faster simulations.

PDE

PDE defined by mathematical expressions

AllenCahnPDE

A simple Allen-Cahn equation

CahnHilliardPDE

A simple Cahn-Hilliard equation

DiffusionPDE

A simple diffusion equation

KPZInterfacePDE

The Kardar–Parisi–Zhang (KPZ) equation

KuramotoSivashinskyPDE

The Kuramoto-Sivashinsky equation

SwiftHohenbergPDE

The Swift-Hohenberg equation

WavePDE

A simple wave equation

Additionally, we offer two solvers for typical elliptical PDEs:

solve_laplace_equation

Solve Laplace's equation on a given grid.

solve_poisson_equation

Solve Laplace's equation on a given grid