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.

geomanalyze<br />

Purpose<br />

geomanalyze<br />

Decompose and analyze geometry of FEM problem.<br />

Syntax fem = geomanalyze(fem, ...)<br />

fem = geomanalyze(fem, draw, ...)<br />

[fem, map] = geomanalyze(fem, ...)<br />

Description<br />

fem = geomanalyze(fem,...) analyzes and updates the geometry data for the<br />

model defined by fem.<br />

fem = geomanalyze(fem, draw, ...) analyzes and updates the geometry data<br />

in the model defined by fem. draw is one or several input arguments given in the<br />

same ways as in geomcsg.<br />

[fem, map] = geomanalyze(fem, ...) additionally returns a cell array of vectors<br />

representing the mappings for the different domains. Each element in these vectors<br />

gives the associated index of that entity in fem.geom before the call.<br />

The function supports the following property/values:<br />

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

PROPERTY<br />

NAME<br />

PROPERTY VALUE DEFAULT DESCRIPTION<br />

Geomnum integer 1 Geometry number<br />

Imprint on | off on Make imprints when creating<br />

pairs<br />

Ns cell array of strings {} Name space<br />

Paircand<br />

all | none | cell<br />

array of strings<br />

not<br />

specified<br />

Specifies the geometries<br />

among which pairs are created<br />

Repairtol positive scalar 0.0 Tolerance for repairing gaps<br />

Sf string union Boolean expression<br />

Solidify on | off off Coerce the result to a solid<br />

If the property paircand is not specified, the geometry data in the model is the<br />

result of the boolean operation specified in the property sf. See geomcsg for more<br />

details.<br />

If the property paircand is specified, an assembly geometry is created. In addition<br />

identity pairs are created using the property imprint. See geomgroup for details.<br />

The above properties are explained in geomcsg and geomgroup respectively.<br />

Example<br />

The following is an example of a circle containing the source for the model, moving<br />

through two different subdomains.<br />

200 | CHAPTER 1: COMMAND REFERENCE

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

Saved successfully!

Ooh no, something went wrong!