hookeai.simulators.links.utilities.links_specimen_dirichlet.get_specimen_node_dbc¶
- get_specimen_node_dbc(specimen_label, top_coord, top_disp, coords)[source]¶
Get node Dirichlet boundary conditions for given uniaxial specimen.
This function is highly specific for particular specimens models and uniaxial loading by means of Dirichlet boundary conditions.
- Parameters:
- Returns:
node_dbc_code (np.ndarray(1d)) – Node Dirichlet boundary conditions prescription code stored as numpy.ndarray[int](1d) with shape (3,).
node_dbc_disps (np.ndarray(1d)) – Node Dirichlet boundary conditions prescribed displacements stored as numpy.ndarray[float](1d) with shape (3,).