hookeai
1.0.0

Getting started

  • Overview
  • Installation

Features

  • Overview
  • Data generation
  • Material model architectures
  • Local material model updating
  • Global material model updating
  • Data analysis and visualization tools
  • Tensorial algebra and matrix operations
  • Other utilities

API

  • Code
    • hookeai.data_generation
    • hookeai.ioput
    • hookeai.material_model_finder
    • hookeai.miscellaneous
    • hookeai.model_architectures
    • hookeai.simulators
      • hookeai.simulators.fetorch
      • hookeai.simulators.links
        • hookeai.simulators.links.discretization
        • hookeai.simulators.links.links
        • hookeai.simulators.links.models
        • hookeai.simulators.links.utilities
    • hookeai.time_series_data
    • hookeai.utilities

License

  • MIT License
hookeai
  • hookeai
  • hookeai.simulators
  • hookeai.simulators.links
  • hookeai.simulators.links.utilities
  • hookeai.simulators.links.utilities.links_specimen_dirichlet
  • hookeai.simulators.links.utilities.links_specimen_dirichlet.build_specimen_dbc

hookeai.simulators.links.utilities.links_specimen_dirichlet.build_specimen_dbc¶

build_specimen_dbc(specimen_label, specimen_top_coord, specimen_top_disp, nodes_coords_mesh)[source]¶

Build specimen Dirichlet boundary conditions.

Parameters:
  • specimen_label (str) – Specimen name.

  • specimen_top_coord (float) – Coordinate of the specimen top along uniaxial loading dimension.

  • specimen_top_disp (float) – Prescribed displacement applied to the top of the specimen along uniaxial loading dimension.

  • nodes_coords_mesh (np.ndarray(2d)) – Coordinates of finite element mesh nodes stored as numpy.ndarray(2d) of shape (n_node_mesh, n_dim).

Returns:

dbc_array – Finite element mesh nodes Dirichlet boundary conditions stored as numpy.ndarray(2d) of shape (n_node_dbc, 7), where n_node_dbc is the number of nodes with Dirichlet boundary conditions, array[:, 0] is the node label, array[:, 1:4] is the Dirichlet boundary conditions prescription code, and array[:, 5:8] are the Dirichlet boundary conditions prescribed displacements.

Return type:

np.ndarray(2d)

Previous Next

© Copyright 2025, Bernardo Ferreira.

Built with Sphinx using a theme provided by Read the Docs.