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.

meshmap<br />

Purpose<br />

meshmap<br />

Create mapped quad mesh.<br />

Syntax<br />

Description<br />

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

fem.mesh = meshmap(geom,...)<br />

fem = meshmap(fem,'out',{'fem'},...)<br />

fem.mesh = meshmap(fem,...) returns a mapped quad mesh derived from the<br />

geometry fem.geom. For a 3D geometry, only the faces are meshed.<br />

fem.mesh = meshmap(geom,...) returns a mapped quad mesh derived from the<br />

geometry geom.<br />

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

a mesh in fem.mesh.<br />

The quad mesh is generated by a mapping technique. For each subdomain in 2D<br />

and face in 3D, a logical mesh is generated on a square geometry and is then mapped<br />

onto the real geometry by transfinite interpolation.<br />

The following criteria must be met by the input geometry object for the mapping<br />

technique to work:<br />

• Each subdomain/face to be meshed must be bounded by one connected<br />

boundary component only.<br />

• Each subdomain/face to be meshed must be bounded by at least four edges.<br />

• The subdomains/faces to be meshed must not contain isolated vertices or edges.<br />

• The shape of each subdomain/face to be meshed must not differ too much from<br />

rectangular shape.<br />

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

PROPERTY VALUE DEFAULT DESCRIPTION<br />

edgegroups<br />

cell array of<br />

size 1-by-ns<br />

Determines the grouping of the edges,<br />

per subdomain/face, into four edge<br />

groups, corresponding to the edges of<br />

the logical square<br />

edgelem cell array Edge element distribution<br />

face numeric array |<br />

auto | all |<br />

none<br />

auto<br />

Specifies the faces in 3D that are<br />

meshed<br />

hauto numeric 5 Predefined mesh element size<br />

mcase integer 0 Mesh case number<br />

277

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

Saved successfully!

Ooh no, something went wrong!