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.

femnlin<br />

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

outputs, see femlin.<br />

femlin and femnlin can solve a stationary problem for a number of values of a<br />

parameter. The name of the parameter is specified with the property Pname, and the<br />

values of the parameter is specified with the property Plist. The vector in Plist<br />

can be an increasing or decreasing sequence of parameter values. If more than two<br />

parameter values are given, then solutions are delivered for these parameter values<br />

(though the algorithm may internally compute the solution for intermediate<br />

values). If only two parameter values are given, the algorithm also delivers the<br />

solutions for the intermediate values determined by the algorithm. The algorithm<br />

tries to follow a continuous path of solutions when varying the parameter, and<br />

adjusts the step size in the parameter in order achieve this. If the algorithm detects<br />

that some sort of singularity or turning point is approached, then the stepsize is<br />

reduced, and the algorithm terminates. In this case, if the property Stop is set to on,<br />

the solutions for the visited parameter values are delivered.<br />

When going from one parameter value to another, the initial guess at the new<br />

parameter value is by default obtained by following the tangent to the solution curve<br />

at the old parameter value. If the property Porder is set to 0, then the initial guess<br />

is instead taken as the solution for the old parameter value. In very simple cases,<br />

Porder = 0 may give better performance than the default Porder = 1.<br />

The property Pinitstep specifies the initial parameter stepsize that will be tried.<br />

The algorithm terminates if the Newton method diverges and the parameter step is<br />

less than Pminstep. The property Pmaxstep provides an upper bound on the<br />

parameter step. If any of the properties Pinitstep, Pminstep or Pmaxstep are 0<br />

or not given, they are given default values.<br />

For some applications the access to the solution at a previous parameter value is<br />

needed. Such an application is for example contact problems with friction in<br />

Structural Mechanics. The solution components controlled by the property<br />

Oldcomp are treated in a separate linear solution step, or updating step, performed<br />

after the solver for the parameter step has finished. These components are subtracted<br />

from the solution components and are not included in the main parametric solver<br />

step. The linear system solver used in the update solver step is UMFPACK.<br />

For more information on the parameter-stepping feature, see “The Parametric<br />

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

138 | CHAPTER 1: COMMAND REFERENCE

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

Saved successfully!

Ooh no, something went wrong!