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.

geomcsg<br />

Out specifies the output arguments from geomcsg. The outputs stx, ftx, ctx, and<br />

ptx correspond to st, ft, ct, and pt but contain more detailed information about<br />

the geometric entity relations.<br />

stx is a cell array of matrices similar to st. Each matrix contains the relation<br />

between subdomains in each solid object in the inputs, and the final subdomains in<br />

the output g.<br />

ftx is a cell array of matrices similar to ft. Each matrix contains the relation<br />

between face segments in each solid object and face object in the inputs, and the<br />

final face segments in the output g.<br />

ctx is a cell array of matrices similar to ct. Each matrix contains the relation<br />

between edge segments in each solid object and curve object in the inputs, and the<br />

final edge segments in the output g.<br />

ptx is a cell array of matrices similar to pt. Each matrix contains the relation<br />

between vertices in each solid object, face object, curve object, and point object in<br />

the inputs, and the final vertices in the output g.<br />

Sf represents a set formula with variables names from ns. The operators +, ∗, and<br />

− correspond to the set operations union, intersection, and set difference,<br />

respectively. The precedence of the operators + and − are the same. ∗ has higher<br />

precedence. You can control the precedence with parentheses.<br />

Ns is a cell array of variable names that relates the elements in sl to variable names<br />

in sf. Each element in ns contains a variable name. Each such variable assigns a<br />

name to the corresponding solid object in sl. This way you can refer to a solid<br />

object in sl in the set formula sf.<br />

Geometry Model<br />

The geometry model fem.draw contains the following fields:<br />

TABLE 1-57: GEOMETRY MODEL OR DRAW STRUCTURE<br />

FIELD 1D 2D 3D DESCRIPTION<br />

s.objs ♦ ♦ ♦ Cell array of solid objects<br />

s.name ♦ ♦ ♦ Cell array of names (default for the<br />

property ns)<br />

s.sf ♦ ♦ ♦ String with Boolean expression (default<br />

for the property sf)<br />

f.objs ♦ Cell array of face objects<br />

208 | CHAPTER 1: COMMAND REFERENCE

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

Saved successfully!

Ooh no, something went wrong!