A fast and stateless interface to the OpenSees framework for finite element analysis.
Project description
opensees
A fast and stateless interface to the OpenSees framework for finite element analysis.
This is an experimental package that provides an optimized OpenSees Tcl interpreter, as well as a new set of Python bindings that is both idiomatic, and free of global state.
The package may be used as a drop-in replacement for both OpenSees and OpenSeesPy, and generally provides a substantial performance boost. Project objectives include:
-
Performance The
opensees
package uses the experimentalOpenSeesRT
analysis kernel which eliminates reliance on global variables for state and memory management. Furthermore, new template classes allow for stack-allocated matrices and vectors and eliminate the need for static local variables furnishing substantial performance improvements. -
Robustness All program state is encapsulated in user-instantiated classes, and global variables/singletons are avoided. This eliminates several preexisting vulnerabilities to inadvertent state corruption.
-
Simplicity With a single
pip
-install, run any OpenSees Tcl script and most OpenSeesPy scripts on a wide variety of Python versions. No fidling with compilers orPATH
variables.
Additional features include:
-
Convert OpenSeesPy scripts into equivalent Tcl files that can be used for faster processing or serialization.
-
Python versions 3.7 - 3.12 are supported on Linux.
[!NOTE] This package is independent of the
openseespy
library, which is documented in the OpenSees documentation website.
This package is experimental and not yet intended for public use.
Getting Started
-
To start a Tcl interpreter run the shell command:
python -m opensees
-
To run Python scripts, just change the import:
import openseespy.opensees
to
import opensees.openseespy
See also:
osmg
OpenSees Model Generatorsees
Modern rendering librarymdof
Optimized system identification librarysdof
Optimized integration for single degree of freedom systems
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 Distributions
Built Distributions
Hashes for opensees-0.0.57-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28ab0d6660b57f34ed72ea2b638f441504e60c92a18fa043f571ff9e59770a4b |
|
MD5 | 6ddbcf5a31c7b70c0f17216e3241c4d0 |
|
BLAKE2b-256 | 701c2880ea301388e33c128fa3ad0236a2d756fae5efe1f6c98fc3c4ddaeb71b |
Hashes for opensees-0.0.57-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d91dabe350cd00b7ab6dd73ba676138d991f4fb501a77a46342131e29e65e402 |
|
MD5 | a32c47f091cedbc20019da011224e4b8 |
|
BLAKE2b-256 | 7e0f34f65f42f3e2a7a630e62419822842b61fa2f9d6b58d1fe1f07453c06337 |
Hashes for opensees-0.0.57-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 437ae39177f48740376c09f7f293a27b5dffd208010350f83e369e7d58ce7085 |
|
MD5 | 6292e4f34da01858453956e0b880924c |
|
BLAKE2b-256 | 306905cac9cc68f8bb54549ae9a03c342a3097d3df2d18a269b791bb28af48a8 |
Hashes for opensees-0.0.57-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e53ed1d7afb5c0191189cce029d073cbc07cbc261cefc78aa335690aa507a3de |
|
MD5 | 8cb691d9c5bc20a4b9fb8155d9d9dc73 |
|
BLAKE2b-256 | 1ad6b5f13aac5dab9b4cd7164f300632437870fbb147f3bbeaba4d48d3abbfae |
Hashes for opensees-0.0.57-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 451ec2cb132d15f5af74ded6eb651198b2f9479160d7feb39ce3851dd70150b9 |
|
MD5 | effe200d7627516bd779bfc63c424fcc |
|
BLAKE2b-256 | d6a1e395ab8b8aa7a451edd8f5e2c452fe6822844b7fd961096c28f83f2c637a |
Hashes for opensees-0.0.57-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed821ec38d592829340de3ba0e1d2b9b05393613c2ecb746ccaadd9542a52a97 |
|
MD5 | 5a22832ca165ee62294e40a424ae89e2 |
|
BLAKE2b-256 | ef82f5bb9017936d5c02e1b44c41daff8f49aaca5c6786183efc6e2c4eaab006 |