principal_stresses
- compas_fea2.postprocess.principal_stresses(data)[source]
Performs principal stress calculations solving the eigenvalues problem.
- Parameters:
- datadic
Element data from structure.results for the Step.
- Returns:
- sprdict
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, …])}}
- edict
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.