Graph-based integration for structural mechanics using the Vereshchagin method
Project description
VereshchaginPy
VereshchaginPy is a Python library for performing graph multiplication — particularly useful in structural mechanics when applying the flexibility method.
The integration is based on the principle that the integral from two graphs can be expressed as:
∫ Mi(x) * Mj(x) dx = A * y
Where:
Ais the area under the first moment diagramMi(x).yis the corresponding ordinate (value) from the second moment diagramMj(x), evaluated at the centroid of the areaA.Mi,Mjare continuous functions (e.g., moments) over a shared lengthL.
This library helps formalize that process by abstracting common shape-based moment diagrams (rectangles, triangles, trapezoids, parabolas) and automating their integration and visualization.
Key Features
- Support for standard structural figure types:
RectangleTriangleLeft,TriangleRightTrapezoidParabolaParabolicTrapezoid(combining a parabola and trapezoid)
- Clean and extendable figure model
- Visualizer to plot and label diagrams
- Operator overloading for quick integration via
+ - Strict input validation for type safety
Installation
This is a pure Python module. You can simply fork and clone the repository:
git clone https://github.com/yourusername/VereshchaginPy.git
#\x00 \x00T\x00e\x00m\x00p\x00o\x00r\x00a\x00r\x00y\x00 \x00c\x00h\x00a\x00n\x00g\x00e\x00 \x00f\x00o\x00r\x00 \x00P\x00R\x00
\x00
\x00
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vereshchaginpy-0.1.1.tar.gz.
File metadata
- Download URL: vereshchaginpy-0.1.1.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e42cfd246397b2eb18640866956f628e9f2bcde586e16ec52d382a734650bbca
|
|
| MD5 |
ff35740900c37b2715ab60a9cb1e4c7f
|
|
| BLAKE2b-256 |
6c28741e2b1ea597085c09daeee3bc06bc0f467ed13c7a3f4379fa36a595e194
|
File details
Details for the file vereshchaginpy-0.1.1-py3-none-any.whl.
File metadata
- Download URL: vereshchaginpy-0.1.1-py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3e99dea445e1d3e32c6b650803c4b12972774af3ca7102d5092e7397ee06acb
|
|
| MD5 |
68c49dcef9a353c0bcbf9080e537fb85
|
|
| BLAKE2b-256 |
2447738ca5734cbe1999806622a3d5359f93de64b9f6045944d95cb0f81f10b4
|