pyyeti.nastran.op2.nastran_dr_descriptions

pyyeti.nastran.op2.nastran_dr_descriptions()[source]

Get dictionary of descriptions for Nastran data recovery items.

Normally called by procdrm12().

Returns:

desc (dictionary) – Has keys: ‘acce’, ‘spcf’, ‘force’, ‘stress’:

desc['acce'] : numpy string array
    ['T1', 'T2', 'T3',  'R1', 'R2', 'R3']
desc['spcf'] : numpy string array
    ['Fx', 'Fy', 'Fz',  'Mx', 'My', 'Mz']
desc['force'] : dict
    Dictionary with element numbers as keys to numpy
    string arrays.
desc['stress'] : dict
    Dictionary with element numbers as keys to numpy
    string arrays.

Notes

The force and stress dictionaries are indexed by the element id. For example, for the CBAR (which is element 34):

desc['force'][34] = ['CBAR Bending Moment 1 - End A',
                     'CBAR Bending Moment 2 - End A',
                     ...]
desc['stress'][34] = ['CBAR Bending Stress 1 - End A',
                      'CBAR Bending Stress 2 - End A',
                      ...]