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.58-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7e9dd9a6b1389c787df22913743ad6905e1e0d50fa1273e0a4dffaa1c93caaf |
|
MD5 | e18b4ad6944d48f84464f37a74b08d8e |
|
BLAKE2b-256 | 8123d2b48dd6fb7841e8179aadc7dcf0680b1fb6af5066cf4e6530b8530e77e0 |
Hashes for opensees-0.0.58-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2548f945288e45e55177fe479136f47bdb2aec3301ff431aba2deb88aa2c3950 |
|
MD5 | 73395154b1ce41a57dd363d6dced5ecc |
|
BLAKE2b-256 | d21a2e4a990cd702f737a19ccd7126ff6137a00a154cdd404a0560d08c4385a7 |
Hashes for opensees-0.0.58-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bc5d8a7a97693597d45b2a8584870ea7a72ccadb8e4d52bfc3da98af3708317 |
|
MD5 | 818c8924dba69034d961998d03249e03 |
|
BLAKE2b-256 | 9c5a3ec1763aa2d1909dfb3154e72bcbd643dbe071e67d31514b96b4ee2f3223 |
Hashes for opensees-0.0.58-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5274a263fcd0e978438509f7e966a3994692705a6970eb9edecdf010f1168c67 |
|
MD5 | 3ff56f2b02b91ff99a5bfd2b8e24881a |
|
BLAKE2b-256 | 96b9d2c198c7a4aa65d945750625fbb2a2a141a8a7dda2fb940da7c7640ea1a6 |
Hashes for opensees-0.0.58-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97e12c6481845daf067e36e00085cf388b85d7a2ff4b54fa7d6e4d39b5d72615 |
|
MD5 | 01e781e7d69b001baab8977c8d18be18 |
|
BLAKE2b-256 | d851d11b3021a15cb1b0478105864ce7582ff9a8ffe31e880d38e015996db9fd |
Hashes for opensees-0.0.58-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e70e57f47b1ade737f1d0eac423d996e0c2385529e976b406c4a21ba2689db56 |
|
MD5 | f286e065d744bbdef6ea14a19da04393 |
|
BLAKE2b-256 | 5bdf9d74e9e7d0a8937088156bc41a8a07029dddfd26a7367a04da66b582f54f |