mymesh.mesh.mesh.addNodes#

mesh.addNodes(NodeCoords, NodeSet=None)[source]#

Add nodes to the mesh. These nodes will be appended to the end of the coordinates array (mesh.NodeCoords).

Parameters:
  • NodeCoords (array_like) – Coordinates of the new node(s). This can either be a single node (shape=(3,)) or multiple nodes (shape=(n,3)).

  • NodeSet (str, optional) – If provided, name of a node set that the new nodes will be added to in mesh.NodeSets[<NodeSet>], by default None.