Loads¶
anaStruct allows the following loads on a structure. There are loads on nodes and loads on elements. Element loads are implicitly placed on the loads and recalculated during post processing.
Node loads¶
Point loads¶
Point loads are defined in x- and/ or y-direction, or by defining a load with an angle.
- SystemElements.point_load(node_id, Fx=0.0, Fy=0.0, rotation=0)[source]¶
Apply a point load to a node.
- Parameters
node_id (
Union
[int
,Sequence
[int
]]) – Nodes ID.Fx (
Union
[float
,Sequence
[float
]]) – Force in global x direction.Fy (
Union
[float
,Sequence
[float
]]) – Force in global x direction.rotation (
Union
[float
,Sequence
[float
]]) – Rotate the force clockwise. Rotation is in degrees.
Example¶
ss.add_element(location=[0, 1])
ss.point_load(ss.id_last_node, Fx=10, rotation=45)
ss.show_structure()
Bending moments¶
Moment loads apply a rotational force on the nodes.
- SystemElements.moment_load(node_id, Ty)[source]¶
Apply a moment on a node.
- Parameters
node_id (
Union
[int
,Sequence
[int
]]) – Nodes ID.Ty (
Union
[float
,Sequence
[float
]]) – Moments acting on the node.
Example¶
ss.add_element([5, 0])
ss.moment_load(node_id=ss.id_last_node, Ty=20)
ss.show_structure()
Element loads¶
Q-loads are distributed loads. They can act perpendicular to the elements direction, parallel to the elements direction, and in global x and y directions.
q-loads¶
- SystemElements.q_load(q, element_id, direction='element', rotation=None, q_perp=None)[source]¶
Apply a q-load to an element.
- Parameters
element_id (
Union
[int
,Sequence
[int
]]) – representing the element IDq (
Union
[float
,Sequence
[float
]]) – value of the q-loaddirection (
Union
[str
,Sequence
[str
]]) – “element”, “x”, “y”, “parallel”rotation (
Union
[float
,Sequence
[float
],None
]) – Rotate the force clockwise. Rotation is in degreesq_perp (
Union
[float
,Sequence
[float
],None
]) – value of any q-load perpendicular to the indication direction/rotation
Example¶
ss.add_element([5, 0])
ss.q_load(q=-1, element_id=ss.id_last_element, direction='element')
ss.show_structure()