pyyeti.nastran.op2.rdpostop2

pyyeti.nastran.op2.rdpostop2(op2file=None, verbose=False, getougv1=False, getoef1=False, getoes1=False)[source]

Reads PARAM,POST,-1 op2 file and returns dictionary of data.

Warning

This routine may be removed in the future in favor of rdparampost().

Parameters:
  • op2file (string or None) – Name of op2 file. If None, a GUI is opened for file selection.

  • verbose (bool) – If True, echo names of tables and matrices to screen

  • getougv1 (bool) – If True, read the OUGV1, OUG1, or BOPHIG matrices, if any

  • getoef1 (bool) – If True, read the OEF1* matrices, if any

  • getoes1 (bool) – If True, read the OES1* matrices, if any

Returns:

  • dictionary

  • ’uset’ (pandas DataFrame) – A DataFrame as output by OP2.rdn2cop2()

  • ’cstm’ (array) – 14-column matrix containing the coordinate system transformation matrix for each coordinate system. See description in class OP2, member function OP2.rdn2cop2().

  • ’cstm2’ (dictionary) – Dictionary indexed by the coordinate system id number. This has the same information as ‘cstm’, but in a different format. See description in class OP2, member function OP2.rdn2cop2().

  • ’gpwg’ (dictionary; optional) – Only present if the “OGPWG” table is present in the op2 file. The dictionary is the output of OP2.rdop2gpwg().

  • ’mats’ (dictionary) – Dictionary of matrices read from op2 file and indexed by the name. The ‘tload’ entry is a typical entry. Will also contain lists of ‘OUGV1’, ‘EOF1*’, and ‘EOS1*’ matrices if the respective get* flag is set and those entries are present.

  • ’selist’ (2d ndarray) – 2-columns matrix: [ seid, dnseid ] where, for each row, dnseid is the downstream superelement for seid. (dnseid = 0 if seid = 0).

  • ’sebulk’ (2d ndarray) – output record from GEOM1 of SE 0

  • ’seload’ (2d ndarray) – output record from GEOM1 of SE 0

  • ’seconct’ (1d ndarray) – output record from GEOM1 of SE 0

  • ’geom1’ (dictionary) – Dictionary of GEOM1 data blocks; key is SE. Will not be present if number of GEOM1 data blocks did not line up with the sebulk array. See ‘geom1_list’.

  • ’geom1_list’ (list) – List of all GEOM1 data blocks in order. Data also in ‘geom1’ dictionary.