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 />

ADVANCED SOLVER PARAMETERS<br />

The section “Advanced Solver Parameters” on page 435 in the <strong>COMSOL</strong><br />

Multiphysics User’s Guide describes the features corresponding to the properties<br />

Blocksize, Complexfun, Conjugate, Keep, Method, Nullfun, Rowscale,<br />

Solfile, and Uscale.<br />

The property Assemtol affects the assembled matrices, see assemble for details.<br />

By default, <strong>COMSOL</strong> Multiphysics gives an error message if the solver encounters<br />

an undefined mathematical operation when solving the model, for instance 0/0 or<br />

log(0). If you instead want the solver to proceed, put the property Matherr=off.<br />

Then 0/0=NaN (not a number) and log(0)=-Inf.<br />

The Symmetric and Conjugate properties correspond to the Solver Parameters<br />

dialog box settings Matrix symmetry and Use Hermitian transpose in constraint matrix<br />

and in symmetry detection according to the following table:<br />

Matrix<br />

symmetry<br />

Use Hermitian<br />

transpose...<br />

Automatic Automatic Nonsymmetric Nonsymmetric Symmetric Hermitian<br />

cleared selected cleared selected n.a. n.a.<br />

Symmetric auto auto off off on on<br />

Conjugate off on off on off on<br />

The property Keep corresponds to the manual control of reassembly feature. Its<br />

value can be a string containing the letters D, E, K, L, M, N or the string auto. These<br />

letters have the following meaning: E=constant mass, D=constant damping,<br />

K=constant Jacobian, L=constant load, M=constant constraint, N=constant constraint<br />

Jacobian (see “Manual Control of Reassembly” on page 439 in the <strong>COMSOL</strong><br />

Multiphysics User’s Guide).<br />

For the Nullfun property, flnullorth is the orthonormal null-space function, and<br />

flspnull is the sparse null-space function.<br />

If Solfile=on, the solution is stored on a temporary file. The Solfilename<br />

property can be used to give the full path name of the file. A part of the solution is<br />

stored in memory in a few blocks (usually 1-5 blocks reside in memory). The<br />

maximum block size (in megabytes) can be controlled with the property<br />

Solfileblock.<br />

The property Uscale determines a scaling of the degrees of freedom that is applied<br />

in order to get a more well-conditioned system; see “Scaling of Variables and<br />

152 | CHAPTER 1: COMMAND REFERENCE

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

Saved successfully!

Ooh no, something went wrong!