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.

femsolver<br />

This alternative uses a temporary hierarchy that is constructed by the solver. Since<br />

the solver also constructs a temporary xmesh, this alternative wastes some memory.<br />

Alternative 2:<br />

fem = femstatic(fem,'linsolver','gmg','out','fem');<br />

Here, the solver uses a temporary hierarchy, but there is only one xmesh. If another<br />

such solver call is made, fem.xmesh should first be deleted to save some memory.<br />

Alternative 3:<br />

fem =<br />

femstatic(fem,'linsolver','gmg','mgkeep','on','out','fem');<br />

Now the generated hierarchy is kept, which means that you can reuse it in a<br />

subsequent call:<br />

fem.sol = femstatic(fem,'linsolver','gmg');<br />

Alternative 4:<br />

fem = meshcaseadd(fem);<br />

fem.xmesh = meshextend(fem);<br />

fem.sol = femstatic(fem,'linsolver','gmg');<br />

The meshcaseadd call adds mesh cases to the FEM structure. These form the<br />

multigrid hierarchy in the solver.<br />

Compatibility<br />

<strong>COMSOL</strong> Multiphysics 3.2: The default of the Conjugate property has been<br />

changed to off.<br />

The following FEMLAB 2.3 general solver properties are obsolete in FEMLAB 3.0:<br />

TABLE 1-36: OBSOLETE PROPERTY/VALUE PAIRS<br />

PROPERTY VALUES IMPLICATION<br />

Initmethod weak | pointwise | No longer supported<br />

local | dof<br />

Itsolv gbit | gmres | tfqmr Use Linsolver property.<br />

Jacobian lumped | numeric No longer supported<br />

Linsolver matlab | superlu Uses default direct solver<br />

Maxlinit vector with 2<br />

components<br />

Ignores second component and warns<br />

160 | CHAPTER 1: COMMAND REFERENCE

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

Saved successfully!

Ooh no, something went wrong!