load_tam


Purpose

Loads pretest analysis data from .pch or .op2 files

Syntax

[tam,sa,sg] = load_tam('silent',tam_file,sg_file)
[tam,sa,sg] = load_tam
[tam,sa,sg] = load_tam('silent')
[tam,sa,sg] = load_tam('silent',tam_file)

Description

LOAD_TAM can load TAM matrices and analysis shapes from PCH or OP2 files, and can calculate TAM shapes using TAMeig.

The optional input string 'silent' suppresses output.

TAM_FILE is a string containing the name of a file containing TAM matrices. If TAM_FILE is not specified or contains wildcards (e.g. '*.op2'), a standard file dialog will appear. If TAM_FILE contains wildcards, it will be used as a filter for the file dialog.

SG_FILE is a string containing the name of a file containing analysis shapes. If SG_FILE is not specified or contains wildcards (i.e. '*.op2'), a standard file dialog will appear (only if the output SG is assigned). If SG_FILE contains wildcards, it will be used as a filter for the file dialog.

TAM is a structure containing TAM matrices with fields .aset, .oset, .sset, .mass, .stiffness, .viscous, .hysteretic, and .constraint.

SA is an imat_shp object containing TAM shapes. These are calculated from the ASET mass and stiffness matrices read from TAM_FILE using TAMEIG. If 0-mass DOF are detected, they will automatically be removed using FURTHER_GUYAN.

SG is an imat_shp object containing analysis shapes.

Examples

>> [tam,sa] = load_tam;
>> tam = load_tam('tam_file.pch');
>> [tam,sa,sg] = load_tam('silent','tam_file.op2','sg_file.pch');

See Also

load_extse, readnas, mat2subst, xform, TAMeig, further_guyan