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 />

dofs = xmeshinfo(xmesh,'out','dofs') returns information about DOFs in<br />

xmesh for the mesh case given by the property Mcase. The return value dofs is a<br />

struct with the following fields:<br />

TABLE 1-51: DOFS STRUCT<br />

FIELD<br />

mcase<br />

geomnums<br />

nodes<br />

coords<br />

names<br />

nameinds<br />

solcompinds<br />

alldofinds<br />

CONTENTS<br />

Mesh case number<br />

Geometry numbers for all DOFs (vector)<br />

Node numbers for all DOFs (vector)<br />

Global coordinates for all DOFs. The kth<br />

column of this matrix contains the coordinates<br />

of DOF number k.<br />

DOF names. Note that this is a subset of the<br />

property Dofname (if given).<br />

Indices into names for all DOFs (vector). The<br />

value 0 means that the DOF is not present in<br />

names.<br />

Indices into set of DOFs solved for<br />

(determined by property Solcomp) for all<br />

DOFs (vector). This field is only present if the<br />

Null property is given.<br />

Indices into total set of DOFs in the model for<br />

all DOFs (vector). This field is only present if<br />

the Solcomp property is given.<br />

OUTPUTS RELATED TO GEOMETRIES<br />

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

the part of xmesh determined by the properties Mcase and Geomnum. The return<br />

value nodes is a struct or a cell array of structs with the following fields:<br />

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

FIELD<br />

mcase<br />

geomnum<br />

names<br />

CONTENTS<br />

Mesh case number<br />

Geometry number<br />

DOF names in this geometry. Note that this is a<br />

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

404 | CHAPTER 1: COMMAND REFERENCE

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

Saved successfully!

Ooh no, something went wrong!