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.

solid0, solid1, solid2, solid3<br />

Purpose<br />

solid0, solid1, solid2, solid3<br />

Constructor function for solid object.<br />

Syntax<br />

Description<br />

p3 = solid3(vtx,vtxpre,edg,edgpre,fac,mfdpre,mfd)<br />

[s3,...] = solid3(g3,...)<br />

s3 = solid3(g2)<br />

p2 = solid2(vtx,edg,mfd)<br />

[s2,...] = solid2(g,...)<br />

s1 = solid1(x)<br />

s1 = solid1(vtx)<br />

[s1,...] = solid1(g,..)<br />

s0 = solid0(full)<br />

[s0,...] = solid0(p,...)<br />

s3 = solid3(vtx,vtxpre,edg,edgpre,fac,mfdpre,mfd) creates 3D solid<br />

geometry object s3 from the arguments vtx, vtxpre, edg, edgpre, fac, mfdpre,<br />

mfd. The arguments must define a valid 3D solid object. See geom3 for a description<br />

of these arguments.<br />

[s3,...] = solid3(g3,...) coerces the 3D geometry object g3 to a 3D solid<br />

object s3.<br />

s3 = solid3(g2) coerces the 2D geometry object g2 to a 3D solid object s3, by<br />

embedding g2 in the plane, z = 0.<br />

p2 = solid2(vtx,edg,mfd) creates a 2D solid geometry object from the the<br />

properties vtx, edg, and mfd. The arguments must define a valid 2D solid object.<br />

See geom2 for a description of these arguments.<br />

[s2,...] = solid2(g,...) coerces the 2D geometry object to a 2D solid object.<br />

s1 = solid1(x) creates a 1D solid object that spans all the coordinate values in the<br />

vector x.<br />

s1 = solid1(vtx) creates a 1D solid geometry object from vtx. The arguments<br />

must define a valid 2D solid object. See geom1 for a description of this argument.<br />

[s1,...] = solid1(g,...) coerces the 1D geometry object to a 1D solid object.<br />

g = solid0(full) creates a 0D solid geometry object, where the Boolean full<br />

determines if the object is empty or not.<br />

g = solid0(p) creates a 0D solid geometry object, where p is a matrix of size<br />

0-by-1.<br />

[s0,...] = solid0(g,...) coerces the 0D geometry object to a 0D solid object.<br />

390 | CHAPTER 1: COMMAND REFERENCE

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

Saved successfully!

Ooh no, something went wrong!