Module containing the Tensor Result subclass.
- class ansys.dpf.post.tensor.Tensor(data_sources, model, **kwargs)#
Provides a child
Result
class that implements a tensor result (stress, strain).- property xx#
Result data for the XX component of the tensor.
- property yy#
Result data for the YY component of the tensor.
- property zz#
Result data for the ZZ component of the tensor.
- property xy#
Result data of for the XY component of the tensor.
- property yz#
Result data for the YZ component of the tensor.
- property xz#
Result data for the XZ component of the tensor.
- property principal_1#
Result data for the first principal component of the tensor.
- property principal_2#
Result data for the second principal component of the tensor.
- property principal_3#
Results data for the third principal component of the tensor.
- property tensor#
Result data for the tensor values.
- class ansys.dpf.post.tensor.ComplexTensor(data_sources, model, **kwargs)#
Child
Result
class that implements a complex tensor result (stress, strain).- property xx_amplitude#
Result data for the XX component of the tensor.
- property yy_amplitude#
Result data for the YY component of the tensor.
- property zz_amplitude#
Result data for the ZZ component of the tensor.
- property xy_amplitude#
Result data for the XY component of the tensor.
- property yz_amplitude#
Result data for the YZ component of the tensor.
- property xz_amplitude#
Result data for the XZ component of the tensor.
- property principal_1_amplitude#
Result data for the first principal component of the tensor.
- principal_1_at_phase(phase: float)#
Result data for the first principal component of the tensor at a phase.
- property principal_2_amplitude#
Result data for the second principal component of the tensor.
- principal_2_at_phase(phase: float)#
Result data for the second principal component of the tensor at a specific phase.
- property principal_3_amplitude#
Result data for the third principal component of the tensor.
- principal_3_at_phase(phase: float)#
Result data for the third principal component of the tensor at a specific phase.
- property tensor_amplitude#
Result data for the tensor values.
- has_complex_frequencies()#
Check if the result contains complex frequencies.
- Returns:
True
if the result contains complex frequencies,False
otherwise.- Return type:
- property principal_1#
Result data for the first principal component of the tensor.
- property principal_2#
Result data for the second principal component of the tensor.
- property principal_3#
Results data for the third principal component of the tensor.
- property tensor#
Result data for the tensor values.
- property xx#
Result data for the XX component of the tensor.
- property xy#
Result data of for the XY component of the tensor.
- property xz#
Result data for the XZ component of the tensor.
- property yy#
Result data for the YY component of the tensor.
- property yz#
Result data for the YZ component of the tensor.
- property zz#
Result data for the ZZ component of the tensor.