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

is requested for. The property Ldof is a cell array where the first row contains DOF<br />

names, and the remaining rows contain local coordinates.<br />

NUMBERING CONVENTIONS<br />

The numbering provided by xmeshinfo corresponds to the numbering in the mesh<br />

data structure (see femmesh). The extended mesh uses a different numbering<br />

internally. All numberings are 1-based.<br />

• Elements. For each mesh element type, the element numbering of femmesh is<br />

used.<br />

• Node points. The node points in femmesh have the same numbers in the extended<br />

mesh. Additional node points have higher numbers (these are arbitrarily<br />

ordered).<br />

• Local node points. The numbering of the local node points within a mesh element<br />

is different from the numbering in femmesh. However, the same definition of the<br />

local coordinate system is used. In the extended mesh, the local node points are<br />

ordered in lexicographical order of their local coordinates. In femmesh, the mesh<br />

vertices come first, in lexicographical order, and then come the other node points<br />

in lexicographical order (the latter are only present for a second-order mesh).<br />

• DOFs. By default, the DOF number is the index in the complete set of degrees of<br />

freedom of the model. If the property Solcomp is given, the DOF number is the<br />

index in the set of DOFs solved for. If the property Null is given, it is assumed<br />

that the Eliminate constraint handling method is used, and the DOF number is<br />

the index in the set of unconstrained DOFs. This assumes a simple form of the<br />

constraints, where each constraint only constrains one DOF. In other words, each<br />

column of the Null matrix has a single nonzero element. If Null does not have<br />

this form, an error message is given. The Null matrix is an output from the<br />

solvers (see femlin).<br />

OUTPUTS WITH GLOBAL SCOPE<br />

mcases = xmeshinfo(xmesh,'out','mcases') returns an integer vector<br />

containing all mesh cases in the extended mesh xmesh.<br />

femindex = xmeshinfo(xmesh,'out','femindex') returns an integer vector<br />

containing indices into xfem.fem for all geometries in xmesh. That is, geometry<br />

geomnum in xmesh is xfem.fem{femindex(geomnum)}.geom.<br />

403

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

Saved successfully!

Ooh no, something went wrong!