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.

geomgroup<br />

Purpose<br />

geomgroup<br />

Groups geometry objects into an assembly.<br />

Syntax [g, ...] = geomgroup(gl, ...)<br />

[g, ...] = geomgroup(draw, ...)<br />

[g, ...] = geomgroup(fem, ...)<br />

Description<br />

[g, ...] = geomgroup(gl, ...) creates an assembly object g from the geometry<br />

objects in the cell array gl.<br />

[g, ...] = geomgroup(draw, ...) creates an assembly object g from the<br />

geometry objects in the draw struct draw.<br />

[g, ...] = geomgroup(fem, ...) creates an assembly object g from the<br />

geometry objects in the draw struct fem.draw.<br />

Note that the parts of assembly g are not identical to gl. They are canonized and<br />

may have additional domains due to imprints.<br />

The function supports the following properties:<br />

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

PROPERTY<br />

NAME<br />

PROPERTY VALUE DEFAULT DESCRIPTION<br />

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

information<br />

Ns<br />

cell array of<br />

strings<br />

{} Name space<br />

Out<br />

cell array of<br />

strings<br />

Paircand all | none |<br />

cell array of<br />

strings<br />

{’g’}<br />

all<br />

Cell array of strings: g, gt, st,<br />

ft, ct, pt, stx, ftx, ctx,<br />

ptx, pairs<br />

Specifies the geometries which are<br />

used to create the pair information<br />

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

Note: If the first syntax from above is used and the property paircand is a cell array<br />

of strings, also the property ns has to be specified.<br />

The output pairs is a cell array of sparse matrices containing the pair information<br />

of the operation. Element i contains information for pairs of domains of dimension<br />

i-1. The column refers to the source and the row to the destination.<br />

The output gt is a sparse matrix that relates the parts in the assembly to the original<br />

geometry objects. If an object has not been modified during the operation the value<br />

in gt is 1, otherwise 2.<br />

220 | CHAPTER 1: COMMAND REFERENCE

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

Saved successfully!

Ooh no, something went wrong!