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.

hexahedron2, hexahedron3<br />

Purpose<br />

hexahedron2, hexahedron3<br />

Create bilinear hexahedron geometry object.<br />

Syntax<br />

Description<br />

h2 = hexahedron2(p)<br />

h3 = hexahedron3(p)<br />

h3 = hexahedron3(p) creates a solid hexahedron object with corners in the 3D<br />

coordinates given by the eight columns of p. hexahedron3 is a subclass of solid3.<br />

h2 = hexahedron2(p) creates a surface hexahedron object with corners in the 3D<br />

coordinates given by the eight columns of p. hexahedron3 is a subclass of face3.<br />

For a hexahedron approximately aligned to the coordinate planes, the points in p<br />

are ordered as follows. The first four points and the last four points projected down<br />

to the (x,y)-plane defines two negatively oriented quadrangles. The corresponding<br />

plane for the second quadrangle must lie above the plane of the first quadrant in the<br />

z-direction. Generally oriented hexahedra have the points of p ordered in a similar<br />

way, except for a rigid transformation of the defining point set.<br />

The default value of p is<br />

p=[0 0 1 1 0 0 1 1;<br />

0 1 1 0 0 1 1 0;<br />

0 0 0 0 1 1 1 1]<br />

The 3D geometry object properties are available. The properties can be accessed<br />

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

Example<br />

The following command generates a solid hexahedron object.<br />

h3 = hexahedron3([0 0 1 1 0 0 1 1;...<br />

0 0.8 1 0 0 1 1.2 0;...<br />

0 0.1 0 0.2 1 1 2 1]);<br />

See Also<br />

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

242 | CHAPTER 1: COMMAND REFERENCE

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

Saved successfully!

Ooh no, something went wrong!