Skip to main content

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

Download files

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

Source Distribution

veux-0.0.0.tar.gz (1.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

veux-0.0.0-cp313-cp313-macosx_14_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

File details

Details for the file veux-0.0.0.tar.gz.

File metadata

  • Download URL: veux-0.0.0.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for veux-0.0.0.tar.gz
Algorithm Hash digest
SHA256 34bf01a07e862ad54b77bf8fbf2bc12866fbb6360d09f331a40fb735c0811aee
MD5 41688a760d8a03e0573fa8bef9665899
BLAKE2b-256 fbad6a0c7f4febbd77ea001e81c87d57ee8236d9a8c4141e012d371c432bdb55

See more details on using hashes here.

File details

Details for the file veux-0.0.0-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for veux-0.0.0-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 352f8e8556f4863e7c5891591454eca1b1335ac04929f01e5a5ec09e4a925263
MD5 293517a46e537279ec7db08cd875522b
BLAKE2b-256 9c89d822b4bfbb6f7f08c75c88ba4e2fbea56f008c7c06400543f25d5d149e32

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page