Download LiveLink for MATLAB User's Guide
Transcript
mphxmeshinfo
Extract information about the extended mesh.
Purpose
mphxmeshinfo
Syntax
info = mphxmeshinfo(model)
Description
The Xmesh information provide information about the numbering of elements,
nodes, and degrees of freedom (DOFs) in the extended mesh and in the matrices
returned by mphmatrix and mphgetu
Information is only available on StudyStep and Variables features.
The function mphxmeshinfo accepts the following property/value pairs:
TABLE 6-26: PROPERTY VALUE/PAIRS FOR THE MPHVIEWSELECTION FUNCTION
PROPERTY
VALUE
DEFAULT
DESCRIPTION
Solname
String
Active
solution
object
Solution object tag
Studysteptag
String
Meshcase
Positive
integer |
String
Study step node tag
First mesh
Mesh case tag
The function xmeshinfo returns a structure with the fields shown in the table below
TABLE 6-27: FIELD IN THE RETURNED STRUCTURE FROM MPHXMESHINFO
Example
FIELD
DESCRIPTION
Solname
Tag of the solution object
Ndofs
Number of DOFs
Fieldnames
Names of the field variables
Fieldndofs
Number of DOFs per field name
Meshtypes
Types of mesh element
Dofs
Structure with information about the degrees of
freedom
Nodes
Struct with information about the nodes
Elements
Struct with information about each element type
Load busbar.mph from the Model Library:
model = mphload('busbar.mph')
Extract xmesh information for the active Solver feature:
info = mphxmeshinfo(model)
Extract xmesh information from the Study Step node st1
261