principal_stresses
- compas_fea2.utilities.principal_stresses(data, ptype, scale, rotate)
Performs principal stress calculations.
- Parameters
- datadic
Element data from structure.results for the Step.
- ptypestr
‘max’ ‘min’ for maximum or minimum principal stresses.
- scalefloat
Scale on the length of the vectors.
- rotateint
Rotate lines by 90 deg, 0 or 1.
- Returns
- array
Vectors for section point 1.
- array
Vectors for section point 5.
- array
Principal stresses for section point 1.
- array
Principal stresses for section point 5.
- float
Maxium stress magnitude.