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.

meshsmooth<br />

Purpose<br />

meshsmooth<br />

Smooth interior mesh vertices and improve quality of a mesh.<br />

Syntax<br />

Description<br />

fem.mesh = meshsmooth(fem,...)<br />

fem = meshsmooth(fem,’out’,{’fem’},...)<br />

mesh = meshsmooth(fem,...) improves the quality of the elements in the mesh<br />

fem.mesh by adjusting the mesh vertex positions and by swapping mesh edges.<br />

fem = meshsmooth(fem,'out',{'fem'},...) modifies the fem structure to<br />

include the new mesh object in fem.mesh.<br />

In 3D, meshsmooth is supported for meshes containing tetrahedral elements only.<br />

The function meshsmooth accepts the following property/values:<br />

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

PROPERTY 2D 3D VALUE DEFAULT DESCRIPTION<br />

Jiggleiter ♦ numeric 5 Maximum number of jiggling<br />

iterations<br />

Qualoptim ♦ off | mean | min Optimization method<br />

min | optim<br />

Out ♦ ♦ fem | mesh mesh Output parameters<br />

Subdomain ♦ ♦ integer<br />

vector | all<br />

| none<br />

all<br />

Specifies the subdomains that<br />

are smoothed<br />

Algorithm<br />

2D<br />

Each mesh vertex that is not located on the boundary is moved such that the quality<br />

of the surrounding element increases. This process is controlled via the properties<br />

Jiggleiter and Qualoptim.<br />

Jiggleiter specifies the maximum number of jiggling iterations. The default value<br />

is 5.<br />

Qualoptim specifies the technique that is used to improve the quality of the mesh.<br />

• Off means that no improvement operations are performed.<br />

• Mean means that jiggling is repeated until the mean element quality does not<br />

significantly increase, or until the bound Jiggleiter is reached. Furthermore,<br />

after every third jiggling iteration, edge swapping operations are performed.<br />

295

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

Saved successfully!

Ooh no, something went wrong!