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.

femeig<br />

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

PROPERTY VALUES DEFAULT DESCRIPTION<br />

Krylovdim positive integer Dimension of Krylov<br />

space<br />

Neigs positive integer 6 Number of<br />

eigenvalues sought<br />

Out fem | sol | u | lambda | sol<br />

Output variables<br />

stop | solcompdof | Kc |<br />

Dc | Ec | Null | Nnp |<br />

uscale | nullfun |<br />

symmetric<br />

Shift scalar 0 Eigenvalue search<br />

location<br />

In addition, the properties described in the entry femsolver are supported.<br />

Specify where to look for the desired eigenvalues with the property shift. Enter a<br />

real or complex scalar; the default value is 0, meaning that the solver tries to find<br />

eigenvalues close to 0.<br />

Using the property In you can specify explicit values for the matrices in the<br />

eigenvalue problem. The value for this property is a cell array with alternating matrix<br />

names and matrix values. The matrix names can be D, E, K, or N. If the N matrix is<br />

not given, it is taken to be empty. If the D or E matrix is not given, it is taken to be 0.<br />

The property Out defines the output variables and their order. The output fem<br />

means the FEM structure with the solution object fem.sol added. Sol is a femsol<br />

object containing the fields lambda and u. Lambda is a row vector containing the<br />

eigenvalues. U is a solution matrix. Each column in the solution matrix is the solution<br />

vector of the eigenfunction for the corresponding eigenvalue in lambda. The output<br />

value stop returns nonzero if the solution process was not completed. Stop is 1 if<br />

a partial solution was returned, and 2 if no solution was returned. For the other<br />

outputs, see femlin.<br />

For more information about the eigenvalue solver, see “The Eigenvalue/<br />

Eigenfrequency Solver” on page 393 in the <strong>COMSOL</strong> Multiphysics User’s Guide.<br />

Example<br />

Eigenmodes and Eigenvalues of the L-shaped Membrane<br />

Compute eigenvalues corresponding to eigenmodes for the PDE problem<br />

⎧<br />

⎨<br />

⎩<br />

– ∆u = λu in Ω<br />

u = 0 on ∂Ω<br />

122 | CHAPTER 1: COMMAND REFERENCE

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

Saved successfully!

Ooh no, something went wrong!