oee_energy Package

oee_objects Module

Inheritance diagram of pyNastran.op2.tables.oee_energy.oee_objects
class pyNastran.op2.tables.oee_energy.oee_objects.ComplexStrainEnergyArray(data_code, is_sort1, isubcase, dt)[source]

Bases: pyNastran.op2.result_objects.op2_objects.BaseElement

      FREQUENCY =  2.000000E+03
                               E L E M E N T   S T R A I N   E N E R G I E S   ( A V E R A G E )

                ELEMENT-TYPE = QUAD4               * TOTAL ENERGY OF ALL ELEMENTS IN PROBLEM     =   1.611784E-08
                SUBCASE               1            * TOTAL ENERGY OF ALL ELEMENTS IN SET      -1 =   1.611784E-08
0
                       ELEMENT-ID       STRAIN-ENERGY (MAG/PHASE)               PERCENT OF TOTAL    STRAIN-ENERGY-DENSITY
                                5       2.027844E-10 /   0.0                         1.2581              2.027844E-09
assert_equal(self, table, rtol=1e-05, atol=1e-08)[source]
build(self)[source]

sizes the vectorized attributes of the ComplexStrainEnergyArray

build_data(self, dtype)[source]

actually performs the build step

get_headers(self)[source]
get_stats(self, short=False)[source]
is_complex
is_real
write_f06(self, f06_file, header=None, page_stamp='PAGE %s', page_num=1, is_mag_phase=False, is_sort1=True)[source]
class pyNastran.op2.tables.oee_energy.oee_objects.RealStrainEnergyArray(data_code, is_sort1, isubcase, dt)[source]

Bases: pyNastran.op2.result_objects.op2_objects.BaseElement

                          E L E M E N T   S T R A I N   E N E R G I E S

ELEMENT-TYPE = QUAD4     * TOTAL ENERGY OF ALL ELEMENTS IN PROBLEM   = 9.817708E+08
SUBCASE               1  * TOTAL ENERGY OF ALL ELEMENTS IN SET     1 = 4.192036E+08

   ELEMENT-ID   STRAIN-ENERGY  PERCENT OF TOTAL  STRAIN-ENERGY-DENSITY
           12   2.291087E+07        2.3336            2.291087E+02
           13   1.582968E+07        1.6124            1.055312E+02
           14   6.576075E+07        6.6982            3.288037E+02
assert_equal(self, table, rtol=1e-05, atol=1e-08)[source]
build(self)[source]

sizes the vectorized attributes of the RealStrainEnergyArray

build_data(self, dtype)[source]

actually performs the build step

build_dataframe(self)[source]

major-axis - the axis

mode 1 2 3 freq 1.0 2.0 3.0 ElementID Item 1 T1

major_axis / top = [
[1, 2, 3], [1.0, 2.0, 3.0]

] minor_axis / headers = [ese, %, sed] name = mode

finalize(self)[source]
get_headers(self)[source]
get_stats(self, short=False)[source]
is_complex
is_real
set_as_sort1(self)[source]

changes the table into SORT1

write_f06(self, f06_file, header=None, page_stamp='PAGE %s', page_num=1, is_mag_phase=False, is_sort1=True)[source]
write_op2(self, op2, op2_ascii, itable, new_result, date, is_mag_phase=False, endian='>')[source]

writes an OP2

onr Module

Inheritance diagram of pyNastran.op2.tables.oee_energy.onr
class pyNastran.op2.tables.oee_energy.onr.ONR[source]

Bases: pyNastran.op2.op2_interface.op2_common.OP2Common

get_onr_prefix_postfix(self)[source]

Creates the prefix/postfix that splits off ATO, CRM, PSD, nonlinear, etc. results. We also fix some of the sort bits as typing:

STRESS(PLOT,SORT1,RALL) = ALL

will actually create the OESRMS2 table (depending on what else is in your case control). However, it’s in an OESATO2 table, so we know it’s really SORT2.

Also, if you’re validating the sort_bit flags, *RMS2 and *NO2 are actually SORT1 tables.

NX Case Control Block Description =============== ========== =========== NLSTRESS OESNLXR Nonlinear static stresses BOUTPUT OESNLBR Slideline stresses STRESS OESNLXD Nonlinear Transient Stresses STRESS OES1C/OSTR1C Ply stresses/strains STRESS OES1X Element stresses with intermediate (CBAR and CBEAM)

station stresses and stresses on nonlinear elements

STRESS OES/OESVM Element stresses (linear elements only) STRAIN OSTR1 Element strains STRESS/STRAIN DOES1/DOSTR1 Scaled Response Spectra MODCON OSTRMC Modal contributions