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.

torus2, torus3<br />

Purpose<br />

torus2, torus3<br />

Create torus geometry object.<br />

Syntax<br />

Description<br />

t3 = torus3<br />

t2 = torus2<br />

t3 = torus3(rmaj,rmin)<br />

t2 = torus2(rmaj,rmin)<br />

t3 = torus3(rmaj,rmin,phi)<br />

t2 = torus2(rmaj,rmin,phi)<br />

t3 = torus3(rmaj,rmin,phi,...)<br />

t2 = torus2(rmaj,rmin,phi,...)<br />

t3 = torus3 creates a solid torus object with directrix radius 1 and generatrix radius<br />

0.5 about the z-axis. torus3 is a subclass of solid3.<br />

t3 = torus3(rmaj,rmin) creates a solid torus with directrix radius rmaj and<br />

generatrix radius rmin, where rmaj>rmin.<br />

t3 = torus3(rmaj,rmin,phi) additionally sets the revolution angle phi of the<br />

torus.<br />

The functions torus3/torus2 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 />

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 />

t3 = torus2(...) works similarly to above, but creates a surface torus object.<br />

torus2 is a subclass of face3.<br />

Torus objects have the following properties:<br />

TABLE 1-49: TORUS OBJECT PROPERTIES<br />

PROPERTY<br />

rmaj<br />

rmin<br />

DESCRIPTION<br />

Directrix.<br />

Generatrix.<br />

400 | CHAPTER 1: COMMAND REFERENCE

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

Saved successfully!

Ooh no, something went wrong!