StressResult
- class compas_fea2.results.StressResult[source]
Bases:
ElementResult
StressResult object.
- Parameters:
- element
compas_fea2.model._Element
The location of the result.
- s11float
The 11 component of the stress tensor in local coordinates.
- s12float
The 12 component of the stress tensor in local coordinates.
- s13float
The 13 component of the stress tensor in local coordinates.
- s22float
The 22 component of the stress tensor in local coordinates.
- s23float
The 23 component of the stress tensor in local coordinates.
- s33float
The 33 component of the stress tensor in local coordinates.
- element
- Attributes:
- element
compas_fea2.model._Element
The location of the result.
- s11float
The 11 component of the stress tensor in local coordinates.
- s12float
The 12 component of the stress tensor in local coordinates.
- s13float
The 13 component of the stress tensor in local coordinates.
- s22float
The 22 component of the stress tensor in local coordinates.
- s23float
The 23 component of the stress tensor in local coordinates.
- s33float
The 33 component of the stress tensor in local coordinates.
local_stress
numpy arrayStress tensor in local coordinates.
global_stress
numpy arrayStress tensor transformed to global coordinates.
- global_strainsnumpy array
The strsin tensor in global coordinates.
I1
numpy arrayFirst invariant (trace of stress tensor).
I2
numpy arraySecond invariant of the stress tensor.
I3
numpy arrayThird invariant (determinant of stress tensor).
J2
numpy arraySecond invariant of deviatoric stress tensor.
J3
numpy arrayThird invariant of deviatoric stress tensor.
hydrostatic_stress
numpy arrayMean (hydrostatic) stress.
deviatoric_stress
numpy arrayDeviatoric stress tensor.
- octahedral_stressnumpy array
Octahedral normal and shear stresses
principal_stresses_values
list(float)Sorted principal stresses (eigenvalues of stress tensor).
principal_stresses_vectors
list(compas.geometry.Vector
)Sorted eigenvectors of the stress tensor.
- principal_stresseszip obj
Iterator providing the eigenvalue/eigenvector pair.
smin
floatMinimum principal stress.
smid
floatMiddle principal stress (works for both 2D & 3D).
smax
floatMaximum principal stress.
von_mises_stress
floatVon Mises stress.
- element
Notes
StressResults are registered to a :class:`compas_fea2.model._Element
Methods
Inherited Methods
Converts the instance to a string.
Make an independent copy of the data object.
Construct an object of this type from a JSON file.
Construct an object of this type from a JSON string.
Compute a hash of the data for comparison during version control using the sha256 algorithm.
Convert an object to its native data representation and save it to a JSON file.
Convert an object to its native data representation and save it to a JSON string.
Validate the data against the object's data schema.