Stress#

class ansys.dpf.post.stress.Stress(**kwargs)#

Defines the stress object, which is a tensor object.

Examples

Extract the stress from a solution.

>>> from ansys.dpf import post
>>> from ansys.dpf.post import examples
>>> solution = post.load_solution(examples.multishells_rst)
>>> stress = solution.stress(location=post.locations.nodal, time_scoping=[1])

Methods

Stress.has_complex_frequencies()

Check if the result contains complex frequencies.

Attributes

Stress.principal_1

Result data for the first principal component of the tensor.

Stress.principal_2

Result data for the second principal component of the tensor.

Stress.principal_3

Results data for the third principal component of the tensor.

Stress.tensor

Result data for the tensor values.

Stress.von_mises

Result data for the von Mises stress.

Stress.xx

Result data for the XX component of the tensor.

Stress.xy

Result data of for the XY component of the tensor.

Stress.xz

Result data for the XZ component of the tensor.

Stress.yy

Result data for the YY component of the tensor.

Stress.yz

Result data for the YZ component of the tensor.

Stress.zz

Result data for the ZZ component of the tensor.