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.

meshsweep<br />

Purpose<br />

meshsweep<br />

Create swept mesh.<br />

Syntax<br />

Description<br />

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

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

fem.mesh = meshsweep(fem,...) returns a swept mesh derived from the 3D<br />

geometry in fem.geom.<br />

fem.mesh = meshsweep(geom,...) returns a swept mesh derived from the 3D<br />

geometry geom.<br />

A swept mesh is created for each subdomain by meshing the corresponding source<br />

face, if this face is not already meshed, and sweeping the resulting face mesh along<br />

the subdomain to the opposite target face.<br />

If the source face for a subdomain is not meshed prior to the meshsweep operation,<br />

the source face is automatically meshed with triangles using the free mesh generator<br />

(meshinit). Then, the swept mesh consists of prism elements. To create a swept<br />

mesh with hexahedral elements, you need to mesh the source face with quadrilateral<br />

elements using the mapped quad mesher (meshmap) prior to the meshsweep<br />

operation.<br />

The function meshsweep accepts the following property/value pairs.<br />

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

PROPERTY VALUE DEFAULT DESCRIPTION<br />

Elsweeplayers cell array Distribution of mesh element layers in the<br />

sweep direction<br />

Hauto numeric 5 Predefined mesh element size<br />

Mcase integer 0 Mesh case number<br />

Meshstart mesh empty Starting mesh<br />

object<br />

Out fem | mesh Output variables<br />

mesh<br />

Report on | off on Display progress<br />

Sourceface cell array Source faces<br />

Subdomain numeric auto Specifies the subdomains that are meshed<br />

array |<br />

auto |<br />

all |<br />

none<br />

Targetface cell array Target faces<br />

297

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

Saved successfully!

Ooh no, something went wrong!