compute_CF_for_C3D4_using_mbf
- compute_CF_for_C3D4_using_mbf(e_at_int_points, X_at_nodes, U_at_nodes, S_at_int_points)[source]
Compute the configurational forces for num_elem elements of typ C3D4. Each element has n=4 nodes and ips=1 integration points.
- Parameters:
e_at_int_points – Array of shape (num_elem, ips) containing the Helmholtz free energy densities of num_elem elements.
X_at_nodes – Array of shape (num_elem, n, 3) containing the coordinates at n nodes of num_elem elements.
U_at_nodes – Array of shape (num_elem, n, 3) containing the displacements at n nodes of num_elem elements.
S_at_int_points – Array of shape (num_elem, ips, 3, 3) containing the symmetric stress tensors at ips integration points for num_elem elements.
- Returns:
CF_at_nodes: Array of shape (num_elem, n, 3) containing the configurational forces evaluated on n nodes for num_elem element.