generate_abaqus_input

generate_abaqus_input(element_type, X_at_nodes, U_at_nodes, E: float = 1000.0, nu: float = 0.3, face_count: int = 0)[source]

Generate a model containing one element of the given element type with the given nodal coordinates and nodal displacements. The element of the given element type has d=2 or d=3 dimensions and n nodes.

Parameters:
  • element_type – str, name of the element type

  • X_at_nodes – array of shape (n, d) containing nodal coordinates

  • U_at_nodes – array of shape (n, d) containing nodal displacements

  • E – Young’s modulus

  • nu – Poisson’s ratio

  • face_count – number of faces an element has. For each face a surface set is generated.

Returns:

str, valid abaqus input format