3.1.7.3.1. groundMotion Command
This command is used to construct a GroundMotion object and add it to the enclosing MultipleSupport pattern. A ground motion defines the acceleration, velocity and displacement of the ground over time. It is used by the imposedMotion Command constraints of the pattern.
There are two types of ground motion:
Plain - defined by acceleration, velocity and/or displacement timeSeries Command:
- groundMotion $gmTag Plain <-accel $accelTag> <-vel $velTag> <-disp $dispTag> <-int $intType> <-dtInt $dtInt> <-fact $cFactor>
ops.groundMotion(gmTag, 'Plain', '-accel', accelTag, '-vel', velTag, '-disp', dispTag, '-int', intType, '-dtInt', dtInt, '-fact', cFactor)
Interpolated - a weighted sum of ground motions already defined in the pattern:
- groundMotion $gmTag Interpolated $gmTag1 $gmTag2 ... -fact $fact1 $fact2 ...
ops.groundMotion(gmTag, 'Interpolated', *gmTags, '-fact', *facts)
Argument |
Type |
Description |
|---|---|---|
$gmTag |
integer |
unique tag among ground motions in the pattern |
$accelTag |
integer |
tag of the time series giving the acceleration (optional) |
$velTag |
integer |
tag of the time series giving the velocity (optional) |
$dispTag |
integer |
tag of the time series giving the displacement (optional) |
$intType |
string |
method used to integrate acceleration and velocity: Trapezoidal or Simpson (optional: default = Trapezoidal) |
$dtInt |
float |
time step used in the integration (optional: default = 0.01) |
$cFactor |
float |
factor applied to the motion (optional: default = 1.0) |
$gmTag1 $gmTag2 … |
list integer |
tags of ground motions already defined in the pattern |
$fact1 $fact2 … |
list float |
factor for each ground motion |
Note
Any combination of the acceleration, velocity and displacement series can be given for a Plain ground motion. If the velocity is not given it is found by integrating the acceleration, and if the displacement is not given it is found by integrating the velocity.
The imposedMotion Command constraints impose the displacement of the ground motion. For earthquake records, give the displacement record directly where possible: a displacement found by integrating a recorded acceleration twice often drifts.
The type Plain can also be given as Series.
An Interpolated ground motion is the sum of the listed ground motions, each multiplied by its factor. It can be used, for example, to estimate the motion at a support between two recording stations.
Example:
The following example creates ground motion 101 from the displacement time series 3, ground motion 102 from the displacement time series 4, and ground motion 103 as their average. Nodes 1, 4 and 7 in the 1 direction follow ground motions 101, 103 and 102 respectively.
timeSeries Path 3 -dt 0.02 -filePath station1Disp.dat
timeSeries Path 4 -dt 0.02 -filePath station2Disp.dat
pattern MultipleSupport 1 {
groundMotion 101 Plain -disp 3
groundMotion 102 Plain -disp 4
groundMotion 103 Interpolated 101 102 -fact 0.5 0.5
imposedMotion 1 1 101
imposedMotion 4 1 103
imposedMotion 7 1 102
}
ops.timeSeries('Path', 3, '-dt', 0.02, '-filePath', 'station1Disp.dat')
ops.timeSeries('Path', 4, '-dt', 0.02, '-filePath', 'station2Disp.dat')
ops.pattern('MultipleSupport', 1)
ops.groundMotion(101, 'Plain', '-disp', 3)
ops.groundMotion(102, 'Plain', '-disp', 4)
ops.groundMotion(103, 'Interpolated', 101, 102, '-fact', 0.5, 0.5)
ops.imposedMotion(1, 1, 101)
ops.imposedMotion(4, 1, 103)
ops.imposedMotion(7, 1, 102)
Code Developed by: fmk