-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
34 changed files
with
2,503 additions
and
679 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# response_spectrum | ||
|
||
Compute Response Spectrum of a Given Accelerogram | ||
|
||
Minimum version: v2.6 | ||
|
||
Reference: | ||
|
||
1. [https://doi.org/10.1016/S0267-7261(05)80015-6](https://doi.org/10.1016/S0267-7261(05)80015-6) | ||
|
||
Please note the following. | ||
|
||
1. **Only applies to elastic system.** | ||
2. **Only trivial initial conditions are accounted for.** | ||
|
||
## Syntax | ||
|
||
### Form A | ||
|
||
For accelerogram record stored in single column plain text file. The following syntax can be used. | ||
|
||
```text | ||
response_spectrum (1) (2) (3) (4) | ||
# (1) string, file path of the accelerogram file | ||
# (2) string, file path of the period file | ||
# (3) double, sampling interval | ||
# (4) double, damping ratio | ||
``` | ||
|
||
The accelerogram stores discrete acceleration amplitudes in the first column of the file. | ||
|
||
The desired period points where the response spectrum is computed are stored in the first column of the period | ||
file. The period file itself can have multiple columns, but only the first column is used. | ||
|
||
As the accelerogram only provides the amplitudes, the sampling interval must be provided as the `(3)` argument. | ||
|
||
### Form B | ||
|
||
For accelerogram record stored in double column plain text file. The following syntax can be used. | ||
|
||
```text | ||
response_spectrum (1) (2) (3) | ||
# (1) string, file path of the accelerogram file | ||
# (2) string, file path of the period file | ||
# (3) double, damping ratio | ||
``` | ||
|
||
The accelerogram stores the time and acceleration amplitudes in the first and second columns of the file. | ||
|
||
The time series _**must**_ be equally spaced. | ||
|
||
The desired period points where the response spectrum is computed are stored in the first column of the period | ||
file. The period file itself can have multiple columns, but only the first column is used. | ||
|
||
## Remarks | ||
|
||
The sampling interval is provided as the `(3)` argument in Form A, and is computed from the time series in Form B. | ||
|
||
The same sampling interval is used in Lee's algorithm to compute the response histories. If the provided interval is | ||
large, the response spectra may be inaccurate. One can use the [`upsampling`](upsampling.md) command to process the | ||
accelerogram before using the `response_spectrum` command. | ||
|
||
## Example | ||
|
||
See [this example](../../Example/Structural/Dynamics/computing-response-spectrum.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# sdof_response | ||
|
||
Compute Response of a Single Degree of Freedom Oscillator to a Given Acceleration Record | ||
|
||
Minimum version: v2.6 | ||
|
||
Reference: | ||
|
||
1. [https://doi.org/10.1016/S0267-7261(05)80015-6](https://doi.org/10.1016/S0267-7261(05)80015-6) | ||
|
||
Please note the following. | ||
|
||
1. **Only applies to elastic system.** | ||
2. **Only trivial initial conditions are accounted for.** | ||
|
||
## Syntax | ||
|
||
**The frequency of the oscillator is used. Its unit is Hertz (Hz).** | ||
|
||
Please note the natural frequency shall **not** be passed to the command. The natural frequency has a unit of radian per | ||
second (rad/s). | ||
|
||
### Form A | ||
|
||
For accelerogram record stored in single column plain text file. The following syntax can be used. | ||
|
||
```text | ||
sdof_response (1) (2) (3) (4) | ||
# (1) string, file path of the accelerogram file | ||
# (2) double, sampling interval | ||
# (3) double, frequency of the system | ||
# (4) double, damping ratio | ||
``` | ||
|
||
The accelerogram stores discrete acceleration amplitudes in the first column of the file. | ||
|
||
As the accelerogram only provides the amplitudes, the sampling interval must be provided as the `(2)` argument. | ||
|
||
### Form B | ||
|
||
For accelerogram record stored in double column plain text file. The following syntax can be used. | ||
|
||
```text | ||
response_spectrum (1) (2) (3) | ||
# (1) string, file path of the accelerogram file | ||
# (2) double, frequency of the system | ||
# (3) double, damping ratio | ||
``` | ||
|
||
The accelerogram stores the time and acceleration amplitudes in the first and second columns of the file. | ||
|
||
The time series _**must**_ be equally spaced. | ||
|
||
## Example | ||
|
||
See [this example](../../Example/Structural/Dynamics/computing-response-spectrum.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# upsampling | ||
|
||
Upsample a Given Seismogram | ||
|
||
Minimum version: v2.6 | ||
|
||
## Syntax | ||
|
||
```text | ||
upsampling (1) (2) [3] | ||
# (1) string, file path of the seismogram file | ||
# (2) integer, upsampling rate | ||
# [3] string, window type, default: 'Hamming' | ||
``` | ||
|
||
## Remarks | ||
|
||
The seismogram _**must**_ be stored in double column plain text file. The first column stores the time series, and the | ||
second column stores the acceleration amplitudes. | ||
|
||
The time series _**must**_ be equally spaced. | ||
|
||
The window type can be one of the following: | ||
|
||
- Hamming | ||
- Hann | ||
- Blackman | ||
- BlackmanNuttall | ||
- BlackmanHarris | ||
- FlatTop | ||
|
||
If the upsampling rate is denoted as $$L$$, the window length is $$8L+1$$. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.