compute_P_for_CPE4R
- compute_P_for_CPE4R(X_at_nodes, U_at_nodes, S_at_int_points)[source]
Compute the first Piola-Kirchhoff stress tensors for num_elem elements of typ CPE4R. Each element has n=4 nodes and ips=1 integration points.
- Parameters:
X_at_nodes – Array of shape (num_elem, n, 2) containing the coordinates at n nodes of num_elem elements.
U_at_nodes – Array of shape (num_elem, n, 2) containing the displacements at n nodes of num_elem elements.
S_at_int_points – Array of shape (num_elem, ips, 2, 2) containing the symmetric stress tensors at ips integration points for num_elem elements.
- Returns:
P_at_int_points: Array of shape (num_elem, ips, 2, 2) containing the 1. Piola-Kirchhoff stress tensors evaluated on ips integration points for num_elem element.