## Documentation Center |

This toolbox applies to the following PDE type:

expressed in Ω, which we shall refer to as the *elliptic
equation*, regardless of whether its coefficients and boundary
conditions make the PDE problem elliptic in the mathematical sense.
Analogously, we shall use the terms *parabolic equation* and *hyperbolic
equation* for equations with spatial operators like the
previous one, and first and second order time derivatives, respectively.
Ω is a bounded domain in the plane. *c*, *a*, *f*,
and the unknown *u* are scalar, complex valued functions
defined on Ω. *c* can be a 2-by-2 matrix function
on Ω. The software can also handle the parabolic PDE

the hyperbolic PDE

and the eigenvalue problem

where *d* is a complex valued function on Ω,
and *λ* is an unknown eigenvalue. For the parabolic
and hyperbolic PDE the coefficients *c*, *a*, *f*,
and *d* can depend on time, on the solution *u*,
and on its gradient ∇*u*. A nonlinear solver
(`pdenonlin`) is available for the
nonlinear elliptic PDE

where *c*, *a*, and *f* are
functions of the unknown solution *u* and on its
gradient ∇*u*. The parabolic and hyperbolic
equation solvers also solve nonlinear and time-dependent problems.

All solvers can handle the system case of *N* coupled
equations. You can solve *N* = 1 or 2 equations using
the PDE app, and any number of equations using command-line functions.
For example, *N* = 2 elliptic equations:

For a description of *N* > 1 PDE systems
and their coefficients, see Coefficients for Systems of PDEs.

For the elliptic problem, an adaptive mesh refinement algorithm is implemented. It can also be used in conjunction with the nonlinear solver. In addition, a fast solver for Poisson's equation on a rectangular grid is available.

The following boundary conditions are defined for scalar *u*:

*Dirichlet*:*hu*=*r*on the boundary ∂Ω.*Generalized Neumann*: on ∂Ω.

is the outward unit normal. *g*, *q*, *h*,
and *r* are complex-valued functions defined on ∂Ω.
(The eigenvalue problem is a homogeneous problem, i.e., *g*=
0, *r* = 0.) In the nonlinear case, the coefficients *g*, *q*, *h*,
and *r* can depend on *u*, and for
the hyperbolic and parabolic PDE, the coefficients can depend on time.
For the two-dimensional system case, Dirichlet boundary condition
is

the generalized Neumann boundary condition is

and the *mixed* boundary condition is

where *µ* is computed such that the Dirichlet
boundary condition is satisfied. Dirichlet boundary conditions are
also called *essential* boundary conditions, and
Neumann boundary conditions are also called *natural* boundary
conditions.

For advanced, nonstandard applications you can transfer the
description of domains, boundary conditions etc. to your MATLAB^{®} workspace.
From there you use Partial Differential Equation Toolbox™ functions
for managing data on unstructured meshes. You have full access to
the mesh generators, FEM discretizations of the PDE and boundary conditions,
interpolation functions, etc. You can design your own solvers or use
FEM to solve subproblems of more complex algorithms. See also Solve PDEs Programmatically.

Was this topic helpful?