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.

meshcaseadd<br />

Purpose<br />

meshcaseadd<br />

Add new mesh cases<br />

Syntax fem = meshcaseadd(fem, ...)<br />

Description<br />

fem = meshcaseadd(fem) adds one or several new mesh cases to the FEM<br />

structure FEM. The mesh cases are typically used as hierarchy in the Geometric<br />

multigrid solver. The new mesh cases are constructed by coarsening or refining the<br />

mesh (or keeping the same mesh), and possibly changing the order of the shape<br />

functions. If the order is changed, the integration point order and the constraint<br />

point order is changed accordingly.<br />

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

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

PROPERTY VALUES DEFAULT DESCRIPTION<br />

Mcasekeep<br />

Mcaseorig<br />

Mcaseorig<br />

array of nonnegative<br />

integers | all<br />

array of nonnegative<br />

integers<br />

lowest<br />

existing<br />

mesh case<br />

Mesh cases to keep<br />

Original mesh case(s)<br />

Meshscale array of positive numbers 2 Scale factors for mesh<br />

size h<br />

Mgauto meshscale | shape |<br />

both | meshrefine |<br />

explicit<br />

Method for generating<br />

mesh cases<br />

Mggeom array of positive integers all Geometry numbers<br />

Nmcases positive integer 1 Number of new mesh<br />

cases to generate<br />

Report on | off on Display progress<br />

Rmethod regular | longest regular Mesh refinement<br />

method<br />

Shapechg array of integers -1 Change in shape<br />

function orders<br />

The function meshcaseadd operates on the FEM structures corresponding to the<br />

geometries Mggeom. The FEM structures for other geometries are left unaffected.<br />

Before creating new mesh cases, all existing mesh cases except Mcasekeep are<br />

deleted.<br />

250 | CHAPTER 1: COMMAND REFERENCE

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

Saved successfully!

Ooh no, something went wrong!