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.

circ1, circ2<br />

Purpose<br />

circ1, circ2<br />

Create circle geometry object.<br />

obj = circ2<br />

obj = circ1<br />

obj = circ2(r,...)<br />

obj = circ1(r,...)<br />

Description<br />

obj = circ2 creates a solid circle geometry object with radius 1, centered at the<br />

origin. circ2 is a subclass of ellip2 and solid2.<br />

obj = circ2(r,...) creates a circle object with radius r, centered at the origin. r<br />

is a positive real scalar, or a string that evaluates to a positive real scalar, given the<br />

evaluation context provided by the property const.<br />

The functions circ2/circ1 accept the following property/values:<br />

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

PROPERTY VALUE DEFAULT DESCRIPTION<br />

base corner |<br />

center<br />

center Positions the object either centered<br />

about pos or with the lower left<br />

corner of surrounding box in pos<br />

const Cell array of {} Evaluation context for string inputs<br />

strings<br />

pos<br />

Vector of [0 0] Position of the object<br />

reals or cell<br />

array of<br />

strings<br />

rot real or string 0 Rotational angle about pos (radians)<br />

obj = circ1(...) creates a curve circle geometry object with properties as given<br />

for the circ2 function. circ1 is a subclass of ellip1 and curve2.<br />

Circle objects have the following properties:<br />

TABLE 1-8: CIRCLE OBJECT PROPERTIES<br />

PROPERTY<br />

r<br />

DESCRIPTION<br />

Radius<br />

base<br />

Base point<br />

x, y Position of the object<br />

rot<br />

Rotational angle<br />

In addition, all 2D geometry object properties are available. All properties can be<br />

accessed using the syntax get(object,property). See geom2 for details.<br />

41

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

Saved successfully!

Ooh no, something went wrong!