Parallel integration of single degree-of-freedom systems.
Project description
transience
Parallel integration of single degree-of-freedom systems.
This package solves scalar differential equations of the form
$$ m \ddot{u} + c \dot{u} + k u = f(t) $$
Integration is carried out using a Generalized - $\alpha$ integrator that is implemented under the hood in highly optimized multi-threaded C code.
Generalized - $\alpha$ is an implicit method that allows for high frequency energy dissipation and second order accuracy. With the right selection of parameters, the method can be specialized to the Hibert-Hughes-Taylor (HHT), or Newmark families of integration schemes.
Python API
import numpy as np
from sdof import integrate, peaks, spectrum
k = 10.0
c = 0.1592
m = 0.2533
f = np.sin(np.linspace(0, 5*np.pi, 100))
dt = 5*np.pi/100
u, v, a = integrate(f, dt, k, c, m)
D, V, A = spectrum(f, dt, periods=(0.02, 3.0, 100), damping=[0.02, 0.05])
See Also
Similar
- https://github.com/eng-tools/eqsig
- https://github.com/vibrationtoolbox/vibration_toolbox
- https://github.com/anismhd/SDoF
Support
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file transience-0.0.0.tar.gz
.
File metadata
- Download URL: transience-0.0.0.tar.gz
- Upload date:
- Size: 20.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15558271c622fe7a1ae67715f2dabc807e2ecfbe814a17612e0ddd3ab1ce6786 |
|
MD5 | 566b803fad7e29e77b240abceaedeb64 |
|
BLAKE2b-256 | 4649e21609f7030a7074fb8e9962441d0a13eacdc4f7e98fbc0ceff3105b96f3 |
File details
Details for the file transience-0.0.0-cp312-cp312-macosx_14_0_arm64.whl
.
File metadata
- Download URL: transience-0.0.0-cp312-cp312-macosx_14_0_arm64.whl
- Upload date:
- Size: 27.1 kB
- Tags: CPython 3.12, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3509888ec108934ad146d697b5013ea492eebd0fcc9e748dac886c886912b514 |
|
MD5 | 83edadc2b976410ffc53e4a377469071 |
|
BLAKE2b-256 | 191fe1dbe8b18c20402a31864029d92d7a58ee072e13593005496bc72169e901 |