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.

sphere3, sphere2<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 = sphere2(...) creates a surface sphere object with the properties as given<br />

for the sphere3 function. sphere2 is a subclass of ellipsoid2.<br />

Sphere objects have the following properties:<br />

TABLE 1-42: SPHERE OBJECT PROPERTIES<br />

PROPERTY<br />

DESCRIPTION<br />

r<br />

Radius<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 sphere object, where the<br />

position and radius are defined in the two alternative ways.<br />

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

s3 = sphere3(4)<br />

Compatibility The representation of the sphere 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 spheres they are converted to general face or solid objects.<br />

See Also<br />

geom0, geom1, geom2, geom3, ellipsoid2, ellipsoid3<br />

393

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

Saved successfully!

Ooh no, something went wrong!