StressResult
- class compas_fea2.results.StressResult[source]
Bases:
ElementResultStressResult 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_stressnumpy arrayStress tensor in local coordinates.
global_stressnumpy arrayStress tensor transformed to global coordinates.
- global_strainsnumpy array
The strsin tensor in global coordinates.
I1numpy arrayFirst invariant (trace of stress tensor).
I2numpy arraySecond invariant of the stress tensor.
I3numpy arrayThird invariant (determinant of stress tensor).
J2numpy arraySecond invariant of deviatoric stress tensor.
J3numpy arrayThird invariant of deviatoric stress tensor.
hydrostatic_stressnumpy arrayMean (hydrostatic) stress.
deviatoric_stressnumpy arrayDeviatoric stress tensor.
- octahedral_stressnumpy array
Octahedral normal and shear stresses
principal_stresses_valueslist(float)Sorted principal stresses (eigenvalues of stress tensor).
principal_stresses_vectorslist(compas.geometry.Vector)Sorted eigenvectors of the stress tensor.
- principal_stresseszip obj
Iterator providing the eigenvalue/eigenvector pair.
sminfloatMinimum principal stress.
smidfloatMiddle principal stress (works for both 2D & 3D).
smaxfloatMaximum principal stress.
von_mises_stressfloatVon Mises stress.
- element
Notes
StressResults are registered to a :class:`compas_fea2.model._Element
Methods
Computes the centers and radii of the three Mohr's circles for a 3D stress state.
Draws the three Mohr's circles for a 3D stress state.
Draws the three Mohr's circles for a 3D stress state.
Generates an HTML report summarizing the stress results, including Mohr's Circles and yield criteria.
Maximum safety factor based on principal stress.
Minimum safety factor based on principal stress.
Computes the stress along a given direction.
Transforms the stress tensor to a new reference frame.
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 the safety factor (absolute ration value/limit) of the displacement.
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.