pyyeti.nastran.op2.OP2¶
- class pyyeti.nastran.op2.OP2(filename)[source]¶
Class for reading Nastran op2 files and nas2cam data files.
Methods
__init__(filename)directory([verbose, redo, with_headers, ...])Catalogues and optionally prints contents of op2 file
Returns the op2 file handle
go_to_next_db()Seek to start of next data block from current position
Set file position at start of next data block
near_db_end()True if "near" end of data block (there are no more records).
Get information on the next data block in the file
prtdir([with_headers, with_trailers])Prints op2 data block directory.
rddrm2op2([verbose])Read op2 file output by DRM2 DMAP.
rdn2cop2()Read Nastran output2 file written by DMAP NAS2CAM; usually called by
rdnas2cam().Reads the TLOAD data from a DYNAMICS data block.
rdop2eot()Read Nastran output2 end-of-table marker.
Read the OGPWG data block, which contains model mass properties.
Reads Nastran output2 header label.
rdop2matrix(trailer)Read and return Nastran op2 matrix at current file position.
rdop2mats([names, lower, verbose, which])Read all matrices from Nastran output2 file.
rdop2nt()Read Nastran output2 data block name and trailer.
rdop2ogf(name)Read an OGF-formatted data block
rdop2opg([name])Read the OPG data block, which contains applied forces.
rdop2oug(name)Read an OUG-formatted data block
rdop2record([form, N])Read Nastran output2 data record.
Read op2 table headers into a list
Returns the TLOAD data from an op2 file.
rdparampost(*[, verbose, get_all, get_mats, ...])Reads PARAM,POST,-1 op2 file and returns dictionary of data.
rdparampost_old([verbose, get_all, ...])Reads PARAM,POST,-1 op2 file and returns dictionary of data.
set_position(pos[, which])Set the op2 file position
Skip Nastran op2 matrix at current position.
Skip over Nastran output2 data record (or super-record).
Skip over Nastran output2 table.
Attributes
CodeFuncsSee
_check_code().