Skip to main content

Parallel integration of single degree-of-freedom systems.

Project description

transience

SDOF logo

Parallel integration of single degree-of-freedom systems.


Latest PyPI version NPM version


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

Support

PEER Logo Caltrans Logo BRACE2 Logo

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

transience-0.0.0.tar.gz (20.4 kB view details)

Uploaded Source

Built Distribution

transience-0.0.0-cp312-cp312-macosx_14_0_arm64.whl (27.1 kB view details)

Uploaded CPython 3.12 macOS 14.0+ ARM64

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

Hashes for transience-0.0.0.tar.gz
Algorithm Hash digest
SHA256 15558271c622fe7a1ae67715f2dabc807e2ecfbe814a17612e0ddd3ab1ce6786
MD5 566b803fad7e29e77b240abceaedeb64
BLAKE2b-256 4649e21609f7030a7074fb8e9962441d0a13eacdc4f7e98fbc0ceff3105b96f3

See more details on using hashes here.

File details

Details for the file transience-0.0.0-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for transience-0.0.0-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3509888ec108934ad146d697b5013ea492eebd0fcc9e748dac886c886912b514
MD5 83edadc2b976410ffc53e4a377469071
BLAKE2b-256 191fe1dbe8b18c20402a31864029d92d7a58ee072e13593005496bc72169e901

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page