21.01.2015 Views

COMSOL Multiphysics™

COMSOL Multiphysics™

COMSOL Multiphysics™

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

extrude<br />

Purpose<br />

extrude<br />

Extrude a 2D geometry object into a 3D geometry object.<br />

Syntax<br />

Description<br />

g3 = extrude(g2,...)<br />

g3 = extrude(g,...) extrudes the 2D geometry object g into a 3D geometry<br />

object g3 according to given parameters.<br />

The function extrude accepts the following property/values:<br />

TABLE 1-21: VALID PROPERTY/VALUE PAIRS<br />

PROPERTY VALUES DEFAULT DESCRIPTION<br />

Displ 2-by-nd matrix [0;0] Displacement of extrusion top<br />

Distance k-by-nd matrix 1 Extrusion distances<br />

Face string ’all’ Cross-sectional faces to delete<br />

Polres scalar 50 Polygon resolution<br />

Scale 2-by-nd matrix [1;1] Scale of extrusion top<br />

Twist 1-by-nd vector 0 Twist angle (in radians)<br />

Wrkpln 3-by-3 matrix [0 1 0;<br />

0 0 1;<br />

0 0 0]<br />

Work plane for 2D geometry<br />

cross-section<br />

The 3D object g3 is an extruded object, where Distance is the extrusion distance<br />

in the normal direction of the bottom plane, defined by the property Wrkpln.<br />

The properties Displ, Scale, and Twist defines the translation displacements, scale<br />

factors and rotation of the top with respect to the bottom of the extruded object.<br />

They are defined in the local system of the work plane.<br />

To define a piecewise linear extrusion, Distance is given as a row vector, of size<br />

1-by-nd, of displacements with respect to the bottom work plane. Scale, Displ<br />

and Twist need to have the same number of columns as Distance.<br />

To define a cubic extrusion Distance is given as a 3-by-nd matrix where rows 2 and<br />

3 contain weights of the extrusion segments. The weights are given in the interval<br />

[0 1] and specifies the influence of the tangential continuity at the junctions. The<br />

weights of rows 2 and 3 specifies the influence from the first- and second-junction,<br />

respectively, of each segment. If the weight is close to 0, the influence of the<br />

junction is weak, and if it is close to 1, the influence is strong.<br />

Polres defines the resolution in the polygon representations of the edges.<br />

115

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

Saved successfully!

Ooh no, something went wrong!