hookeai.simulators.links.utilities.links_data_to_adimu.generate_dirichlet_sets¶
- generate_dirichlet_sets(n_node_mesh)[source]¶
Generate Dirichlet sets data for ADiMU mesh history data files.
This function generates Dirichlet sets data consistent with the force force equilibrium loss type ‘dirichlet_sets’ in ADiMU.
Attention: Constrained node sets must be explicitly defined in this function according to the specific specimen geometry and boundary conditions.
- Parameters:
n_node_mesh (int) – Number of nodes of finite element mesh.
- Returns:
dirichlet_bcs_mesh – Dirichlet boundary conditions sets of finite element mesh nodes stored as numpy.ndarray(2d) of shape (n_node_mesh, 3).
- Return type:
numpy.ndarray(2d)