principal_stresses

compas_fea2.postprocessor.principal_stresses(data)[source]

Performs principal stress calculations solving the eigenvalues problem.

Parameters

data (dic) – Element data from structure.results for the Step.

Returns

  • spr (dict) – dictionary with the principal stresses of each element organised per stress_type (‘max’, ‘min’) and section_point (‘sp1, ‘sp5’).

    {section_point: {stress_type: array([element_0, elemnt_1, …])}}

  • e (dict) – dictionary with the principal stresses vector components in World coordinates of each element organised per stress_type (‘max’, ‘min’) and section_point (‘sp1, ‘sp5’).

    {section_point: {stress_type: array([element_0_x, elemnt_1_x, …],[element_0_y, elemnt_1_y, …])}}

Warning

The function is experimental and works only for shell elements at the moment.