DeformablePart.sorted_nodes_by_displacement

DeformablePart.sorted_nodes_by_displacement(problem, step=None, component='length')

Return a list with the nodes sorted by their displacement

Parameters:
  • problem (compas_fea2.problem.Problem) – The problem

  • step (compas_fea2.problem._Step, optional) – The step, by default None. If not provided, the last step of the problem is used.

  • component (str, optional) – one of [‘x’, ‘y’, ‘z’, ‘length’], by default ‘length’.

Returns:

[compas_fea2.model.Node] – The node sorted by displacment (ascending).