LineSpring#
- class planestress.pre.boundary_condition.LineSpring(point1: tuple[float, float], point2: tuple[float, float], direction: str, value: float)[source]#
Bases:
LineBoundaryConditionClass for adding springs along a line.
- Variables:
mesh_tag – Tagged line object.
Methods
Applies the boundary condition.
Returns a list of unique node indexes along the line BC.
- __init__(point1: tuple[float, float], point2: tuple[float, float], direction: str, value: float) None[source]#
Inits the LineSpring class.