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 solutionusatisfies the equation
hu=r,
wherehandrcan be functions of space (x,y,and, in 3-D case,z), the solutionu,and time. Often, you takeh= 1, and setrto the appropriate value.
Generalized Neumann boundary conditions — On the edge or face the solutionusatisfies the equation
is the outward unit normal.qandgare functions defined on ∂Ω, and can be functions ofx,y,and, in 3-D case,z,the solutionu,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 withNcomponents isNcoupled PDEs with coupled boundary conditions. Scalar PDEs are those withN= 1,meaning just one PDE. Systems of PDEs generally meansN> 1. The documentation sometimes refers to systems as multidimensional PDEs or as PDEs with a vector solutionu. In all cases, PDE systems have a single geometry and mesh. It is onlyN,the number of equations, that can vary.
The coefficientsm,d,c,a,andfcan be functions of location (x,y,and, in 3-D,z), and, except for eigenvalue problems, they also can be functions of the solutionuor its gradient. For eigenvalue problems, the coefficients cannot depend on the solutionu
or its gradient.
For scalar equations, all the coefficients exceptcare scalar. The coefficientcrepresents a 2-by-2 matrix in 2-D geometry, or a 3-by-3 matrix in 3-D geometry. For systems ofNequations, the coefficientsm,d,andaareN-by-Nmatrices,fis anN-by-1 vector, andcis a 2N-by-2Ntensor (2-D geometry) or a 3N-by-3Ntensor (3-D geometry). For the meaning of ,seec Coefficient for specifyCoefficients.
When bothmanddare0
,the PDE is stationary. When eithermordare nonzero, the problem is time-dependent. When any coefficient depends on the solutionuor its gradient, the problem is called nonlinear.
For systems of PDEs, there are generalized versions of the Dirichlet and Neumann boundary conditions:
hu=rrepresents a matrixhmultiplying the solution vectoru,and equaling the vectorr.
. For 2-D systems, the notation means theN1矩阵(i,1)-component
where the outward normal vector of the boundary .
For 3-D systems, the notation means theN-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 ofNboundary conditions.