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.

pyramid2, pyramid3<br />

Purpose<br />

pyramid2, pyramid3<br />

Create rectangular pyramid geometry object.<br />

Syntax<br />

Description<br />

rp3 = pyramid3<br />

rp2 = pyramid2<br />

rp3 = pyramid3(a,b,h)<br />

rp2 = pyramid2(a,b,h)<br />

rp3 = pyramid3(a,b,h,rat)<br />

rp2 = pyramid2(a,b,h,rat)<br />

rp3 = pyramid3(a,b,h,rat,...)<br />

rp2 = pyramid2(a,b,h,rat,...)<br />

ec3 = pyramid3 creates a solid rectangular pyramid geometry object with height<br />

and side lengths of bottom surface equal to one, axis along the coordinate z-axis,<br />

and the center of the bottom surface at the origin. pyramid3 is a subclass of<br />

gencyl3.<br />

ec3 = pyramid3(a,b,h) creates a solid rectangular pyramid geometry object with<br />

side lengths a and b and height h.<br />

ec3 = pyramid3(a,b,h,rat) creates a pyramid with the non-negative ratio rat<br />

between the top and bottom surface.<br />

The functions pyramid3/pyramid2 accept the following property/values:<br />

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

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

373

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

Saved successfully!

Ooh no, something went wrong!