21.01.2015 Views

COMSOL Multiphysics™

COMSOL Multiphysics™

COMSOL Multiphysics™

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

flnull<br />

Purpose<br />

flnull<br />

Compute null space of a matrix, its complement, and the range of the matrix.<br />

Syntax<br />

Range = flnull(N,...)<br />

[Null,Compl] = flnull(N,...)<br />

[Null,Compl,Range] = flnull(N,...)<br />

[...] = flnull('in',{...},'out',{...},...)<br />

Description Range = flnull(N,...) computes the range of N.<br />

[Null,Compl] = flnull(N,...) computes the null space of N and its<br />

complement.<br />

[Null,Compl,Range] = flnull(N,...) computes null space, its complement,<br />

and the range of N.<br />

[...] = flnull('in',{...},'out',{...},...) compute null space, its<br />

complement, and the range of N.<br />

The function flnull accepts the following property/value pairs:<br />

TABLE 1-47: VALID PROPERTY/VALUE PAIRS<br />

PROPERTY<br />

NAME<br />

PROPERTY VALUE DEFAULT DESCRIPTION<br />

In N | NT N Input matrices<br />

Nullfun flnullorth | auto<br />

Null-space function<br />

flspnull | auto<br />

Out Null | Range |<br />

Compl<br />

Output variables<br />

The property Nullfun selects the null-space algorithm. The algorithm flnullorth<br />

computes a orthonormal basis for the null space by using singular value<br />

decomposition in a block-wise pattern. The method flspnull handles constraint<br />

matrices with non-local couplings by employing a sparse algorithm. The auto<br />

method automatically selects the most appropriate of flnullorth and flspnull.<br />

See the sections “Advanced Solver Parameters” on page 435 and “Constraint<br />

Handling” on page 441 in the <strong>COMSOL</strong> Multiphysics User’s Guide for further<br />

information on the use of these matrices.<br />

Example<br />

The Poisson Equation on the Unit Disk<br />

Solve this problem by elimination. The example illustrates the way femstatic<br />

handles the constraints internally by the default constraint handling method:<br />

eliminate.<br />

clear fem<br />

189

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!