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.

meshsmooth<br />

• Min means that jiggling is repeated until the minimum 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 />

• Optim means that a mesh quality optimizer is used. This tries to increase the<br />

minimum quality to at least 0.8. The Jiggleiter parameter has no effect in this<br />

case.<br />

3D<br />

Relocation of points similar to the 2D case is combined with edge swapping<br />

operations to improve the quality of the tetrahedra.<br />

Examples<br />

Create a triangular mesh of the L-shaped membrane without quality improvement<br />

and improve the quality by calling meshsmooth:<br />

clear fem<br />

sq1 = square2(0,0,1);<br />

sq2 = move(sq1,0,-1);<br />

sq3 = move(sq1,-1,-1);<br />

fem.geom = sq1+sq2+sq3;<br />

fem.mesh = meshinit(fem,'jiggle','off');<br />

q = meshqual(fem.mesh);<br />

minQual1 = min(q)<br />

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

q = meshqual(fem.mesh);<br />

minQual2 = min(q)<br />

See Also<br />

meshqual, femmesh, meshinit<br />

296 | CHAPTER 1: COMMAND REFERENCE

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

Saved successfully!

Ooh no, something went wrong!