equations you can solve using pde toolbox
partial differential equation toolbox™ solves scalar equations of the form
and eigenvalue equations of the form
for scalar pdes, there are two choices of boundary conditions for each edge or face:
dirichlet — on the edge or face, the solution u satisfies the equation
hu = r,
where h and r can be functions of space (x, y, and, in 3-d case, z), the solution u, and time. often, you take h = 1, and set r to the appropriate value.
generalized neumann boundary conditions — on the edge or face the solution u satisfies the equation
is the outward unit normal. q and g are functions defined on ∂ω, and can be functions of x, y, and, in 3-d case, z, the solution u, and, for time-dependent equations, time.
the toolbox also solves systems of equations of the form
and eigenvalue systems of the form
a system of pdes with n components is n coupled pdes with coupled boundary conditions. scalar pdes are those with n = 1, meaning just one pde. systems of pdes generally means n > 1. the documentation sometimes refers to systems as multidimensional pdes or as pdes with a vector solution u. in all cases, pde systems have a single geometry and mesh. it is only n, the number of equations, that can vary.
the coefficients m, d, c,
a, and f can be functions of location
(x, y, and, in 3-d, z), and,
except for eigenvalue problems, they also can be functions of the solution
u or its gradient. for eigenvalue problems, the coefficients cannot
depend on the solution u
or its gradient.
for scalar equations, all the coefficients except c are scalar. the coefficient c represents a 2-by-2 matrix in 2-d geometry, or a 3-by-3 matrix in 3-d geometry. for systems of n equations, the coefficients m, d, and a are n-by-n matrices, f is an n-by-1 vector, and c is a 2n-by-2n tensor (2-d geometry) or a 3n-by-3n tensor (3-d geometry). for the meaning of , see .
when both m and d are 0
, the pde
is stationary. when either m or d are nonzero, the
problem is time-dependent. when any coefficient depends on the solution u
or its gradient, the problem is called nonlinear.
for systems of pdes, there are generalized versions of the dirichlet and neumann boundary conditions:
hu = r represents a matrix h multiplying the solution vector u, and equaling the vector r.
. for 2-d systems, the notation means the n-by-1 matrix with (i,1)-component
where the outward normal vector of the boundary .
for 3-d systems, the notation means the n-by-1 vector with (i,1)-component
where the outward normal vector of the boundary .
for each edge or face segment, there are a total of n boundary conditions.