hookeai.material_model_finder.model.material_discovery.compute_infinitesimal_strain

compute_infinitesimal_strain(grad_operator_sym, nodes_disps)[source]

Compute infinitesimal strain tensor.

Strain components order is set by discrete symmetric gradient operator.

Parameters:
  • grad_operator_sym (torch.Tensor(2d)) – Discrete symmetric gradient operator evaluated at given local coordinates.

  • nodes_disps (torch.Tensor(2d)) – Nodes displacements stored as torch.Tensor(2d) of shape (n_node, n_dof_node).

Returns:

strain_vmf – Infinitesimal strain tensor (Voigt matricial form).

Return type:

torch.Tensor(1d)