Partial Differential Equation Toolbox    

Domain Decomposition

The PDE Toolbox is designed to deal with one-level domain decomposition. If has a complicated geometry, it is often useful to decompose it into the union of more subdomains of simpler structure. Such structures are often introduced by pdetool.

Assume now that is the disjoint union of some subdomains 1, 2, . . . , n. Then you could renumber the nodes of a mesh on such that the indices of the nodes of each subdomain are grouped together, while all the indices of nodes common to two or more subdomains come last. Since K has nonzero entries only at the lines and columns that are indices of neighboring nodes, the stiffness matrix is partitioned as follows:

while the right side is

The PDE Toolbox routine assempde can assemble the matrices Kj, Bj, fj, and C separately. You have full control over the storage and further processing of these matrices.

Furthermore, the structure of the linear system

is simplified by decomposing K into the partitioned matrix above.

Now consider the geometry of the L-shaped membrane. You can plot the geometry of the membrane by typing

Notice the borders between the subdomains. There are three subdomains. Thus the matrix formulas with n = 3 from above can be used. Now generate a mesh for the geometry:

So for this case, with n = 3, you have

and the solution is given by block elimination:

In the MATLAB solution below, a more efficient algorithm using Choleski factorization is used:

The problem can also be solved by typing

You can run this entire example by typing pdedemo4.


  A Minimal Surface Problem Examples of Parabolic Problems