oes_stress_strain Package

oes_nonlinear_rod Module

digraph inheritance5b7eb3ae8d { 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.oes_stressStrain.oes_nonlinear_rod.RealNonlinearRodArray" [URL="#pyNastran.op2.tables.oes_stressStrain.oes_nonlinear_rod.RealNonlinearRodArray",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.tables.oes_stressStrain.real.oes_objects.OES_Object" -> "pyNastran.op2.tables.oes_stressStrain.oes_nonlinear_rod.RealNonlinearRodArray" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.op2.tables.oes_stressStrain.real.oes_objects.OES_Object" [URL="#pyNastran.op2.tables.oes_stressStrain.real.oes_objects.OES_Object",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.BaseElement" -> "pyNastran.op2.tables.oes_stressStrain.real.oes_objects.OES_Object" [arrowsize=0.5,style="setlinewidth(0.5)"]; }
class pyNastran.op2.tables.oes_stressStrain.oes_nonlinear_rod.RealNonlinearRodArray(data_code, is_sort1, isubcase, dt)[source]

Bases: OES_Object

ELEMENT-ID = 102

N O N L I N E A R S T R E S S E S I N R O D E L E M E N T S ( C R O D )

TIME AXIAL STRESS EQUIVALENT TOTAL STRAIN EFF. STRAIN EFF. CREEP LIN. TORSIONAL

STRESS PLASTIC/NLELAST STRAIN STRESS

2.000E-02 1.941367E+01 1.941367E+01 1.941367E-04 0.0 0.0 0.0 3.000E-02 1.941367E+01 1.941367E+01 1.941367E-04 0.0 0.0 0.0

tested by elements/loadstep_elements.op2

build()[source]

sizes the vectorized attributes of the RealNonlinearRodArray

build_dataframe()[source]

creates a pandas dataframe

get_stats(short: bool = False) → list[str][source]
property headers: list[str]
property is_complex: bool
property is_real: bool
property nnodes_per_element: int
slice_by_element_id(eids: ndarray, assume_exists: bool = False, inplace: bool = False)[source]
write_f06(f06_file, header=None, page_stamp='PAGE %s', page_num: int = 1, is_mag_phase: bool = False, is_sort1: bool = True)[source]
write_op2(op2_file, op2_ascii, itable, new_result, date, is_mag_phase=False, endian='>')[source]

writes an OP2

oes_objects Module

digraph inheritancead20df107a { 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.oes_stressStrain.real.oes_objects.OES_Object" [URL="#pyNastran.op2.tables.oes_stressStrain.real.oes_objects.OES_Object",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.BaseElement" -> "pyNastran.op2.tables.oes_stressStrain.real.oes_objects.OES_Object" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.op2.tables.oes_stressStrain.real.oes_objects.StrainObject" [URL="#pyNastran.op2.tables.oes_stressStrain.real.oes_objects.StrainObject",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.tables.oes_stressStrain.real.oes_objects.OES_Object" -> "pyNastran.op2.tables.oes_stressStrain.real.oes_objects.StrainObject" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.op2.tables.oes_stressStrain.real.oes_objects.StressObject" [URL="#pyNastran.op2.tables.oes_stressStrain.real.oes_objects.StressObject",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.tables.oes_stressStrain.real.oes_objects.OES_Object" -> "pyNastran.op2.tables.oes_stressStrain.real.oes_objects.StressObject" [arrowsize=0.5,style="setlinewidth(0.5)"]; }
class pyNastran.op2.tables.oes_stressStrain.real.oes_objects.OES_Object(data_code, isubcase, apply_data_code=True)[source]

Bases: BaseElement

finalize()[source]

it’s required that the object be in SORT1

property is_curvature: bool
property is_fiber_distance: bool
property is_max_shear
property is_stress
property is_von_mises: bool
set_as_sort1()[source]

the data is in SORT1, but the flags are wrong

class pyNastran.op2.tables.oes_stressStrain.real.oes_objects.StrainObject(data_code, isubcase)[source]

Bases: OES_Object

property is_strain: bool
property is_stress: bool
update_dt(data_code, dt)[source]

This method is called if the object already exits and a new time/freq/load step is found

class pyNastran.op2.tables.oes_stressStrain.real.oes_objects.StressObject(data_code, isubcase)[source]

Bases: OES_Object

property is_strain: bool
property is_stress: bool
update_dt(data_code, dt)[source]

This method is called if the object already exits and a new time/freq/load step is found

pyNastran.op2.tables.oes_stressStrain.real.oes_objects.get_scode(stress_bits: list[int]) → int[source]
pyNastran.op2.tables.oes_stressStrain.real.oes_objects.oes_complex_data_code(table_name: str, element_name: str, num_wide: int, is_sort1: bool = True, is_random: bool = False, random_code=0, title='', subtitle='', label='', is_msc=True)[source]
pyNastran.op2.tables.oes_stressStrain.real.oes_objects.oes_real_data_code(table_name: str, element_name: str, num_wide: int, is_sort1: bool = True, is_random: bool = False, random_code=0, title='', subtitle='', label='', is_msc=True)[source]
pyNastran.op2.tables.oes_stressStrain.real.oes_objects.set_approach_code(analysis_code: int, device_code: int)[source]
pyNastran.op2.tables.oes_stressStrain.real.oes_objects.set_buckling_case(cls, is_sort1, isubcase, data_code, func, args, modes, eigns, cycles)[source]
pyNastran.op2.tables.oes_stressStrain.real.oes_objects.set_complex_modes_case(cls, is_sort1, isubcase, data_code, func, args, modes: ndarray, eigrs: ndarray, eigis: ndarray) → None[source]
pyNastran.op2.tables.oes_stressStrain.real.oes_objects.set_element_case(cls, data_code, is_sort1: bool, isubcase: int, element: ndarray, data: ndarray, times: ndarray)[source]

CBAR CROD, CONROD, CTUBE CELAS1-4, CDAMP1-4 CSHEAR

pyNastran.op2.tables.oes_stressStrain.real.oes_objects.set_element_node_xxb_case(cls, data_code, is_sort1, isubcase, element_node, xxb, data, times)[source]

CBEAM

pyNastran.op2.tables.oes_stressStrain.real.oes_objects.set_freq_case(cls, is_sort1, isubcase, data_code, func, args, freqs)[source]
pyNastran.op2.tables.oes_stressStrain.real.oes_objects.set_modal_case(cls, is_sort1: bool, isubcase: int, data_code, func, args, modes: ndarray, eigns: ndarray, cycles: ndarray)[source]
pyNastran.op2.tables.oes_stressStrain.real.oes_objects.set_post_buckling_case(cls, is_sort1, isubcase, data_code, func, args, modes, eigrs, eigis)[source]
pyNastran.op2.tables.oes_stressStrain.real.oes_objects.set_static_case(cls, is_sort1, isubcase, data_code, func, args)[source]
pyNastran.op2.tables.oes_stressStrain.real.oes_objects.set_transient_case(cls, is_sort1: bool, isubcase: int, data_code, func, args, times: ndarray)[source]
pyNastran.op2.tables.oes_stressStrain.real.oes_objects.slice_eids_by_index(element: ndarray, eids: ndarray, assume_exists: bool = True) → tuple[ndarray, int][source]
pyNastran.op2.tables.oes_stressStrain.real.oes_objects.update_stress_force_time_word(obj) → None[source]

Subpackages

Real

Complex

Random