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.

xmeshinfo<br />

TABLE 1-52: NODES STRUCT CORRESPONDING TO A GEOMETRY<br />

FIELD<br />

dofs<br />

coords<br />

CONTENTS<br />

DOF numbers for all nodes in this geometry.<br />

dofs(k,n) is the DOF number for DOF name<br />

names{k} at node point n. A value 0 means that<br />

there is no DOF with this name at the node.<br />

Global coordinates for all nodes. The nth column<br />

of the matrix coords contains the coordinates of<br />

node point number n.<br />

OUTPUTS RELATED TO MESH ELEMENT TYPES<br />

edims = xmeshinfo(xmesh,'out','edims') returns a vector containing the<br />

element dimensions in the part of xmesh determined by the properties Mcase,<br />

Geomnum, Edim, and Meshtype.<br />

types = xmeshinfo(xmesh,'out','types') returns a cell array of strings<br />

containing the mesh element types in the part of xmesh determined by the<br />

properties Mcase, Geomnum, Edim, and Meshtype.<br />

dofnames = xmeshinfo(xmesh,'out','dofnames') returns a cell array of strings<br />

containing the DOF names in the part of xmesh determined by the properties<br />

Mcase, Geomnum, Edim, Meshtype, Lnode, Dofname, and Ldof.<br />

ndofs = xmeshinfo(xmesh,'out','ndofs') returns the number of DOFs in the<br />

part of xmesh determined by the properties Mcase, Geomnum, Edim, Meshtype,<br />

Lnode, Dofname, and Ldof.<br />

elements = xmeshinfo(xmesh,'out','elements') returns information about<br />

mesh elements in the part of xmesh determined by the properties Mcase, Geomnum,<br />

Edim, and Meshtype. The return value elements is a struct or a cell array of structs<br />

with the following fields:<br />

TABLE 1-53: ELEMENTS STRUCT CORRESPONDING TO A MESH ELEMENT TYPE<br />

FIELD<br />

mcase<br />

geomnum<br />

edim<br />

type<br />

lnodes<br />

CONTENTS<br />

Mesh case number<br />

Geometry number<br />

Element dimension<br />

Mesh element type<br />

Local coordinates of nodes. The kth column of<br />

the matrix lnodes contains the coordinates of<br />

local node point number k. Note that lnodes is<br />

a subset of the property Lnode (if given).<br />

405

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

Saved successfully!

Ooh no, something went wrong!