pyyeti.nastran.op2.rdnas2cam

pyyeti.nastran.op2.rdnas2cam(op2file='nas2cam', op4file=None)[source]

Read op2/op4 data written by the DMAP NAS2CAM.

Parameters:
  • op2file (string or None) – Either the basename of the .op2 and .op4 files, or the full name of the .op2 file. If None, a GUI is opened for file selection.

  • op4file (string or None) – The name of the .op4 file or, if None, builds name from the op2file input.

Returns:

  • nas (dictionary) – Dictionary with all members created by OP2.rdn2cop2() (see that routine’s help) and the following additional members.

  • ’nrb’ (integer) – The number of rigid-body modes for residual.

  • ’ulvs’ (dictionary indexed by SE) – The ULVS matrices (row partitions of residual modes to the A-set DOF of the SE).

  • ’lambda’ (dictionary indexed by SE) – The eigenvalues for each SE.

  • ’gm’ (dictionary indexed by SE) – N-set to M-set transformation matrix GM: M = GM N.

  • ’got’ (dictionary indexed by SE) – constraint modes

  • ’goq’ (dictionary indexed by SE) – normal modes

  • ’rfmodes’ (dictionary indexed by SE) – index partition vector for res-flex modes

  • ’maa’ (dictionary indexed by SE) – A-set mass

  • ’baa’ (dictionary indexed by SE) – A-set damping

  • ’kaa’ (dictionary indexed by SE) – A-set stiffness

  • ’pha’ (dictionary indexed by SE) – A-set modes

  • ’mdd’ (dictionary indexed by SE) – D-set mass

  • ’bdd’ (dictionary indexed by SE) – D-set damping

  • ’kdd’ (dictionary indexed by SE) – D-set stiffness

  • ’pdt’ (dictionary indexed by SE) – D-set loads

  • ’mgg’ (dictionary indexed by SE) – G-set mass

  • ’kgg’ (dictionary indexed by SE) – G-set stiffness

  • ’phg’ (dictionary indexed by SE) – G-set mode shape matrix

  • ’rbg’ (dictionary indexed by SE) – G-set rigid-body modes; see also drg output and rbgeom_uset

  • ’drg’ (dictionary indexed by SE) – G-set transpose of rigid-body modes; see also ‘rbg’ and pyyeti.nastran.n2p.rbgeom_uset(). drg = rbg.T if both are present.

  • ’pg’ (dictionary indexed by SE) – G-set loads

  • ’fgravh’ (array) – gravity on generalized dof for se 0

  • ’fgravg’ (array) – gravity on G-set physical dof for se 0

Notes

See OP2.rdn2cop2() for a description of what is expected of the op2file. The op4file is expected to contain certain marker matrices. Scalar SE_START starts each superelement and can be followed by any matrices for that superelement. The end of the superelement input is marked by a matrix named LOOP_END.

See also the Nastran DMAP NAS2CAM.