StressResult

class compas_fea2.results.StressResult[source]

Bases: ElementResult

StressResult object.

Parameters:
elementcompas_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.

Attributes:
elementcompas_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 array

Stress tensor in local coordinates.

global_stressnumpy array

Stress tensor transformed to global coordinates.

global_strainsnumpy array

The strsin tensor in global coordinates.

I1numpy array

First invariant (trace of stress tensor).

I2numpy array

Second invariant of the stress tensor.

I3numpy array

Third invariant (determinant of stress tensor).

J2numpy array

Second invariant of deviatoric stress tensor.

J3numpy array

Third invariant of deviatoric stress tensor.

hydrostatic_stressnumpy array

Mean (hydrostatic) stress.

deviatoric_stressnumpy array

Deviatoric 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.

sminfloat

Minimum principal stress.

smidfloat

Middle principal stress (works for both 2D & 3D).

smaxfloat

Maximum principal stress.

von_mises_stressfloat

Von Mises stress.

Notes

StressResults are registered to a :class:`compas_fea2.model._Element

Methods

bresler_pister

compute_mohr_circle_2d

compute_mohr_circles_3d

draw_mohr_circle_2d

draw_mohr_circles_3d

drucker_prager

generate_html_report

griffith

lade_duncan

modified_mohr

mohr_coulomb

rankine

stress_along_direction

thermal_stress_analysis

transform_stress_tensor

Inherited Methods

ToString

Converts the instance to a string.

copy

Make an independent copy of the data object.

from_hdf5

from_json

Construct an object of this type from a JSON file.

from_jsonstring

Construct an object of this type from a JSON string.

from_name

jobdata

safety_factor

sha256

Compute a hash of the data for comparison during version control using the sha256 algorithm.

to_hdf5

to_json

Convert an object to its native data representation and save it to a JSON file.

to_jsonstring

Convert an object to its native data representation and save it to a JSON string.

validate_data

Validate the data against the object's data schema.