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.

loft<br />

Purpose<br />

loft<br />

Loft 2D geometry sections to 3D geometry.<br />

Syntax<br />

Description<br />

g3 = loft(gl,...)<br />

g3 = loft(gl,...) lofts the 2D geometry sections in gl to a 3D geometry object<br />

g3.<br />

gl is a cell array of size 1-by-ng of 2D geometry objects that belongs to one of the<br />

subclasses solid2 or curve2. That is, gl{i} contains the geometry object of<br />

section number i.<br />

The function loft accepts the following property/value pairs:<br />

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

PROPERTY VALUE DESCRIPTION<br />

LoftEdge<br />

LoftSgnEdge<br />

LoftVtxPair<br />

1-by-ng cell array of<br />

integer vectors<br />

1-by-ng cell array of<br />

integer vectors<br />

1-by-ng cell array of<br />

integer matrices with two<br />

rows<br />

Permutation vectors for edges<br />

Signed permutation vector for<br />

edges<br />

Permutation vector for vertex<br />

pairs<br />

LoftSecPos 1-by-3 cell array Positioning for 2D geometry<br />

sections<br />

Wrkpln<br />

1-by-ng cell array of 3-by-3<br />

matrices<br />

Work planes for 2D geometry<br />

sections<br />

LoftWeights Matrix of size 2-by-(ng-1) Cubic lofting weights<br />

LoftMethod linear | cubic Lofting method<br />

The properties LoftEdge, LoftSgnEdge or LoftVtxPair are needed to make the<br />

connection between edges and vertices in different sections unique.<br />

The property LoftEdge with the value {e1,e2,...} means that the edge with<br />

number e1(1) in gl{1} should be lofted to match the edge with number e2(1) in<br />

gl{2} and so on for all elements in e1 and e2.<br />

Likewise, the property LoftSgnEdge with the value {e1,e2,...} means the same<br />

thing, except that edges with different directions is indicated by using negative<br />

signs. This is often more reliable than LoftEdge above.<br />

The property LoftVtxPair is used in the same way, but uses pairs of vertices<br />

instead. Thus, LoftVtxPair with the value {v1,v2,...} means that the vertex<br />

with number v1(1,1) in gl{1} is to be matched with vertex number v2(1,1) in<br />

244 | CHAPTER 1: COMMAND REFERENCE

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

Saved successfully!

Ooh no, something went wrong!