Load external superelement from MATOP4 EXTSEOUT format
[tam,fem] = load_extse()
[tam,fem] = load_extse(op4,pch[,'silent'])
LOAD_EXTSE imports external superelements (which could be a TAM) from a Nastran OP4 file. Since the OP4 file contains only matrices with no DOF, you must also supply a PCH file containing the ASET DOF (from ASET cards) and TUG1 Direct Table Input (DTI) in bulk format.
LOAD_EXTSE looks in the OP4 file for MXX or MAA for the mass matrix and KXX or KAA for the stiffness matrix. It looks for viscous damping in BXX or BAA. It looks for hysteretic damping in K4XX or K4AA. Finally, it looks for the constraint matrix in MUG1. It then assembles the output.
To generate the inputs necessary for this function, in your Nastran case control use EXTSEOUT(MATOP4=#,EXTID=10,ASMBULK), there # is the unit number for the OP4 file.
OP4 is a string containing the OP4 filename. If not supplied, or the filename contains wildcards, you will be prompted to select the file with a graphical file dialog.
PCH is a string containing the PCH filename. If not supplied, or the filename contains wildcards, you will be prompted to select the file with a graphical file dialog.
The optional input string 'silent' suppresses output.
TAM is a structure containing the external superelement.
.aset | ASET DOF |
.oset | OSET DOF |
.mass | Mass matrix (ASETxASET) |
.stiffness | Stiffness matrix (ASETxASET) |
.viscous | Viscous damping matrix (ASETxASET) |
.hysteretic | Hysteretic damping matrix (ASETxASET) |
.constraint | Constraint matrix (OSETxASET) |
FEM is an imat_fem containing the FEM, if it is found in the PCH file.
>> tam = load_tam;
>> tam = load_tam('tam_file.op4','tam_file.pch','silent');