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.write_links_dirichlet_bc_file

hookeai.simulators.links.utilities.links_specimen_dirichlet.write_links_dirichlet_bc_file¶

write_links_dirichlet_bc_file(dbc_file_dir, dbc_array, is_reaction_group=True)[source]¶

Write Dirichlet boundary conditions file (Links format).

Parameters:
  • dbc_file_dir (str) – Directory where Dirichlet boundary conditions file is stored.

  • dbc_array (np.ndarray(2d)) – 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.

  • is_reaction_group (bool, default=True) – If True, then write reaction node group with prescribed non-null Dirichlet boundary conditions.

Previous Next

© Copyright 2025, Bernardo Ferreira.

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