3.1.7.4. H5DRM Pattern
This command is used to construct an H5DRM load pattern, which performs an earthquake time-history analysis using the domain reduction method (DRM).
The H5DRM pattern implements the DRM using the H5DRM data format. It directly reads the dataset, performs node matching, identifies the connecting elements, and applies the loads and (linear) interpolation of displacements and accelerations in time.
- pattern H5DRM $patternTag $fileName $factor $crd_scale $distance_tolerance $do_coordinate_transformation $T00 $T01 $T02 $T10 $T11 $T12 $T20 $T21 $T22 $x00 $x01 $x02
Not available in the Python interpreter.
Argument |
Type |
Description |
|---|---|---|
$patternTag |
integer |
unique tag among load patterns |
$fileName |
string |
path to the H5DRM dataset, in quotes |
$factor |
float |
multiply DRM dataset displacements and accelerations by this value |
$crd_scale |
float |
multiply (x, y, z) coordinates of dataset points by this value (typically for unit change between dataset and FE model) |
$distance_tolerance |
float |
tolerance for DRM point to FE mesh matching. Set to a size similar to the node distance near the DRM boundary. |
$do_coordinate_transformation |
integer |
=1 apply a coordinate transformation to the (x, y, z) coordinates of dataset points before matching |
$T00 … $T22 |
float |
the nine components of the transformation matrix, row by row (T00, T01, T02, T10, … T22) |
$x00 $x01 $x02 |
float |
x, y and z location of the top-center node of the DRM box after transformation |
Note
This command is only available in the Tcl interpreter, and only if OpenSees was built with the HDF5 library (the
_H5DRMbuild option). It is not available in the Python interpreter (OpenSeesPy).All the parameters are required. In particular, the transformation matrix and the location of the DRM box must be given, even if $do_coordinate_transformation is 0.
This load pattern takes input from DRM datasets formatted using the H5DRM data format specified in [1], which uses the HDF5 library for input and output. These datasets can be produced natively for 1-D crust models by the ShakerMaker Python library, which was designed to do this. Otherwise, the HDF5 format on which H5DRM is based is simple enough that output from other seismological software can easily be cast into this format (in Python use the h5py library).
About the coordinate transformation
Because the H5DRM dataset format is designed to facilitate the sharing of datasets for DRM analysis, the coordinate systems with which the DRM boundary points are represented are generally unrelated to those of the local-scale (OpenSees FEM) model. Thus, the H5DRM load pattern provides a means for transforming between coordinate systems, which is applied to the DRM boundary point coordinates before the node matching. This transformation is described in the following image.
Example: Free field response
In this example, the free-field site response to motions input with DRM is computed. When the simulation conditions used to develop the DRM motion dataset match those of the local site, there are (approximately) no outgoing waves in the model to be damped. This constitutes a basic check of both the DRM dataset and the local-scale FEM model, which is useful to perform before any other analysis with DRM.
See this video explanation.
Model conditions:
Local site conditions are \(V_s = 200 \frac{m}{s}\), \(\nu = 0.25\), \(\rho = 2000 \frac{kg}{m^3}\) for the top 20m, which covers the complete FEM model and DRM dataset.
Motions generated with ShakerMaker with this Python script: drm-example-santiago-1.py
The H5DRM dataset can be downloaded from here: santiago1.zip
DRM motions come from a point source 10km away in the X direction (of the FEM model) and 3km deep. The point source dips at an angle of 30°, which means that only motions in the X-Z plane occur due to the location of the site. The following is the expected surface response at the site where DRM motions are recorded (in the FEM model X is east, Y is north and Z is up):
The source time function is a Brune source with a corner frequency of \(f_0 = 4 Hz\).
The cutoff frequency for the mesh is set to \(f_{max} = 10Hz\), which results in a required mesh size of \(dx = 1m\) and a time step of \(dt = 0.005\).
The DRM box size is \(40m \times 40m \times 15m\).
The interior of the DRM box is set to have a Rayleigh damping of 0.1% while the exterior is set to 20%. This eliminates unresolved frequencies (and outgoing waves for non free-field models).
The OpenSees model was prepared in STKO for single-processor analysis and also multi-processor analysis (OpenSeesMP). The Tcl files of the model can be downloaded for any of these:
In analysis-steps.tcl of any of the above models, the Tcl line for the H5DRM load pattern is:
pattern H5DRM 3 "C:/path/jaabe/Documents/DRM-example/santiago1.h5drm" 1.0 1000.0 0.001 1 0.0 1.0 0.0 1.0 -0.0 0.0 0.0 0.0 -1.0 0.0 0.0 0.0
Code Developed by: José Antonio Abell (UANDES). For issues, start a new issue on the OpenSees github repo and tag me (@jaabell).