OspGrillage.set_spring_support#

OspGrillage.set_spring_support(rotational_spring_stiffness, edge_num=0, spring_direction=6)#

Apply a rotational spring support to all nodes on a specified mesh edge.

Creates zeroLength spring elements connecting each node on the specified edge to a fixed support with the given rotational stiffness.

Parameters#

rotational_spring_stiffnessfloat

Rotational spring stiffness value (moment per radian).

edge_numint, optional

Edge identifier number (default is 0).

spring_directionint, optional

Spring direction code (default is 6 for rotational about z-axis).

Raises#

ValueError

If spring support already defined for the specified edge.