Create a substructure universal file for I-deas Test/Correlation
writesubst('filename',v)
writesubst('filename','aset',aset,'oset',oset,'mass',maa,...)
The WRITESUBST function allows you to create a substructure universal file that can be imported into I-deas Test to allow orthogonality calculations and back expansion. The universal file will contain a dataset 164 (units), dataset 2411 (nodes), dataset 247 (structural DOF), and datasets 252 (matrices). The resulting file should be imported into I-deas Test using File/Import and selecting 'Substructure Universal File'. You will need to select the same filename twice.
The filename argument is a string specifying the universal file to write. If wildcards are included in the filename, then a standard file dialog will be presented, allowing the user to choose the file.
The data to write to the universal file can be provided either in a MATLAB structure variable v (syntax 1), or with alternating entity names and values (syntax 2). The possible fields and entity names, and the associated values, are as follows:
v.aset | imat_ctrace of independent DOF (size Na) |
v.oset | imat_ctrace of constrained (dependent) DOF (size No) |
v.sset | imat_ctrace of restrained DOF (size Ns) |
v.mass | Na x Na mass matrix |
v.stiffness | Na x Na stiffness matrix |
v.viscous | Na x Na viscous damping matrix |
v.hysteretic | Na x Na hysteretic damping matrix |
v.constraint | No x Na back expansion matrix |
(Some of these fields may be omitted if the associated matrix or set is not to be included in the substructure universal file.) Note that the matrix rows and columns should be in the same order as the associated coordinate traces. The MATLAB structure is in the same format as that returned by readunv.
When writing the substructure universal file, WRITEUNV will move any s-set degrees of freedom into the o-set in order to minimize the size of the substructure. It will also fill in any missing degrees of freedom (including rotational degrees of freedom). This minimizes problems during back expansion in I-deas Test.
Important note: unlike most universal files, I-deas Test ignores the units in a substructure universal file. Therefore, it is important that you have the correct units selected in I-deas when you import the file.
>> v.aset=imat_ctrace('1x','2x','2y','2z');
>> v.mass=eye(4);
>> writesubst('test_subst.unv',v);