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.

gencyl2, gencyl3<br />

Purpose<br />

gencyl2, gencyl3<br />

Create straight homogeneous generalized cylinder geometry object.<br />

Syntax<br />

Description<br />

s3 = gencyl3<br />

s2 = gencyl2<br />

s3 = gencyl3(base)<br />

s2 = gencyl2(base)<br />

s3 = gencyl3(base,h)<br />

s2 = gencyl2(base,h)<br />

s3 = gencyl3(base,h,rat)<br />

s2 = gencyl2(base,h,rat)<br />

s3 = gencyl3(base,h,rat,...)<br />

s2 = gencyl2(base,h,rat,...)<br />

s3 = gencyl3 creates a solid straight homogenous generalized cylinder geometry<br />

object s3, with a solid circle base surface, cylinder axis of length 1 along the z-axis,<br />

and size of top surface equal to base surface. gencyl3 is a subclass of solid3.<br />

s3 = gencyl3(base) creates a solid straight homogenous generalized cylinder<br />

geometry object with base surface base.<br />

s3 = gencyl3(base,h) also sets the height of the generalized cylinder to h.<br />

s3 = gencyl3(base,h,rat) additionally specifies top surface with the scale factor<br />

rat with respect to the origin, that is, all 2D points in the top plane are obtained by<br />

multiplying the points in the base plane with rat.<br />

The functions gencyl3/gencyl2 accept the following property/values:<br />

TABLE 1-48: 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 />

Displ 2-by-nd [0;0] Displacement of extrusion top<br />

matrix<br />

Pos<br />

Vector of [0 0] Position of the bottom surface.<br />

reals or cell<br />

array of<br />

strings<br />

Rot real or string 0 Rotational angle about Axis (radians).<br />

194 | CHAPTER 1: COMMAND REFERENCE

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

Saved successfully!

Ooh no, something went wrong!