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.

cone2, cone3<br />

Purpose<br />

cone2, cone3<br />

Construction function for circular cone geometry object.<br />

Syntax<br />

Description<br />

c3 = cone3<br />

c2 = cone2<br />

c3 = cone3(r,h)<br />

c2 = cone2(r,h)<br />

c3 = cone3(r,h,ang)<br />

c2 = cone2(r,h,ang)<br />

c3 = cone3(r,h,ang,...)<br />

c2 = cone2(r,h,ang,...)<br />

c3 = cone3 creates a solid circular cone geometry object with bottom radius and<br />

height equal to 1, top radius equal to 0.5, and the center of the bottom at the origin.<br />

cone3 is a subclass of econe3.<br />

c3 = cone3(r,h) creates a solid circular cone geometry object, with bottom radius<br />

r, height h, and top radius r/2.<br />

c3 = cone3(r,h,ang) creates a solid circular cone geometry object, with bottom<br />

radius r, height h, and the angle ang between the local z-axis and a generator of the<br />

conical surface. ang is given in radians in the interval [0,pi/2).<br />

The functions cone3/cone2 accept the following property/values:<br />

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

PROPERTY VALUE DEFAULT DESCRIPTION<br />

axis<br />

Vector of<br />

reals or cell<br />

array of<br />

strings<br />

[0 0] Local z-axis of the object<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 axis (radians)<br />

For more information on input arguments and properties see gencyl3.<br />

c2 = cone2(...) creates a surface circular cone geometry object without bottom<br />

and top faces, according to the arguments as described for cone3. cone2 is a<br />

subclass of econe2.<br />

44 | CHAPTER 1: COMMAND REFERENCE

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

Saved successfully!

Ooh no, something went wrong!