StressResult

class compas_fea2.results.StressResult[source]

Bases: Result

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.

Notes

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

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

The stress tensor in local coordinates.

global_stressnumpy array

The stress tensor in global coordinates.

global_strainsnumpy array

The strsin tensor in global coordinates.

I1numpy array

First stress invariant.

I2numpy array

Second stress invariant.

I3numpy array

Second stress invariant.

J2numpy array

Second stress invariant of the deviatoric part.

J3numpy array

Second stress invariant of the deviatoric part.

hydrostatic_stressnumpy array

Hydrostatic stress.

deviatoric_stressnumpy array

Deviatoric stress.

octahedral_stressnumpy array

Octahedral normal and shear stresses

principal_stresses_valueslist(float)

The eigenvalues sorted from low to high.

principal_stresses_vectorslist(compas.geometry.Vector)

The eigenvectors sorted as according to the eigenvalues.

principal_stresseszip obj

Iterator providing the eigenvalue/eigenvector pair.

sminfloat

Minimum principal stress.

smidfloat

Middle principal stress.

smaxfloat

Maximum principal stress.

von_mises_stressfloat

Von Mises stress.

Methods

bresler_pister

compute_mohr_circle_2d

compute_mohr_circles_3d

draw_mohr_circle_2d

draw_mohr_circles_3d

drucker_prager

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.

data

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_file

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.