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.

ellipsoid2, ellipsoid3<br />

the evaluation context provided by the property Const. The angle is assumed to be<br />

in radians if it is numeric, and in degrees if it is a string.<br />

obj = ellipsoid2(...) creates a surface ellipsoid object with the properties as<br />

given for the ellipsoid3 function. ellipsoid2 is a subclass of face3.<br />

Ellipsoid objects have the following properties:<br />

TABLE 1-19: ELLIPSOID OBJECT PROPERTIES<br />

PROPERTY<br />

DESCRIPTION<br />

a, b, c Semi-axes<br />

x, y, z, xyz Position of the object. Components and vector forms<br />

ax2<br />

ax3<br />

rot<br />

Rotational angle of symmetry axis<br />

Axis of symmetry<br />

Rotational angle<br />

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

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

Examples<br />

The following commands create a surface and solid ellipsoid object, where the<br />

position and semi-axis are defined in the two alternative ways.<br />

e2 = ellipsoid2(1,1,1,'pos',[0 1 0],'axis',[0 0 1],'rot',0)<br />

e3 = ellipsoid3(12,10,8)<br />

Compatibility The representation of the ellipsoid objects has been changed. The FEMLAB 2.3<br />

syntax is obsolete but still supported. If you use the old syntax or open 2.3 models<br />

containing ellipsoids they are converted to general face or solid objects.<br />

See Also<br />

face3, geom0, geom1, geom2, geom3, sphere3, sphere2<br />

92 | CHAPTER 1: COMMAND REFERENCE

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

Saved successfully!

Ooh no, something went wrong!