3.1.7.3.2. imposedMotion Command
This command is used to construct an ImposedMotionSP constraint and add it to the enclosing MultipleSupport pattern. The constraint imposes the motion of a ground motion on one degree-of-freedom at a node: at any time, the displacement of the degree-of-freedom is set to the displacement of the ground motion at that time.
- imposedMotion $nodeTag $dof $gmTag <-other>
ops.imposedMotion(nodeTag, dof, gmTag, '-other')
Argument |
Type |
Description |
|---|---|---|
$nodeTag |
integer |
tag of the node at which the motion is imposed |
$dof |
integer |
degree-of-freedom at which the motion is imposed (1 through ndf of the node) |
$gmTag |
integer |
tag of a groundMotion Command already defined in the same pattern |
-other |
string |
use the alternative ImposedMotionSP implementation instead of the default ImposedMotionSP1 (optional) |
Note
The command can also be given as imposedSupportMotion.
The ground motion must be defined, with groundMotion Command, before it is used.
The degree-of-freedom must not also be fixed with fix Command.
The responses at the nodes are absolute values. See the MultipleSupport pattern.
Example:
The following example creates a MultipleSupport pattern with tag 1 in which nodes 1, 4 and 7 follow, in the 1 direction, the displacement of ground motion 101. The displacement of the ground motion is given by the time series with tag 3.
timeSeries Path 3 -dt 0.02 -filePath elCentroDisp.dat
pattern MultipleSupport 1 {
groundMotion 101 Plain -disp 3
imposedMotion 1 1 101
imposedMotion 4 1 101
imposedMotion 7 1 101
}
ops.timeSeries('Path', 3, '-dt', 0.02, '-filePath', 'elCentroDisp.dat')
ops.pattern('MultipleSupport', 1)
ops.groundMotion(101, 'Plain', '-disp', 3)
ops.imposedMotion(1, 1, 101)
ops.imposedMotion(4, 1, 101)
ops.imposedMotion(7, 1, 101)
Code Developed by: fmk