conforce.tensor_util

This module contains methods to work with first-order tensors (vector) and second-order tensors.

Functions

abaqus_notation_from_tensor(tensor, dim_vector)

Convert tensors into the abaqus notation.

do_rotation_tensor(ROT, tensors)

Rotate second-order tensors using rotation matrices.

do_rotation_vector(ROT, vectors)

Rotate vectors using rotation matrices.

rotation_matrix_from_quaternion(Q)

Create rotation matrices out of quaternions.

tensor_from_abaqus_notation(array)

Convert a second-order tensor from the abaqus notation into the matrix form.

undo_rotation_tensor(ROT, rotated_tensors)

Revert the rotation of second-order tensors done by rotation matrices.

undo_rotation_vector(ROT, rotated_vectors)

Revert the rotation of vectors done by the given rotation matrices.