NodeLoad
NodeLoad
NodeLoad(*, values: List[float], node_tag: Optional[int] = None, node_mask: Optional[object] = None, pids: Optional[List[int]] = None)
Bases: Load
Nodal load component for applying forces or moments to nodes.
NodeLoad represents a node-based load applied directly to a node's degrees of freedom. It is typically registered under a Plain pattern to represent external static or dynamic excitations.
Tcl form
load <nodeTag> <value1> <value2> ...
Note
- The number of specified load values should match the number of degrees of freedom (NDF) at the target node.
- If a
node_maskis provided, the load will be automatically expanded and applied to all selected nodes. - In parallel computing contexts, partition IDs (
pids) specify which processor core(s) should execute the command.
Example
Create a nodal load component.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
values
|
List[float]
|
Nodal force or moment values corresponding to the active degrees of freedom (DOFs) at the node. |
required |
node_tag
|
Optional[int]
|
Optional explicit tag of the target node. |
None
|
node_mask
|
Optional[object]
|
Optional NodeMask object to apply the load to multiple nodes. |
None
|
pids
|
Optional[List[int]]
|
Optional processor partition IDs for parallel executions. |
None
|
Raises:
| Type | Description |
|---|---|
ValueError
|
If neither |