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.

geominfo<br />

Purpose<br />

geominfo<br />

Retrieve geometry information.<br />

Syntax [xx,...] = geominfo(geom,'Out', {'xx' ...},...)<br />

Description<br />

[xx,...] = geominfo(geom,'Out', {'xx',...},...) retrieves geometry<br />

information specified in property Out from the analyzed geometry geom.<br />

geom is an analyzed geometry, which is a geometry object, a mesh object or a<br />

Geometry M-file. The two latter formats are not supported in 3D. The<br />

Decomposed Geometry matrix of the PDE Toolbox is supported as well, but this<br />

alternative may be eliminated in future releases. For details on analyzed geometries,<br />

see the chapter “Geometry Modeling and CAD Tools” on page 21 in the <strong>COMSOL</strong><br />

Multiphysics User’s Guide or the Command Reference entries geomcsg,<br />

geomfile, and meshinit.<br />

In the following description, a geometric entity refers to a vertex, an edge segment,<br />

a face segment or a subdomain.<br />

• If geom is a 1D analyzed geometry, the geometric entities are vertices and 1D<br />

subdomains that are bounded by vertices.<br />

• If geom is a 2D analyzed geometry, the geometric entities are vertices, 1D edge<br />

segments bounded by vertices, that are assumed to be smooth in the interior, that<br />

is, sufficiently differentiable, and 2D subdomains bounded by edge segments.<br />

• If geom is a 3D analyzed geometry, the geometric entities are vertices, 1D edge<br />

segments bounded by vertices, 2D smooth face segments bounded by edges, and<br />

3D subdomains bounded by face segments.<br />

The function geominfo accepts the following property/values:<br />

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

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

Od ♦ ♦ ♦ Vector that contains geometric entity dimension<br />

numbers<br />

Odp ♦ ♦ ♦ Matrix with columns that contain geometric<br />

entity dimension number pairs<br />

Out ♦ ♦ ♦ Output arguments, cell array containing strings<br />

specifying the output arguments<br />

Par ♦ ♦ ♦ Cell array, where each element is a cell array<br />

containing two matrices defining geometric<br />

entity number and parameter values<br />

224 | CHAPTER 1: COMMAND REFERENCE

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

Saved successfully!

Ooh no, something went wrong!