3.1.3.3. fixY Command
This command is used to construct multiple homogeneous single-point boundary constraints for all nodes whose y-coordinate lies within a specified distance from a specified coordinate.
Argument |
Type |
Description |
---|---|---|
$yCoordinate |
float |
y-coordinate of nodes to be constrained |
$constrValues |
list integer |
degrees-of-freedom.
0 unconstrained (or free)
1 constrained (or fixed)
|
$tol |
float |
user-defined tolerance (optional: default = 1e-10) |
Example:
The following example demonstrate the command to fix the first 3 degrees-of-freedom at all nodes in the model at y location 20.0.
Tcl Code
fixY 20.0 1 1 1 0 0 0
Python Code
fixY(20.0, 1, 1, 1, 0, 0, 0)
Code Developed by: fmk