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.

femsolver<br />

PROPERTIES CORRESPONDING TO THE SOLVER MANAGER<br />

The properties Init, U, Solcomp, and Outcomp correspond to settings in the Solver<br />

Manager (see “Working with the Solver Manager” on page 444 in the <strong>COMSOL</strong><br />

Multiphysics User’s Guide).<br />

The property Init determines the initial value for the solution components you<br />

solve for. For possible syntaxes, see asseminit. If you omit this property, the solver<br />

computes the initial value by evaluating the initial value expressions in<br />

fem.equ.init, fem.equ.dinit, fem.bnd.init, fem.bnd.dinit, etc. If any of<br />

these expressions depend on a solution component, the value 0 is used for that<br />

solution component.<br />

The property U determines the value of solution component you do not solve for<br />

and the linearization point. A scalar value is equivalent to a solution vector<br />

containing that value in all its components.<br />

The property Solcomp is a cell array containing the names of the degrees of freedom<br />

to solve for. The default is all degrees of freedom.<br />

The property Outcomp is a cell array containing the names of the degrees of freedom<br />

to store in the output solution object. If the solution is time dependent, the<br />

property Outcomp can contain also the time derivatives of the DOF names. The<br />

default is all degrees of freedom (excluding the time derivatives).<br />

THE PROGRESS WINDOW<br />

By default, a progress window appears when a solver is called. This is similar to the<br />

progress window that appears in the <strong>COMSOL</strong> Multiphysics user interface (see<br />

“Solution Progress” on page 456 in the <strong>COMSOL</strong> Multiphysics User’s Guide). The<br />

progress window gives you the possibility to cancel or stop the solver. Also, when<br />

running in MATLAB, it gives you the possibility to examine the convergence in a<br />

plot. Using the properties specified under Probe Plot Parameters below, in addition,<br />

the progress window gives you the possibility to plot values of certain quantities<br />

during the solution process for the time dependent and parametric solver. If you do<br />

not want the progress window, use the Report property or the flreport command<br />

(see flreport).<br />

150 | CHAPTER 1: COMMAND REFERENCE

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

Saved successfully!

Ooh no, something went wrong!