21.01.2015 Views

COMSOL Multiphysics™

COMSOL Multiphysics™

COMSOL Multiphysics™

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

femstatic<br />

Purpose<br />

femstatic<br />

Solve stationary PDE problem with a nonlinear or linear solver.<br />

Syntax<br />

Description<br />

fem.sol = femstatic(fem,...)<br />

fem = femstatic(fem,'Out',{'fem'},...)<br />

fem.sol = femstatic(fem) solves a stationary PDE problem using either a linear<br />

or nonlinear solver.<br />

fem.sol = femstatic(fem,'pname','P', plist',list,...) solves a<br />

stationary PDE problem for several values of the parameter P. The values of the<br />

parameter P are given in the vector list.<br />

The PDE problem is stored in the (possibly extended) FEM Structure fem. See<br />

femstruct for details.<br />

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

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

PROPERTY VALUE DEFAULT DESCRIPTION<br />

Nonlin off | on | auto auto Use the nonlinear solver<br />

Out<br />

fem | sol | u | plist<br />

| stop | solcompdof<br />

| Kc | Lc | Null | Nnp<br />

| ud | uscale |<br />

nullfun |<br />

symmetric | nonlin<br />

| cell array of these<br />

strings<br />

sol<br />

Output variables<br />

This solver uses the nonlinear solver described in femnlin if nonlin is on, and it<br />

uses the linear solver described in femlin if nonlin is off. If nonlin is set to auto<br />

an analysis is performed to automatically detect if the problem can be solved with<br />

the linear solver.<br />

In addition to the properties listed above, also the properties for femlin or femnlin<br />

are supported, depending on which solver is used. For example, the linear solver<br />

does not support the properties Augcomp, Augsolver, Augtol, Augmaxiter,<br />

Porder, and Ntol. Similarly, the nonlinear solver does not support the properties<br />

In and Itol. Furthermore, the properties described in the entry femsolver are<br />

supported.<br />

The automatic nonlinear/linear detection works in the following way. The linear<br />

solver is called if the residual jacobian matrix (the stiffness matrix, K) and the<br />

constraint jacobian matrix (the constraint matrix, N) are both found not solution<br />

164 | CHAPTER 1: COMMAND REFERENCE

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

Saved successfully!

Ooh no, something went wrong!