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.

meshinit<br />

Purpose<br />

meshinit<br />

Build an initial mesh.<br />

Syntax<br />

Description<br />

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

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

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

fem.mesh = meshinit(fem,...) returns a mesh object derived from the<br />

geometry object fem.geom. It uses a Delaunay algorithm. The mesh size is<br />

determined from the shape of the geometry object and various property/value<br />

pairs.<br />

fem.mesh = meshinit(geom,...) returns a mesh object derived from the<br />

geometry object geom.<br />

The mesh object fem.mesh is the data structure for the mesh. See femmesh for a<br />

full description of the mesh object.<br />

fem = meshinit(fem,'Out',{'fem'},...) modifies the FEM structure to<br />

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

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

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

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

auto<br />

edge ♦ ♦ numeric<br />

array |<br />

auto |<br />

all |<br />

none<br />

Specifies the edges<br />

that are meshed<br />

edgelem ♦ ♦ cell array Edge element<br />

distribution<br />

face ♦ numeric<br />

array |<br />

auto Specifies the faces<br />

that are meshed<br />

auto |<br />

all |<br />

none<br />

hauto ♦ ♦ numeric 5 Automatic setting of<br />

several mesh<br />

parameters<br />

hcurve ♦ numeric 0.3 Curvature mesh size<br />

hcurve ♦ numeric 0.6 Curvature mesh size<br />

hcurveedg ♦ ♦ numeric<br />

array<br />

hcurve<br />

Curvature mesh size<br />

for edges<br />

266 | CHAPTER 1: COMMAND REFERENCE

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

Saved successfully!

Ooh no, something went wrong!