oee_energy Package
oee_objects
Module
digraph inheritance3e159fd9f8 {
bgcolor=transparent;
rankdir=LR;
size="";
"pyNastran.op2.op2_interface.op2_codes.Op2Codes" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled"];
"pyNastran.op2.result_objects.op2_objects.BaseElement" [URL="../result_objects/pyNastran.op2.result_objects.html#pyNastran.op2.result_objects.op2_objects.BaseElement",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"];
"pyNastran.op2.result_objects.op2_objects.ScalarObject" -> "pyNastran.op2.result_objects.op2_objects.BaseElement" [arrowsize=0.5,style="setlinewidth(0.5)"];
"pyNastran.op2.result_objects.op2_objects.BaseScalarObject" [URL="../result_objects/pyNastran.op2.result_objects.html#pyNastran.op2.result_objects.op2_objects.BaseScalarObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="The base scalar class is used by:"];
"pyNastran.op2.op2_interface.op2_codes.Op2Codes" -> "pyNastran.op2.result_objects.op2_objects.BaseScalarObject" [arrowsize=0.5,style="setlinewidth(0.5)"];
"pyNastran.op2.result_objects.op2_objects.ScalarObject" [URL="../result_objects/pyNastran.op2.result_objects.html#pyNastran.op2.result_objects.op2_objects.ScalarObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Used by all vectorized objects including:"];
"pyNastran.op2.result_objects.op2_objects.BaseScalarObject" -> "pyNastran.op2.result_objects.op2_objects.ScalarObject" [arrowsize=0.5,style="setlinewidth(0.5)"];
"pyNastran.op2.tables.oee_energy.oee_objects.ComplexStrainEnergyArray" [URL="#pyNastran.op2.tables.oee_energy.oee_objects.ComplexStrainEnergyArray",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="::"];
"pyNastran.op2.result_objects.op2_objects.BaseElement" -> "pyNastran.op2.tables.oee_energy.oee_objects.ComplexStrainEnergyArray" [arrowsize=0.5,style="setlinewidth(0.5)"];
"pyNastran.op2.tables.oee_energy.oee_objects.RealStrainEnergyArray" [URL="#pyNastran.op2.tables.oee_energy.oee_objects.RealStrainEnergyArray",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="::"];
"pyNastran.op2.result_objects.op2_objects.BaseElement" -> "pyNastran.op2.tables.oee_energy.oee_objects.RealStrainEnergyArray" [arrowsize=0.5,style="setlinewidth(0.5)"];
}
- class pyNastran.op2.tables.oee_energy.oee_objects.ComplexStrainEnergyArray(data_code, is_sort1, isubcase, dt)[source]
Bases:
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
- property is_complex: bool
- property is_real: bool
- class pyNastran.op2.tables.oee_energy.oee_objects.RealStrainEnergyArray(data_code, is_sort1, isubcase, dt)[source]
Bases:
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
- classmethod add_static_case(table_name, element_name, element, data, isubcase, is_sort1=True, is_random=False, is_msc=True, random_code=0, title='', subtitle='', label='')[source]
- build_dataframe()[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
- property is_complex: bool
- property is_real: bool
- write_csv(csv_file: TextIO, is_exponent_format: bool = False, is_mag_phase: bool = False, is_sort1: bool = True, write_header: bool = True)[source]
onr
Module
digraph inheritance752215ed20 {
bgcolor=transparent;
rankdir=LR;
size="";
"pyNastran.op2.tables.oee_energy.onr.ONR" [URL="#pyNastran.op2.tables.oee_energy.onr.ONR",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"];
}
- class pyNastran.op2.tables.oee_energy.onr.ONR(op2: OP2)[source]
Bases:
object
- property factor: int
- get_onr_prefix_postfix() tuple[str, str] [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
- property size: int
- pyNastran.op2.tables.oee_energy.onr.complex_strain_energy_4(op2, data, sort_method, size, n, ntotal, nnodes, dt)[source]
- pyNastran.op2.tables.oee_energy.onr.real_strain_energy_4(op2: OP2, data: bytes, sort_method: int, size: int, n: int, ntotal: int, nelements: int, dt) int [source]
(eid_device eid energy percent density) (11 1 0.0114 0.1983 0.01147) typical ( 0 0 0 0 -1) optistruct - final (1000000000 100000000 sum sum NaN) nx/msc - final