pihnn.utils.rotate_stresses#

pihnn.utils.rotate_stresses(vars, angle)#

Stresses and displacements transformation for rotated systems of coordinates.

Parameters:
  • vars (torch.tensor) – Tensor containing either \(\sigma_{xx},\sigma_{yy},\sigma_{xy},u,v\) or \(\sigma_{xx},\sigma_{yy},\sigma_{xy}\). In the latter case only stresses are rotated.

  • angle (float) – Angle corresponding to the rotation of the original system of coordinates.

Returns:

  • vars_roto (torch.tensor) - Variables evaluated in the rotated system of coordinates.