FixConstraint
FixConstraint
Bases: SPConstraint
Single-point nodal boundary constraint.
FixConstraint constrains selected degrees of freedom (DOFs) of a single node. It is the fundamental boundary condition component in finite element analysis.
Tcl form
fix <nodeTag> <dof1> <dof2> ...
Note
- The DOFs list must contain only 0 (unconstrained) or 1 (constrained).
- The length of the
dofslist must match the node's local number of DOFs (NDF).
Example
Create a single-node boundary constraint.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
node_tag
|
int
|
Tag of the node to be fixed. |
required |
dofs
|
List[int]
|
List of DOF constraint states. 0 indicates unconstrained (free). 1 indicates constrained (fixed). |
required |